Skip to content

Commit 912f75c

Browse files
author
Donatien Garnier
committed
Update controller diagram
1 parent 36e6a47 commit 912f75c

File tree

2 files changed

+14
-6
lines changed

2 files changed

+14
-6
lines changed
8.2 KB
Loading
Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,25 @@
11
@startuml
22
class NFCController {
3-
+void set_delegate(NFCControllerDelegate* delegate)
3+
+NFCController(NFCControllerDriver* driver, events::EventQueue* queue)
4+
+void set_delegate(NFCController::Delegate* delegate)
45
+nfc_rf_protocols_bitmask_t get_supported_rf_protocols() const
56
+nfc_err_t configure_rf_protocols(nfc_rf_protocols_bitmask_t rf_protocols)
67
+nfc_err_t start_discovery()
78
+nfc_err_t cancel_discovery()
89
}
910

10-
abstract class NFCControllerDelegate {
11-
+void on_discovery_terminated(nfc_discovery_terminated_reason_t reason)
12-
+void on_nfc_target_discovered(const mbed::SharedPtr<NFCRemoteTarget>& target)
13-
+void on_nfc_initiator_discovered(const mbed::SharedPtr<NFCRemoteInitiator>& initiator)
11+
abstract class NFCController::Delegate {
12+
+{abstract} void on_discovery_terminated(nfc_discovery_terminated_reason_t reason)
13+
+{abstract} void on_nfc_target_discovered(const mbed::SharedPtr<NFCRemoteTarget>& target)
14+
+{abstract} void on_nfc_initiator_discovered(const mbed::SharedPtr<NFCRemoteInitiator>& initiator)
1415
}
1516

16-
NFCController o-- NFCControllerDelegate
17+
abstract class NFCControllerDriver {
18+
+{abstract} void initialize(scheduler_timer_t* pTimer)
19+
+{abstract} transceiver_t* get_transceiver()
20+
}
21+
22+
NFCController o-- NFCController::Delegate
23+
NFCController o-- NFCControllerDriver
24+
1725
@enduml

0 commit comments

Comments
 (0)