Update controller diagram

pull/7426/head
Donatien Garnier 2018-08-06 12:10:11 +01:00
parent 36e6a472d3
commit 912f75c377
2 changed files with 14 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

@ -1,17 +1,25 @@
@startuml
class NFCController {
+void set_delegate(NFCControllerDelegate* delegate)
+NFCController(NFCControllerDriver* driver, events::EventQueue* queue)
+void set_delegate(NFCController::Delegate* delegate)
+nfc_rf_protocols_bitmask_t get_supported_rf_protocols() const
+nfc_err_t configure_rf_protocols(nfc_rf_protocols_bitmask_t rf_protocols)
+nfc_err_t start_discovery()
+nfc_err_t cancel_discovery()
}
abstract class NFCControllerDelegate {
+void on_discovery_terminated(nfc_discovery_terminated_reason_t reason)
+void on_nfc_target_discovered(const mbed::SharedPtr<NFCRemoteTarget>& target)
+void on_nfc_initiator_discovered(const mbed::SharedPtr<NFCRemoteInitiator>& initiator)
abstract class NFCController::Delegate {
+{abstract} void on_discovery_terminated(nfc_discovery_terminated_reason_t reason)
+{abstract} void on_nfc_target_discovered(const mbed::SharedPtr<NFCRemoteTarget>& target)
+{abstract} void on_nfc_initiator_discovered(const mbed::SharedPtr<NFCRemoteInitiator>& initiator)
}
NFCController o-- NFCControllerDelegate
abstract class NFCControllerDriver {
+{abstract} void initialize(scheduler_timer_t* pTimer)
+{abstract} transceiver_t* get_transceiver()
}
NFCController o-- NFCController::Delegate
NFCController o-- NFCControllerDriver
@enduml