Datasheet
86
ATtiny828 [DATASHEET]
8371A–AVR–08/12
10.4.17 PINA – Port A Input Pins
z Bits 7:0 – PINA[7:0]: Port Input Data
Regardless of the setting of the data direction bit, the value of the port pin PAn can be read through the PINAn bit.
Writing a logic one to PINAn toggles the value of PORTAn, regardless of the value in DDAn.
Bit 76543210
0x00 (0x20)
PINA7 PINA6 PINA5 PINA4 PINA3 PINA2 PINA1 PINA0 PINA
Read/Write R/W R/W R/W R/W R/W R/W R/W R/W
Initial Value N/A N/A N/A N/A N/A N/A N/A N/A