at90pwm81-16se ATMEL Corporation, at90pwm81-16se Datasheet - Page 176

no-image

at90pwm81-16se

Manufacturer Part Number
at90pwm81-16se
Description
8-bit Avr Microcontroller With 8k Bytes In- System Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet
176
AT90PWM81
The Input Control Registers are used to configure the 2 PSC’s Retrigger/Fault block A & B. The 2 blocks
are identical, so they are configured on the same way.
• 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
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 sam-
ples 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 PSCR Functional Specification for more explanations)
Table 14-14.
Table 14-15.
PRFM0x3:0
0000b
0001b
0010b
0011b
0100b
0101b
0110b
0111b
1000b
1001b
and
Table 14-9 on page 171
Level Sensitivity and Fault Mode Operation
Description
No action, PSCR Input is ignored
PSCR Input Mode 1: Stop signal, Jump to Opposite Dead-Time and Wait
PSCR Input Mode 2: Stop signal, Execute Opposite Dead-Time and Wait
PSCR Input Mode 3: Stop signal, Execute Opposite while Fault active
PSCR Input Mode 4: Deactivate outputs without changing timing.
PSCR Input Mode 5: Stop signal and Insert Dead-Time
PSCR Input Mode 6: Stop signal, Jump to Opposite Dead-Time and Wait.
PSCR Input Mode 7: Halt PSCR and Wait for Software Action
PSCR Input Mode 8: Edge Retrigger PSC
PSCR Input Mode 9: Fixed Frequency Edge Retrigger PSC
7734M–AVR–03/10
Table 14-8 on

Related parts for at90pwm81-16se