ATMEGA325-16AJ ATMEL [ATMEL Corporation], ATMEGA325-16AJ Datasheet - Page 79

no-image

ATMEGA325-16AJ

Manufacturer Part Number
ATMEGA325-16AJ
Description
8-bit Microcontroller with In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Pin Change Mask Register 2 –
PCMSK2
Pin Change Mask Register 1 –
PCMSK1
Pin Change Mask Register 0 –
PCMSK0
2570A–AVR–09/04
(1)
• Bit 7..0 – PCINT23..16: Pin Change Enable Mask 23..16
Each PCINT23..16 bit selects whether pin change interrupt is enabled on the corre-
sponding I/O pin. If PCINT23..16 is set and the PCIE2 bit in EIMSK is set, pin change
interrupt is enabled on the corresponding I/O pin. If PCINT23..16 is cleared, pin change
interrupt on the corresponding I/O pin is disabled.
Note:
• Bit 7..0 – PCINT15..8: Pin Change Enable Mask 15..8
Each PCINT15..8-bit selects whether pin change interrupt is enabled on the correspond-
ing I/O pin. If PCINT15..8 is set and the PCIE1 bit in EIMSK is set, pin change interrupt
is enabled on the corresponding I/O pin. If PCINT15..8 is cleared, pin change interrupt
on the corresponding I/O pin is disabled.
• Bit 7..0 – PCINT7..0: Pin Change Enable Mask 7..0
Each PCINT7..0 bit selects whether pin change interrupt is enabled on the correspond-
ing I/O pin. If PCINT7..0 is set and the PCIE0 bit in EIMSK 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
Bit
Read/Write
Initial Value
Bit
Read/Write
Initial Value
1. PCMSK3 and PCMSK2 are only present in ATmega3250/6450.
PCINT23
PCINT15
7
PCINT7
R/W
0
R/W
R/W
7
0
7
0
PCINT22
PCINT14
6
PCINT6
R/W
0
R/W
R/W
6
0
6
0
PCINT21
5
PCINT5
R/W
0
PCINT13
R/W
R/W
5
0
5
0
ATmega325/3250/645/6450
PCINT20
4
PCINT4
R/W
0
PCINT12
R/W
R/W
4
0
4
0
PCINT19
3
PCINT3
R/W
0
PCINT11
R/W
R/W
3
0
3
0
PCINT18
R/W
PCINT10
2
PCINT2
0
R/W
R/W
2
0
2
0
PCINT17
1
PCINT1
R/W
0
PCINT9
R/W
R/W
1
0
1
0
PCINT16
0
PCINT0
R/W
0
PCINT8
R/W
R/W
0
0
0
0
PCMSK2
PCMSK0
PCMSK1
79

Related parts for ATMEGA325-16AJ