Rapid GPIO (RGPIO)
10-6
Freescale Semiconductor
MCF51CN128 Reference Manual, Rev. 6
Figure 10-3. RGPIO Data Register (RGPIO_DATA)
10.3.3
RGPIO Pin Enable (RGPIO_ENB)
The RGPIO_ENB register configures the corresponding package pin as a RGPIO pin instead of the normal
GPIO pin mapped onto the peripheral bus.
The RGPIO_ENB register is read/write. At reset, all bits in the RGPIO_ENB are cleared, disabling the
RGPIO functionality.
Figure 10-4. RGPIO Enable Register (RGPIO_ENB)
10.3.4
RGPIO Clear Data (RGPIO_CLR)
The RGPIO_CLR register provides a mechanism to clear specific bits in the RGPIO_DATA by performing
a simple write. Clearing a bit in RGPIO_CLR clears the corresponding bit in the RGPIO_DATA register.
Offset: RGPI 0x2 (RGPIO_DATA)
RGPI 0x6
RGPI 0xA
RGPI 0xE
Access: Read/write
Read/Indirect Write
Read/Indirect Write
Read/Indirect Write
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
DATA
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 10-6. RGPIO_DATA Field Descriptions
Field
Description
15–0
DATA
RGPIO data.
0 A properly-enabled RGPIO output pin is driven with a logic 0, or a properly-enabled RGPIO input pin was read as
a logic 0
1 A properly-enabled RGPIO output pin is driven with a logic 1, or a properly-enabled RGPIO input pin was read as
a logic 1
Offset: RGPI 0x4 (RGPIO_ENB)
Access: Read/write
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
R
ENB
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 10-7. RGPIO_ENB Field Descriptions
Field
Description
15–0
ENB
Enable pin for RGPIO
0 The corresponding package pin is configured for use as a normal GPIO pin, not a RGPIO
1 The corresponding package pin is configured for use as a RGPIO pin