ATTINY861A-SU Atmel, ATTINY861A-SU Datasheet - Page 52

no-image

ATTINY861A-SU

Manufacturer Part Number
ATTINY861A-SU
Description
IC, MCU, 8BIT, 8K FLASH, 20SOIC
Manufacturer
Atmel
Datasheet

Specifications of ATTINY861A-SU

Controller Family/series
ATtiny
No. Of I/o's
16
Eeprom Memory Size
512Byte
Ram Memory Size
512Byte
Cpu Speed
20MHz
No.
RoHS Compliant
Core Size
8bit
Program Memory Size
8KB
Oscillator Type
External, Internal
Rohs Compliant
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY861A-SUR
Manufacturer:
Atmel
Quantity:
950
9.3.4
9.3.5
52
ATtiny261A/461A/861A
PCMSK0 – Pin Change Mask Register A
PCMSK1 – Pin Change Mask Register B
When a logic change on any PCINT15 pin triggers an interrupt request, PCIF becomes set
(one). If the I-bit in SREG and the PCIE bit in GIMSK are set (one), the MCU will jump to the cor-
responding Interrupt Vector. The flag is cleared when the interrupt routine is executed.
Alternatively, the flag can be cleared by writing a logical one to it.
• Bits 4:0 – Res: Reserved Bits
These bits are reserved and will always read as zero.
• Bits 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 PCIE1 bit in GIMSK is set, pin change interrupt is enabled on the cor-
responding I/O pin. If PCINT7:0 is cleared, pin change interrupt on the corresponding I/O pin is
disabled.
• Bits 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 PCINT11:8 is set and the PCIE0 bit in GIMSK is set, pin change interrupt is enabled on
the corresponding I/O pin, and if PCINT15:12 is set and the PCIE1 bit in GIMSK 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
0x23 (0x43)
Read/Write
Initial Value
Bit
0x22 (0x42)
Read/Write
Initial Value
7
PCINT7
R/W
1
7
PCINT15
R/W
1
6
PCINT6
R/W
1
6
PCINT14
R/W
1
5
PCINT5
R/W
0
5
PCINT13
R/W
1
4
PCINT4
R/w
0
4
PCINT12
R/w
1
3
PCINT3
R/W
1
3
PCINT11
R/W
1
2
R/W
0
2
PCINT10
R/W
1
PCINT2
1
PCINT1
R/W
0
1
PCINT9
R/W
1
0
PCINT0
R/W
0
0
PCINT8
R/W
1
8197B–AVR–01/10
PCMSK0
PCMSK1

Related parts for ATTINY861A-SU