15.5.2
Data Direction Set
Name:
DIRSET
Offset:
0x01
Reset:
0x00
Property: -
Bit
7
Access
R/W
Reset
0
Bits 7:0 – DIRSET[7:0] Data Direction Set
This bit field can be used instead of a read-modify-write to set individual pins as output.
Writing a '1' to DIRSET[n] will set the corresponding PORTx.DIR[n] bit.
Reading this bit field will always return the value of PORTx.DIR.
©
2018 Microchip Technology Inc.
6
5
R/W
R/W
0
0
4
3
DIRSET[7:0]
R/W
R/W
0
0
Datasheet Preliminary
®
megaAVR
0-Series
I/O Pin Configuration (PORT)
2
1
R/W
R/W
0
0
DS40002015A-page 144
0
R/W
0
Need help?
Do you have a question about the megaAVR 0 Series and is the answer not in the manual?
Questions and answers