Datasheet
965
SAM4S Series [DATASHEET]
11100F–ATARM–29-Jan-14
39.7.23 PWM Fault Mode Register
Name: PWM_FMR
Address: 0x4002005C
Access: Read/Write
This register can only be written if bits WPSWS5 and WPHWS5 are cleared in the “PWM Write Protection Status Register” .
• FPOL: Fault Polarity
For each field bit y (fault input number):
0: The fault y becomes active when the fault input y is at 0.
1: The fault y becomes active when the fault input y is at 1.
• FMOD: Fault Activation Mode
For each field bit y (fault input number):
0: The fault y is active until the Fault condition is removed at the peripheral
(1)
level.
1: The fault y stays active until the Fault condition is removed at the peripheral
(1)
level AND until it is cleared in the
“PWM Fault Clear Register” .
Note: 1. The Peripheral generating the fault.
• FFIL: Fault Filtering
For each field bit y (fault input number):
0: The fault input y is not filtered.
1: The fault input y is filtered.
CAUTION: To prevent an unexpected activation of the status flag FSy in the “PWM Fault Status Register” , the bit FMODy can be
set to ‘1’ only if the FPOLy bit has been previously configured to its final value.
31 30 29 28 27 26 25 24
–
23 22 21 20 19 18 17 16
FFIL
15 14 13 12 11 10 9 8
FMOD
76543210
FPOL