36.8.6 Fault Control B
Name: | FCTRLB |
Offset: | 0x10 |
Reset: | 0x00000000 |
Property: | PAC Write-Protection, Enable-Protected |
Bit | 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | |
FILTERVAL[3:0] | |||||||||
Access | R/W | R/W | R/W | R/W | |||||
Reset | 0 | 0 | 0 | 0 |
Bit | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | |
BLANKVAL[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
CAPTURE[2:0] | CHSEL[1:0] | HALT[1:0] | |||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
RESTART | BLANK[1:0] | QUAL | KEEP | SRC[1:0] | |||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | ||
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bits 27:24 – FILTERVAL[3:0] Recoverable Fault B Filter Value
These bits define the filter value applied on MCE1 event input line. The value must be set to zero when MCE1 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).
When enabled, the fault input source is internally disabled for BLANKVAL* prescaled GCLK_TCC periods after the detection of the waveform edge.
Bits 14:12 – CAPTURE[2:0] Recoverable Fault B Capture Action
These bits select the capture and Fault B interrupt/event conditions.
Value | Name | Description |
---|---|---|
0x0 | DISABLE | Capture on valid recoverable Fault B is disabled |
0x1 | CAPT | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by CHSEL[1:0].
INTFLAG.FAULTB flag rises on each new captured value. |
0x2 | CAPTMIN | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by CHSEL[1:0], if
COUNT value is lower than the last stored capture value (CC).
INTFLAG.FAULTB flag rises on each local minimum detection. |
0x3 | CAPTMAX | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by CHSEL[1:0], if
COUNT value is higher than the last stored capture value (CC).
INTFLAG.FAULTB flag rises on each local maximum detection. |
0x4 | LOCMIN | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by
CHSEL[1:0]. INTFLAG.FAULTB flag rises on each local minimum value detection. |
0x5 | LOCMAX | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by CHSEL[1:0].
INTFLAG.FAULTB flag rises on each local maximum detection. |
0x6 | DERIV0 | On rising edge of a valid recoverable Fault B,
capture counter value on channel selected by CHSEL[1:0].
INTFLAG.FAULTB flag rises on each local maximum or minimum detection. |
0x7 | CAPTMARK | Capture 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.
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 B Halt Operation
These bits select the halt action for recoverable Fault B.
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 B Restart
Setting this bit enables restart action for Fault B.
Value | Description |
---|---|
0 | Fault B restart action is disabled. |
1 | Fault 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.
Value | Name | Description |
---|---|---|
0x0 | START | Blanking applied from start of the Ramp period |
0x1 | RISE | Blanking applied from rising edge of the waveform output |
0x2 | FALL | Blanking applied from falling edge of the waveform output |
0x3 | BOTH | Blanking 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.
Value | Description |
---|---|
0 | The recoverable Fault B input is not disabled on CMPx value condition. |
1 | The recoverable Fault B input is disabled when output signal is at inactive level (CMPx == 0). |
Bit 3 – KEEP Recoverable Fault B Keep
Setting this bit enables the Fault B keep action.
Value | Description |
---|---|
0 | The Fault B state is released as soon as the recoverable Fault B is released. |
1 | The 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 event input for recoverable Fault B.
Event system channel connected to MCEx event input, must be configured to route the event asynchronously, when used as a recoverable Fault B input.
Value | Name | Description |
---|---|---|
0x0 | DISABLE | Fault input disabled |
0x1 | ENABLE | MCE1 event input |
0x2 | INVERT | Inverted MCE1 event input |
0x3 | ALTFAULT | Alternate fault A state at the end of the previous period. |