CMSIS-DAP  Version 2.1.1
Interface Firmware for CoreSight Debug Access Port
 All Functions Groups Pages
CMSIS-DAP Hardware Status LEDs

CMSIS-DAP Hardware may provide LEDs that indicate the status of the CMSIS-DAP Debug Unit. More...

Functions

__STATIC_INLINE void LED_CONNECTED_OUT (uint32_t bit)
 Debug Unit: Set status of Connected LED. More...
 
__STATIC_INLINE void LED_RUNNING_OUT (uint32_t bit)
 Debug Unit: Set status Target Running LED. More...
 

Description

CMSIS-DAP Hardware may provide LEDs that indicate the status of the CMSIS-DAP Debug Unit.

It is recommended to provide the following LEDs for status indication:

Function Documentation

__STATIC_INLINE void LED_CONNECTED_OUT ( uint32_t  bit)

Debug Unit: Set status of Connected LED.

Parameters
bitstatus of the Connect LED.
  • 1: Connect LED ON: debugger is connected to CMSIS-DAP Debug Unit.
  • 0: Connect LED OFF: debugger is not connected to CMSIS-DAP Debug Unit.
__STATIC_INLINE void LED_RUNNING_OUT ( uint32_t  bit)

Debug Unit: Set status Target Running LED.

Parameters
bitstatus of the Target Running LED.
  • 1: Target Running LED ON: program execution in target started.
  • 0: Target Running LED OFF: program execution in target stopped.