Datasheet
56
ATtiny828 [DATASHEET]
8371A–AVR–08/12
9.3.7 PCICR – Pin Change Interrupt Control Register
z Bits 7:4 – Res: Reserved Bits
These bits are reserved and will always read zero.
z Bit 3 – PCIE3: Pin Change Interrupt Enable 3
When this bit and the I-bit of SREG are set the Pin Change Interrupt 3 is enabled. Any change on an enabled
PCINT[27:24] pin will cause a PCINT3 interrupt. See Table 17 on page 50.
Each pin can be individually enabled. See “PCMSK3 – Pin Change Mask Register 3” on page 54.
z Bit 2 – PCIE2: Pin Change Interrupt Enable 2
When this bit and the I-bit of SREG are set the Pin Change Interrupt 2 is enabled. Any change on an enabled
PCINT[23:16] pin will cause a PCINT2 interrupt. See Table 17 on page 50.
Each pin can be individually enabled. See “PCMSK2 – Pin Change Mask Register 2” on page 54.
z Bit 1 – PCIE1: Pin Change Interrupt Enable 1
When this bit and the I-bit of SREG are set the Pin Change Interrupt 1 is enabled. Any change on an enabled
PCINT[15:8] pin will cause a PCINT1 interrupt. See Table 17 on page 50.
Each pin can be individually enabled. See “PCMSK1 – Pin Change Mask Register 1” on page 54.
z Bit 0 – PCIE0: Pin Change Interrupt Enable 0
When this bit and the I-bit of SREG are set the Pin Change Interrupt 0 is enabled. Any change on an enabled PCINT[7:0]
pin will cause a PCINT0 interrupt. See Table 17 on page 50.
Each pin can be individually enabled. See “PCMSK0 – Pin Change Mask Register 0” on page 55.
9.3.8 EIMSK – External Interrupt Mask Register
z Bits 7:2 – Res: Reserved Bits
These bits are reserved and will always read zero.
z Bit 1 – INT1: External Interrupt Request 1 Enable
The external interrupt for pin INT1 is enabled when this bit and the I-bit in the Status Register (SREG) are set. The trigger
conditions are set with the ISC1n bits.
Activity on the pin will cause an interrupt request even if INT0 has been configured as an output.
Bit 76543210
(0x68) ––––PCIE3PCIE2PCIE1PCIE0PCICR
Read/Write R R R R R/W R/W R/W R/W
Initial Value 00000000
Bit 76543210
0x1D (0x3D) ––––––INT1INT0EIMSK
Read/Write RRRRRRR/WR/W
Initial Value 00000000