AT90PWM216-16SE ATMEL [ATMEL Corporation], AT90PWM216-16SE Datasheet - Page 168

no-image

AT90PWM216-16SE

Manufacturer Part Number
AT90PWM216-16SE
Description
8-bit Microcontroller with 16K Bytes In-System Programmable flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
16.25.13 PSC 2 Control Register – PCTL2
168
AT90PWM216/316
• Bit 3 – PAOC1A : PSC 1 Asynchronous Output Control A
When this bit is set, Fault input selected to block A can act directly to PSCOUT10 output. See
Section “PSC Clock Sources”, page 161
• Bit 2 – PARUN1 : PSC 1 Autorun
When this bit is set, the PSC 1 starts with PSC0. That means that PSC 1 starts :
Thanks to this bit, 2 or 3 PSCs can be synchronized (motor control for example)
• Bit 1 – PCCYC1 : PSC 1 Complete Cycle
When this bit is set, the PSC 1 completes the entire waveform cycle before halt operation
requested by clearing PRUN1. This bit is not relevant in slave mode (PARUN1 = 1).
• Bit 0 – PRUN1 : PSC 1 Run
Writing this bit to one starts the PSC 1.
When set, this bit prevails over PARUN1 bit.
• Bit 7:6 – PPRE21:0 : PSC 2 Prescaler Select
This two bits select the PSC input clock division factor.All generated waveform will be modified
by this factor.
Table 16-16. PSC 2 Prescaler Selection
• Bit 5 – PBFM2 : Balance Flank Width Modulation
When this bit is clear, Flank Width Modulation operates on On-Time 1 only.
When this bit is set, Flank Width Modulation operates on On-Time 0 and On-Time 1.
• Bit 4 – PAOC2B : PSC 2 Asynchronous Output Control B
When this bit is set, Fault input selected to block B can act directly to PSCOUT21 and
PSCOUT23 outputs. See Section “PSC Clock Sources”, page 161.
• Bit 3 – PAOC2A : PSC 2 Asynchronous Output Control A
When this bit is set, Fault input selected to block A can act directly to PSCOUT20 and
PSCOUT22 outputs. See Section “PSC Clock Sources”, page 161.
Bit
Read/Write
Initial Value
PPRE21
0
0
1
1
• when PRUN0 bit in PCTL0 register is set,
• or when PARUN0 bit in PCTL0 is set and PRUN2 bit in PCTL2 register is set.
PPRE20
0
1
0
1
PPRE21
R/W
7
0
PPRE20
R/W
6
0
Description
No divider on PSC input clock
Divide the PSC input clock by 4
Divide the PSC input clock by 16
Divide the PSC clock by 64
PBFM2
R/W
5
0
PAOC2B
R/W
4
0
PAOC2A
R/W
3
0
PARUN2
R/W
2
0
PCCYC2
R/W
1
0
PRUN2
R/W
0
0
7710D–AVR–08/09
PCTL2

Related parts for AT90PWM216-16SE