22.5.18 Debug Control

Name: DBGCTRL
Offset: 0x1E
Reset: 0x00
Property: -

Bit 76543210 
      FAULTDET DBGRUN 
Access R/WR/W 
Reset 00 

Bit 2 – FAULTDET Fault Detection

This bit defines how the peripheral behaves when stopped in Debug mode.

ValueNameDescription
0 NONE No Fault is generated if TCD is stopped in Debug mode.
1 FAULT A Fault is generated, and both trigger flags are set, if TCD is halted in Debug mode.

Bit 0 – DBGRUN Debug Run

When written to ‘1’, the peripheral will continue operating in Debug mode when the CPU is halted.
ValueDescription
0 The peripheral is halted in Break Debug mode and ignores events
1 The peripheral will continue to run in Break Debug mode when the CPU is halted