AT90PWM2B-16SE ATMEL [ATMEL Corporation], AT90PWM2B-16SE Datasheet - Page 171

no-image

AT90PWM2B-16SE

Manufacturer Part Number
AT90PWM2B-16SE
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
16.26.4
16.26.5
16.26.6
16.26.7
4317J–AVR–08/10
PSC2 Interrupt Mask Register – PIM2
PSC0 Interrupt Flag Register – PIFR0
PSC1 Interrupt Flag Register – PIFR1
PSC2 Interrupt Flag Register – PIFR2
Bit
Read/Write
Initial Value
• 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
Read/Write
Initial Value
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
• 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.
POAC0B
POAC1B
POAC2B
R
R
R
R
7
0
7
0
7
0
7
0
-
POAC0A
POAC1A
POAC2A
R
R
R
R
6
0
6
0
6
0
6
0
-
PSEIE2
PSEI0
PSEI1
PSEI2
R/W
R/W
R/W
R/W
5
0
5
0
5
0
5
0
PEVE2B
PEV0B
PEV1B
PEV2B
R/W
R/W
R/W
R/W
4
0
4
0
4
0
4
0
PEVE2A
PEV0A
PEV1A
PEV2A
R/W
R/W
R/W
R/W
3
0
3
0
3
0
3
0
AT90PWM2/3/2B/3B
PRN01
PRN11
PRN21
R
R
R
R
2
0
2
0
2
0
2
0
-
PRN00
PRN10
PRN20
R
R
R
R
1
0
1
0
1
0
1
0
-
PEOPE2
PEOP2
PEOP1
PEOP2
R/W
R/W
R/W
R/W
0
0
0
0
0
0
0
0
PIFR0
PIFR1
PIFR2
PIM2
171

Related parts for AT90PWM2B-16SE