16.25.4
Output Compare SA Register – OCRnSAH and OCRnSAL
16.25.5
Output Compare RA Register – OCRnRAH and OCRnRAL
16.25.6
Output Compare SB Register – OCRnSBH and OCRnSBL
4317I–AVR–01/08
Table 16-12. Synchronization Source Description in Centered Mode
PSYNCn1
PSYNCn0
0
0
0
1
1
0
1
1
• Bit 3 – POEN2D : PSCOUT23 Output Enable (PSC2 only)
When this bit is clear, second I/O pin affected to PSCOUT23 acts as a standard port.
When this bit is set, second I/O pin affected to PSCOUT23 is connected to the PSC waveform
generator B output and is set and clear according to the PSC operation.
• Bit 2 – POENnB: PSC n OUT Part B Output Enable
When this bit is clear, I/O pin affected to PSCOUTn1 acts as a standard port.
When this bit is set, I/O pin affected to PSCOUTn1 is connected to the PSC waveform generator
B output and is set and clear according to the PSC operation.
• Bit 1 – POEN2C : PSCOUT22 Output Enable (PSC2 only)
When this bit is clear, second I/O pin affected to PSCOUT22 acts as a standard port.
When this bit is set, second I/O pin affected to PSCOUT22 is connected to the PSC waveform
generator A output and is set and clear according to the PSC operation.
• Bit 0 – POENnA: PSC n OUT Part A Output Enable
When this bit is clear, I/O pin affected to PSCOUTn0 acts as a standard port.
When this bit is set, I/O pin affected to PSCOUTn0 is connected to the PSC waveform generator
A output and is set and clear according to the PSC operation.
Bit
7
–
Read/Write
W
Initial Value
0
Bit
7
–
Read/Write
W
Initial Value
0
Bit
7
–
Description
Send signal on match with OCRnRA (during counting down of PSC). The
min value of OCRnRA must be 1.
Send signal on match with OCRnRA (during counting up of PSC). The
min value of OCRnRA must be 1.
no synchronization signal
no synchronization signal
6
5
4
–
–
–
OCRnSA[7:0]
W
W
W
0
0
0
6
5
4
–
–
–
OCRnRA[7:0]
W
W
W
0
0
0
6
5
4
–
–
–
OCRnSB[7:0]
AT90PWM2/3/2B/3B
3
2
1
OCRnSA[11:8]
W
W
W
0
0
0
3
2
1
OCRnRA[11:8]
W
W
W
0
0
0
3
2
1
OCRnSB[11:8]
0
OCRnSAH
OCRnSAL
W
0
0
OCRnRAH
OCRnRAL
W
0
0
OCRnSBH
OCRnSBL
163
Need help?
Do you have a question about the AT90PWM2 and is the answer not in the manual?
Questions and answers