atmega32u4-16mu ATMEL Corporation, atmega32u4-16mu Datasheet - Page 86

no-image

atmega32u4-16mu

Manufacturer Part Number
atmega32u4-16mu
Description
Atmega32u4 8-bit Avr Microcontroller With 32k Bytes Of Isp Flash And Usb Controller
Manufacturer
ATMEL Corporation
Datasheet
11.0.7
86
ATmega32U4
Pin Change Mask Register 0 – PCMSK0
• Bit 0 – PCIF0: Pin Change Interrupt Flag 0
When a logic change on any PCINT7..0 pin triggers an interrupt request, PCIF0 becomes set
(one). If the I-bit in SREG and the PCIE0 bit in EIMSK are set (one), the MCU will jump to the
corresponding Interrupt Vector. The flag is cleared when the interrupt routine is executed. Alter-
natively, the flag can be cleared by writing a logical one to it.
• Bit 7..0 – PCINT7..0: Pin Change Enable Mask 7..0
Each PCINT7..0 bit selects whether pin change interrupt is enabled on the corresponding I/O
pin. If PCINT7..0 is set and the PCIE0 bit in PCICR is set, pin change interrupt is enabled on the
corresponding I/O pin. If PCINT7..0 is cleared, pin change interrupt on the corresponding I/O pin
is disabled.
Bit
Read/Write
Initial Value
7
PCINT7
R/W
0
6
PCINT6
R/W
0
5
PCINT5
R/W
0
4
PCINT4
R/W
0
3
PCINT3
R/W
0
2
PCINT2
R/W
0
1
PCINT1
R/W
0
0
PCINT0
R/W
0
PCMSK0
7766A–AVR–03/08

Related parts for atmega32u4-16mu