7.5.6 Get Halt Status

Check the state of Debug Halting Control and Status Register (DHCSR) Halt Flag.

For more details, refer to the ARMv7-M Architecture Reference Manual - ARM DDI 0403E, Debug stepping control using the DHCSR table.

Table 7-8. Reference
StepsCommands
Read Debug Halting Control and Status RegisterReadD32 (DHCSR, Value)
Poll for Halt Status bit setS_HALT = 1