ATA6602-PLQW ATMEL [ATMEL Corporation], ATA6602-PLQW Datasheet - Page 108

no-image

ATA6602-PLQW

Manufacturer Part Number
ATA6602-PLQW
Description
Microcontroller with LIN Transceiver, 5V Regulator and Watchdog
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL
Quantity:
1 727
Part Number:
ATA6602-PLQW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
4.11.4
4.11.5
108
ATA6602/ATA6603
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 ATA6602/ATA6603, 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 ATA6602/ATA6603, 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
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
4921C–AUTO–01/07
0
0
0
0
PCICR
PCIFR

Related parts for ATA6602-PLQW