Atmel AT90PWM2 Manual page 171

8-bit avr microcontroller with 8k bytes in-system programmable flash
Table of Contents

Advertisement

16.26.4
PSC2 Interrupt Mask Register – PIM2
16.26.5
PSC0 Interrupt Flag Register – PIFR0
16.26.6
PSC1 Interrupt Flag Register – PIFR1
16.26.7
PSC2 Interrupt Flag Register – PIFR2
AT90PWM2/3/2B/3B
172
Bit
7
-
Read/Write
R
Initial Value
0
• Bit 5 – PSEIEn : PSC n Synchro Error Interrupt Enable
When this bit is set, the PSEIn bit (if set) generate an interrupt.
• Bit 4 – PEVEnB : PSC n External Event B Interrupt Enable
When this bit is set, an external event which can generates a capture from Retrigger/Fault block
B generates also an interrupt.
• Bit 3 – PEVEnA : PSC n External Event A Interrupt Enable
When this bit is set, an external event which can generates a capture from Retrigger/Fault block
A generates also an interrupt.
• Bit 0 – PEOPEn : PSC n End Of Cycle Interrupt Enable
When this bit is set, an interrupt is generated when PSC reaches the end of the whole cycle.
Bit
7
POAC0B
POAC0A
Read/Write
R
Initial Value
0
Bit
7
POAC1B
POAC1A
Read/Write
R
Initial Value
0
Bit
7
POAC2B
POAC2A
Read/Write
R
Initial Value
0
• Bit 7 – POACnB : PSC n Output B Activity (not implemented on AT90PWM2/3)
This bit is set by hardware each time the output PSCOUTn1 changes from 0 to 1 or from 1 to 0.
Must be cleared by software by writing a one to its location.
This feature is useful to detect that a PSC output doesn't change due to a freezen external input
signal.
• Bit 6 – POACnA : PSC n Output A Activity (not implemented on AT90PWM2/3)
This bit is set by hardware each time the output PSCOUTn0 changes from 0 to 1 or from 1 to 0.
Must be cleared by software by writing a one to its location.
6
5
4
-
PSEIE2
PEVE2B
PEVE2A
R
R/W
R/W
0
0
0
6
5
4
PSEI0
PEV0B
R
R/W
R/W
0
0
0
6
5
4
PSEI1
PEV1B
R
R/W
R/W
0
0
0
6
5
4
PSEI2
PEV2B
R
R/W
R/W
0
0
0
3
2
1
-
-
R/W
R
R
0
0
0
3
2
1
PEV0A
PRN01
PRN00
R/W
R
R
0
0
0
3
2
1
PEV1A
PRN11
PRN10
R/W
R
R
0
0
0
3
2
1
PEV2A
PRN21
PRN20
R/W
R
R
0
0
0
0
PEOPE2
PIM2
R/W
0
0
PEOP2
PIFR0
R/W
0
0
PEOP1
PIFR1
R/W
0
0
PEOP2
PIFR2
R/W
0
4317I–AVR–01/08

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AT90PWM2 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

At90pwm3At90pwm2bAt90pwm3b

Table of Contents