Port A Input Pins Address

When addressing I/O Registers as data space using LD and ST instructions, the provided offset must be used. When using the I/O specific commands IN and OUT, the offset is reduced by 0x20, resulting in an I/O address offset within 0x00 - 0x3F.

Name:
PINA
Offset:
0x20
Reset:
N/A
Access:
When addressing as I/O Register: address offset is 0x00
Bit76543210
PINA7PINA6PINA5PINA4PINA3PINA2PINA1PINA0
AccessR/WR/WR/WR/WR/WR/WR/WR/W
Reset

Bits 0, 1, 2, 3, 4, 5, 6, 7 – PINA: Port A Input Pins Address

Port A Input Pins Address

Writing to the pin register provides toggle functionality for IO. Refer to Toggling the Pin.