Datasheet
ADuC7033
Rev. B | Page 97 of 140
GPIO Port2 Set Register
Name: GP2SET
Address: 0xFFFF0D44
Access: Write only
Function:
This 32-bit MMR allows user code to individually bit-address external GPIO pins to set them high only. User code can accomplish
this using the GP2SET MMR without having to modify or maintain the status of any other GPIO pins (as user code requires when
using GP2DAT).
Table 67. GP2SET MMR Bit Designations
Bit Description
31 to 23 Reserved. These bits are reserved and should be written as 0 by user code.
22 Port2.6 Set Bit.
Set to 1 by user code to set the external GPIO_13 pin high.
If user software clears this bit to 0, it has no effect on the external GPIO_13 pin.
21 Port2.5 Set Bit.
Set to 1 by user code to set the external GPIO_12 pin high.
If user software clears this bit to 0, it has no effect on the external GPIO_12 pin.
20 to 18 Reserved. These bits are reserved and should be written as 0 by user code.
17 Port2.1 Set Bit.
Set to 1 by user code to set the external GPIO_8 pin high.
If user software clears this bit to 0, it has no effect on the external GPIO_8 pin.
16 Port2.0 Set Bit.
Set to 1 by user code to set the external GPIO_7 pin high.
If user software clears this bit to 0, it has no effect on the external GPIO_7 pin.
15 to 0 Reserved. These bits are reserved and should be written as 0 by user code.
GPIO Port0 Clear Register
Name: GP0CLR
Address: 0xFFFF0D28
Access: Write only
Function:
This 32-bit MMR allows user code to individually bit-address external GPIO pins to clear them low only. User code can accomplish
this using the GP0CLR MMR without having to modify or maintain the status of any other GPIO pins (as user code requires when
using GP0DAT).
Table 68. GP0CLR MMR Bit Designations
Bit Description
31 to 21 Reserved. These bits are reserved and should be written as 0 by user code.
20 Port0.4 Clear Bit.
Set to 1 by user code to clear the external GPIO_4 pin low.
If user software clears this bit to 0, it has no effect on the external GPIO_4 pin.
19 Port0.3 Clear Bit.
Set to 1 by user code to clear the external GPIO_3 pin low.
If user software clears this bit to 0, it has no effect on the external GPIO_3 pin.
18 Port0.2 Clear Bit.
Set to 1 by user code to clear the external GPIO_2 pin low.
If user software clears this bit to 0, it has no effect on the external GPIO_2 pin.
17 Port0.1 Clear Bit.
Set to 1 by user code to clear the external GPIO_1 pin low.
If user software clears this bit to 0, it has no effect on the external GPIO_1 pin.
16 Port0.0 Clear Bit.
Set to 1 by user code to clear the external GPIO_0 pin low.
If user software clears this bit to 0, it has no effect on the external GPIO_0 pin.
15 to 0 Reserved. These bits are reserved and should be written as 0 by user code.