Class: OrigenARMDebug::DAPController
- Inherits:
-
Object
- Object
- OrigenARMDebug::DAPController
- Includes:
- Origen::Controller, Helpers
- Defined in:
- lib/origen_arm_debug/dap_controller.rb
Instance Method Summary collapse
-
#dp ⇒ Object
Returns the currently enabled DP (or the only DP if only one of them).
Methods included from Helpers
#extract_address, #extract_data, #log
Instance Method Details
#dp ⇒ Object
Returns the currently enabled DP (or the only DP if only one of them). If no dp is enabled before calling this, it will choose the SW_DP by default.
10 11 12 |
# File 'lib/origen_arm_debug/dap_controller.rb', line 10 def dp dps.first end |