Datasheet

Table Of Contents
Table 49-8. Fault n Capture Action
Value Name Description
0x0 DISABLE Capture on valid recoverable Fault n is disabled
0x1 CAPT On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0]. INTFLAG.FAULTn flag rises on each new captured value.
0x2 CAPTMIN On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0], if COUNT value is lower than the last stored capture
value (CC). INTFLAG.FAULTn flag rises on each local minimum detection.
0x3 CAPTMAX On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0], if COUNT value is higher than the last stored capture
value (CC). INTFLAG.FAULTn flag rises on each local maximun detection.
0x4 LOCMIN On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0]. INTFLAG.FAULTn flag rises on each local minimum
value detection.
0x5 LOCMAX On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0]. INTFLAG.FAULTn flag rises on each local maximun
detection.
0x6 DERIV0 On rising edge of a valid recoverable Fault n, capture counter value on channel
selected by CHSEL[1:0]. INTFLAG.FAULTn flag rises on each local maximun or
minimum detection.
0x7 CAPTMARK Capture with ramp index as MSB value.
Bits 11:10 – CHSEL[1:0] Recoverable Fault n Capture Channel
These bits select the channel for capture operation triggered by recoverable Fault n.
Value Name Description
0x0
CC0 Capture value stored into CC0
0x1
CC1 Capture value stored into CC1
0x2
CC2 Capture value stored into CC2
0x3
CC3 Capture value stored into CC3
Bits 9:8 – HALT[1:0] Recoverable Fault n Halt Operation
These bits select the halt action for recoverable Fault n.
Value Name Description
0x0
DISABLE Halt action disabled
0x1
HW Hardware halt action
0x2
SW Software halt action
0x3
NR Non-recoverable fault
Bit 7 – RESTART Recoverable Fault n Restart
Setting this bit enables restart action for Fault n.
Value Description
0
Fault n restart action is disabled.
1
Fault n restart action is enabled.
SAM D5x/E5x Family Data Sheet
TCC – Timer/Counter for Control Applications
© 2019 Microchip Technology Inc.
Datasheet
DS60001507E-page 1852