ATA6613 ATMEL Corporation, ATA6613 Datasheet - Page 111

no-image

ATA6613

Manufacturer Part Number
ATA6613
Description
Ata6613
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6613P
Quantity:
45
Part Number:
ATA6613P
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATA6613P-PLQW
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
ATA6613P-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
6.11.4
6.11.5
9111C–AUTO–02/08
Pin Change Interrupt Control Register - PCICR
Pin Change Interrupt Flag Register - PCIFR
• Bit 7..3 - Res: Reserved Bits
• Bit 2 - PCIE2: Pin Change Interrupt Enable 2
• Bit 1 - PCIE1: Pin Change Interrupt Enable 1
• Bit 0 - PCIE0: Pin Change Interrupt Enable 0
• Bit 7..3 - Res: Reserved Bits
• Bit 2 - PCIF2: Pin Change Interrupt Flag 2
• Bit 1 - PCIF1: Pin Change Interrupt Flag 1
Initial Value
Initial Value
Read/Write
Read/Write
These bits are unused bits in the ATA6612/ATA6613, and will always read as zero.
When the PCIE2 bit is set (one) and the I-bit in the Status Register (SREG) is set (one), pin
change interrupt 2 is enabled. Any change on any enabled PCINT23..16 pin will cause an
interrupt. The corresponding interrupt of Pin Change Interrupt Request is executed from the
PCI2 Interrupt Vector. PCINT23..16 pins are enabled individually by the PCMSK2 Register.
When the PCIE1 bit is set (one) and the I-bit in the Status Register (SREG) is set (one), pin
change interrupt 1 is enabled. Any change on any enabled PCINT14..8 pin will cause an
interrupt. The corresponding interrupt of Pin Change Interrupt Request is executed from the
PCI1 Interrupt Vector. PCINT14..8 pins are enabled individually by the PCMSK1 Register.
When the PCIE0 bit is set (one) and the I-bit in the Status Register (SREG) is set (one), pin
change interrupt 0 is enabled. Any change on any enabled PCINT7..0 pin will cause an
interrupt. The corresponding interrupt of Pin Change Interrupt Request is executed from the
PCI0 Interrupt Vector. PCINT7..0 pins are enabled individually by the PCMSK0 Register.
These bits are unused bits in the ATA6612/ATA6613, and will always read as zero.
When a logic change on any PCINT23..16 pin triggers an interrupt request, PCIF2 becomes
set (one). If the I-bit in SREG and the PCIE2 bit in PCICR are set (one), the MCU will jump to
the corresponding Interrupt Vector. The flag is cleared when the interrupt routine is exe-
cuted. Alternatively, the flag can be cleared by writing a logical one to it.
When a logic change on any PCINT14..8 pin triggers an interrupt request, PCIF1 becomes
set (one). If the I-bit in SREG and the PCIE1 bit in PCICR are set (one), the MCU will jump to
the corresponding Interrupt Vector. The flag is cleared when the interrupt routine is exe-
cuted. Alternatively, the flag can be cleared by writing a logical one to it.
Bit
Bit
R
R
7
0
7
0
R
R
6
0
6
0
R
R
5
0
5
0
R
R
4
0
4
0
R
R
3
0
3
0
ATA6612/ATA6613
PCIE2
PCIF2
R/W
R/W
2
0
2
0
PCIE1
PCIF1
R/W
R/W
1
0
1
0
PCIE0
PCIF0
R/W
R/W
0
0
0
0
PCICR
PCIFR
111

Related parts for ATA6613