Datasheet
176
7734Q–AVR–02/12
AT90PWM81/161
• Bit 7 – PCAE0x: PSCR Capture Enable Input Part x
Writing this bit to one enables the capture function when external event occurs on input selected
as input for Part x (see PISEL0x0 bit in the same register).
• Bit 6 – PISEL0x0: PSCR Input Select for Part x
Together with PISEL0x1 in PSOC0 register, defines active signal on PSC module A. See Table
13-8 on page 171 and Table 13-9 on page 171.
• Bit 5 –PELEV0x: PSCR Edge Level Selector of Input Part x
When this bit is clear, the falling edge or low level of selected input generates the significative
event for retrigger or fault function.
When this bit is set, the rising edge or high level of selected input generates the significative
event for retrigger or fault function.
• Bit 4 – PFLTE0x: PSCR Filter Enable on Input Part x
Setting this bit (to one) activates the Input Capture Noise Canceler. When the noise canceler is
activated, the input from the retrigger pin is filtered. The filter function requires four successive
equal valued samples of the retrigger pin for changing its output. The Input Capture is therefore
delayed by four oscillator cycles when the noise canceler is enabled.
• Bit 3:0 – PRFM0x3:0: PSCR Fault Mode
These four bits define the mode of operation of the Fault or Retrigger functions. (See Table 13-5
on page 160 for more explanations).
Table 13-14. Level sensitivity and Fault mode operation.
PRFM0x3:0 Description
0000b
No action, PSCR Input is ignored
0001b
“PSCR Input Mode 1: Stop signal, Jump to Opposite Dead-Time and Wait”,
page 161
0010b
“PSCR Input Mode 2: Stop signal, Execute Opposite Dead-Time and Wait”,
page 162
0011b
“PSCR Input Mode 3: Stop signal, Execute Opposite while Fault active”,
page 163
0100b
“PSCR Input Mode 4: Deactivate outputs without changing timing”, page 164
0101b
“PSCR Input Mode 5: Stop signal and Insert Dead-Time”, page 164
0110b
“PSCR Input Mode 6: Stop signal, Jump to Opposite Dead-Time and Wait”,
page 165
0111b
“PSCR Input Mode 7: Halt PSCR and Wait for Software Action”, page 165
1000b
“PSCR Input Mode 8: Edge Retrigger PSC”, page 166
1001b
“PSCR Input Mode 9: Fixed Frequency Edge Retrigger PSC”, page 167