132
Atmel ATmega16/32/64/M1/C1 [DATASHEET]
7647K–AVR–12/13
14.16.10 PSC Interrupt Mask Register – PIM
Bit 7:4 – not use
not use.
Bit 3 – PEVE2: PSC External Event 2 Interrupt Enable
When this bit is set, an external event which can generates a a fault on module 2 generates also an interrupt.
Bit 2 – PEVE1: PSC External Event 1 Interrupt Enable
When this bit is set, an external event which can generates a fault on module 1 generates also an interrupt.
Bit 1 – PEVE0: PSC External Event 0 Interrupt Enable
When this bit is set, an external event which can generates a fault on module 0 generates also an interrupt.
Bit 0 – PEOPE: PSC End Of Cycle Interrupt Enable
When this bit is set, an interrupt is generated when PSC reaches the end of the whole cycle.
14.16.11 PSC Interrupt Flag Register – PIFR
Bit 7:4 – not use
not use.
Bit 3 – PEV2: PSC External Event 2 Interrupt
This bit is set by hardware when an external event which can generates a fault on module 2 occurs.
Must be cleared by software by writing a one to its location.
This bit can be read even if the corresponding interrupt is not enabled (PEVE2 bit = 0).
Bit 2 – PEV1: PSC External Event 1 Interrupt
This bit is set by hardware when an external event which can generates a fault on module 1 occurs.
Must be cleared by software by writing a one to its location.
This bit can be read even if the corresponding interrupt is not enabled (PEVE1 bit = 0).
Bit 1 – PEV0: PSC External Event 0 Interrupt
This bit is set by hardware when an external event which can generates a fault on module 0 occurs.
Must be cleared by software by writing a one to its location.
This bit can be read even if the corresponding interrupt is not enabled (PEVE0 bit = 0).
Bit 0 – PEOP: PSC End Of Cycle Interrupt
This bit is set by hardware when an “end of PSC cycle” occurs.
Must be cleared by software by writing a one to its location.
This bit can be read even if the corresponding interrupt is not enabled (PEOPE bit = 0).
Bit
7
6
5
4
3210
-
PEVE2
PEVE1
PEVE0
PEOPE
PIM
Read/Write
R
R/W
Initial Value
0
0000
Bit
7
654
3
2
1
0
-
PEV2
PEV1
PEV0
PEOP
PIFR
Read/Write
R
R/W
Initial Value
0