beautypg.com

9 pcmsk0 - pin change mask register 0, Atmega128rfa1 – Rainbow Electronics ATmega128RFA1 User Manual

Page 225

background image

225


8266A-MCU Wireless-12/09

ATmega128RFA1

Bit 7:1 – PCINT15:9 - Pin Change Enable Mask

Bits 15:9 of the PCMSK1 register have no function in this device. The I/O ports
associated to PCINT15:9 are not implemented.

Bit 0 – PCINT8 - Pin Change Enable Mask 8

If this bit is set to one the pin change interrupt on the corresponding I/O pin is enabled.
If this bit is set to zero the pin change interrupt is disabled.

16.2.9 PCMSK0 – Pin Change Mask Register 0

Bit

7

6

5

4

3

2

1

0

NA ($6B)

PCINT7

PCINT6

PCINT5

PCINT4

PCINT3

PCINT2

PCINT1

PCINT0

PCMSK0

Read/Write

RW

RW

RW

RW

RW

RW

RW

RW

Initial Value

0

0

0

0

0

0

0

0

Each bit PCINT7:0 selects whether the pin change interrupt is enabled on the
corresponding I/O pin. If PCINT7:0 is set and the PCIE0 bit in PCICR is set, the pin
change interrupt is enabled on the corresponding I/O pin. If PCINT7:0 is cleared, the pin
change interrupt on the corresponding I/O pin is disabled.

Bit 7:0 – PCINT7:0 - Pin Change Enable Mask