44.7.6 Fault Control B

Table 44-14. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: FCTRLB
Offset: 0x10
Reset: 0x00000000
Property: PAC Write-Protection, Enable-Protected

Bit 3130292827262524 
     FILTERVAL[3:0] 
Access R/WR/WR/WR/W 
Reset 0000 
Bit 2322212019181716 
 BLANKVAL[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 BLANKPRESCCAPTURE[2:0]CHSEL[1:0]HALT[1:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 RESTARTBLANK[1:0]QUALKEEP SRC[1:0] 
Access R/WR/WR/WR/WR/WR/WR/W 
Reset 0000000 

Bits 27:24 – FILTERVAL[3:0] Recoverable Fault B Filter Value

These bits define the filter value applied on FAULT B (MCE1) event input line. An Input signal with pulse width shorter than (FILTERVAL) * GCLK_TCCx is filtered. An Input signal with pulse width larger than (FILTERVAL+1) * GCLK_TCCx is passed. The value must be set to zero when this event is used as synchronous event.

Bits 23:16 – BLANKVAL[7:0] Recoverable Fault B Blanking Value

These bits determine the duration of the blanking of the fault input source. Activation and edge selection of the blank filtering are done by the BLANK bits (FCTRLB.BLANK(FCTRLB<6:5>)).

When enabled, the fault input source is internally disabled for BLANKVAL* prescaled GCLK_TCCx periods after the detection of the waveform edge.

Bit 15 – BLANKPRESC Recoverable Fault B Blanking Value Prescaler

This bit enables a factor 64 prescaler factor on used as base frequency of the BLANKVAL value.

ValueDescription
0Blank time is BLANKVAL* prescaled GCLK_TCCx.
1Blank time is BLANKVAL* 64 * prescaled GCLK_TCCx.

Bits 14:12 – CAPTURE[2:0] Recoverable Fault B Capture Action

These bits select the capture and Fault B interrupt/event conditions.

Table 44-15. Fault B Capture Action
ValueNameDescription
0x0DISABLECapture on valid recoverable Fault B is disabled
0x1CAPTOn rising edge of a valid recoverable Fault B, capture counter value on channel selected by FCTRLB.CHSEL bits (FCTRLB <11:10>).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each new captured value.

0x2CAPTMINOn rising edge of a valid recoverable Fault B, capture counter value on channel selected byFCTRLB.CHSEL bits (FCTRLB <11:10>), if COUNT value is lower than the last stored capture value (CC).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each local minimum detection.

0x3CAPTMAXOn rising edge of a valid recoverable Fault B, capture counter value on channel selected by FCTRLB.CHSEL bits (FCTRLB <11:10>), if COUNT value is higher than the last stored capture value (CC).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each local maximun detection.

0x4LOCMINOn rising edge of a valid recoverable Fault B, capture counter value on channel selected by FCTRLB.CHSEL bits (FCTRLB <11:10>).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each local minimum value detection.

0x5LOCMAXOn rising edge of a valid recoverable Fault B, capture counter value on channel selected by FCTRLB.CHSEL bits (FCTRLB <11:10>).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each local maximun detection.

0x6DERIV0On rising edge of a valid recoverable Fault B, capture counter value on channel selected by FCTRLB.CHSEL bits (FCTRLB <11:10>).

INTFLAG.FAULTB (INTFLAG<13>) flag rises on each local maximun or minimum detection.

0x7CAPTMARKCapture with Ramp index as MSB value.

Bits 11:10 – CHSEL[1:0] Recoverable Fault B Capture Channel

These bits select the channel for capture operation triggered by recoverable Fault B.

ValueNameDescription
0x0CC0Capture value stored into CC0
0x1CC1Capture value stored into CC1
0x2CC2Capture value stored into CC2
0x3CC3Capture value stored into CC3

Bits 9:8 – HALT[1:0] Recoverable Fault B Halt Operation

These bits select the halt action for recoverable Fault B.

ValueNameDescription
0x0DISABLEHalt action disabled
0x1HWHardware halt action
0x2SWSoftware halt action
0x3NRNon-recoverable fault

Bit 7 – RESTART Recoverable Fault B Restart

Setting this bit enables restart action for Fault B.

ValueDescription
0Fault B restart action is disabled.
1Fault B restart action is enabled.

Bits 6:5 – BLANK[1:0] Recoverable Fault B Blanking Operation

These bits, select the blanking start point for recoverable Fault B.

ValueNameDescription
0x0STARTBlanking applied from start of the Ramp period
0x1RISEBlanking applied from rising edge of the waveform output
0x2FALLBlanking applied from falling edge of the waveform output
0x3BOTHBlanking applied from each toggle of the waveform output

Bit 4 – QUAL Recoverable Fault B Qualification

Setting this bit enables the recoverable Fault B input qualification.

ValueDescription
0The recoverable Fault B input is not disabled on CMPy value condition.
1The recoverable Fault B input is disabled when output signal is at inactive level (CMPy = 0).

Bit 3 – KEEP Recoverable Fault B Keep

Setting this bit enables the Fault B keep action.

ValueDescription
0The Fault B state is released as soon as the recoverable Fault B is released.
1The Fault B state is released at the end of TCC cycle.

Bits 1:0 – SRC[1:0] Recoverable Fault B Source

These bits select the TCC Fault B mode.

Event system channel connected to Match or Capture Channel 1 (MCE1) event input, must be configured to route the event asynchronously, when used as a recoverable Fault B input.

ValueNameDescription
0x0DISABLEFault input disabled
0x1ENABLEEnable Fault B (MCE1) event input
0x2INVERTEnable Fault B (inverted) (MCE1) event input
0x3ALTFAULTAlternate fault (A or B) state at the end of the previous period.