ATtiny1624/1626/1627

DIRTGL

Data Direction Toggle

  0x03 8 - 0x00    

Data Direction Toggle

Bit  7 6 5 4 3 2 1 0  
  DIRTGL[7:0]  
Access  R/W R/W R/W R/W R/W R/W R/W R/W  
Reset  0 0 0 0 0 0 0 0  

Bits 7:0 – DIRTGL[7:0]: Data Direction Toggle

Data Direction Toggle

This bit field controls the output driver for each PORTx pin, without using a read-modify-write operation.

Writing a ‘0’ to bit n in this bit field has no effect.

Writing a ‘1’ to bit n in this bit field will toggle the corresponding bit in PORTx.DIR.

Reading this bit field will return the value of PORTx.DIR.