Datasheet
ADuC7033
Rev. B | Page 94 of 140
GPIO Port1 Data Register
Name: GP1DAT
Address: 0xFFFF0D30
Default Value: 0x000000XX
Access: Read/write
Function: This 32-bit MMR configures the direction of the GPIO pins assigned to Port1 (see Table 58). This register also sets the
output value for GPIO pins configured as outputs and reads the status of GPIO pins configured as inputs.
Table 63. GP1DAT MMR Bit Designations
Bit Description
31 to 26 Reserved. These bits are reserved and should be written as 0 by user code.
25 Port1.1 Direction Select Bit.
Cleared to 0 by user code to configure the GPIO pin assigned to Port1.1 as an input.
Set to 1 by user code to configure the GPIO pin assigned to Port1.1 as an output.
24 Port1.0 Direction Select Bit.
Cleared to 0 by user code to configure the GPIO pin assigned to Port1.0 as an input.
Set to 1 by user code to configure the GPIO pin assigned to Port1.0 as an output.
23 to 18 Reserved. These bits are reserved and should be written as 0 by user code.
17 Port1.1 Data Output. The value written to this bit appears directly on the GPIO pin assigned to Port1.1.
16 Port1.0 Data Output. The value written to this bit appears directly on the GPIO pin assigned to Port1.0.
15 to 2 Reserved. These bits are reserved and should be written as 0 by user code.
1
Port1.1 Data Input. This bit is a read-only bit that reflects the current status of the GPIO pin assigned to Port1.1. User code should
write 0 to this bit.
0
Port1.0 Data Input. This bit is a read-only bit that reflects the current status of the GPIO pin assigned to Port1.0. User code should
write 0 to this bit.