Data Direction Set
Bit7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
DIRSET[7:0] | |||||||
AccessR/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W |
Reset0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Data Direction Set
Writing a ‘0
’ to bit n in this bit
field has no effect.
Writing a ‘1
’ to bit n
in this bit field will set the corresponding bit in PORTx.DIR, which will
configure pin n (Pxn) as an output pin and enable the output driver.
Reading this bit field will return the value of PORTx.DIR.