ata6616 ATMEL Corporation, ata6616 Datasheet - Page 89

no-image

ata6616

Manufacturer Part Number
ata6616
Description
Microcontroller With Lin Transceiver, 5v Regulator And Watchdog
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL
Quantity:
950
Part Number:
ata6616-P3QW
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ata6616C-P3QW
Manufacturer:
ATMEL
Quantity:
887
4.9.3.5
4.9.3.6
4.9.3.7
9132A–AUTO–10/08
DRAFT
Pin Change Interrupt Flag Register – PCIFR
Pin Change Mask Register 1 – PCMSK1
Pin Change Mask Register 0 – PCMSK0
• Bit 7, 2 – Res: Reserved Bits
These bits are unused bits in the ATtiny167, and will always read as zero.
• Bit 1 - PCIF1: Pin Change Interrupt Flag 1
When a logic change on any PCINT15..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 executed. Alter-
natively, the flag can be cleared by writing a logical one to it.
• 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 PCICR 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 – PCINT15..8: Pin Change Enable Mask 15..8
Each PCINT15..8-bit selects whether pin change interrupt is enabled on the corresponding 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 corresponding 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.
Read/Write
Initial Value
Read/Write
Initial Value
Read/Write
Initial Value
Bit
Bit
Bit
PCINT15 PCINT14 PCINT13 PCINT12 PCINT11 PCINT10
PCINT7
R/W
R/W
7
0
R
7
0
7
0
PCINT6
R/W
R/W
R
6
0
6
0
6
0
PCINT5
ATA6616/ATA6617 [Preliminary]
R/W
R/W
R
5
0
5
0
5
0
PCINT4
R/W
R/W
R
4
0
4
0
4
0
PCINT3
R/W
R/W
R
3
0
3
0
3
0
PCINT2
R/W
R/W
R
2
0
2
0
2
0
PCINT1
PCINT9
PCIF1
R/W
R/W
R/W
1
0
1
0
1
0
PCINT0
PCINT8
PCIF0
R/W
R/W
R/W
0
0
0
0
0
0
PCMSK1
PCMSK0
PCIFR
89

Related parts for ata6616