Rapid GPIO (RGPIO)
Freescale Semiconductor
10-7
MCF51CN128 Reference Manual, Rev. 6
Setting it has no effect. The RGPIO_CLR register is write-only; reads of this address return the
RGPIO_DATA register.
Figure 10-5. RGPIO Clear Data Register (RGPIO_CLR)
10.3.5
RGPIO Set Data (RGPIO_SET)
The RGPIO_SET register provides a mechanism to set specific bits in the RGPIO_DATA register by
performing a simple write. Setting a bit in RGPIO_SET asserts the corresponding bit in the RGPIO_DATA
register. Clearing it has no effect. The RGPIO_SET register is write-only; reads of this address return the
RGPIO_DATA register.
Figure 10-6. RGPIO Set Data Register (RGPIO_SET)
10.3.6
RGPIO Toggle Data (RGPIO_TOG)
The RGPIO_TOG register provides a mechanism to invert (toggle) specific bits in the RGPIO_DATA
register by performing a simple write. Setting a bit in RGPIO_TOG inverts the corresponding bit in the
RGPIO_DATA register. Clearing it has no effect. The RGPIO_TOG register is write-only; reads of this
address return the RGPIO_DATA register.
Offset: RGPI 0x6 (RGPIO_CLR)
Access: Write-only
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
W
CLR
Reset
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
Table 10-8. RGPIO_CLR Field Descriptions
Field
Description
15–0
CLR
Clear data bit
0 Clears the corresponding bit in the RGPIO_DATA register
1 No effect
Offset: RGPI 0xA (RGPIO_SET)
Access: Write-only
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
W
SET
Reset
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
—
Table 10-9. RGPIO_SET Field Descriptions
Field
Description
15–0
SET
Set data bit
0 No effect
1 Sets the corresponding bit in the RGPIO_DATA register