Chapter 9 Rapid GPIO (RGPIO)

Offset: RGPIO_Base + 0x6 (RGPIO_CLR)

15

14

13

12

11

10

9

8

7 6 5 4

Access: Write-only

3 2 1 0

R

W

Reset

CLR

— — — — — — — — — — — — — — — —

 

Figure 9-7. RGPIO Clear Data Register (RGPIO_CLR)

 

Table 9-8. RGPIO_CLR Field Descriptions

 

 

Field

Description

 

 

15–0

RGPIO clear data.

CLR

0 Clears the corresponding bit in the RGPIO_DATA register.

1No effect.

9.3.2.5RGPIO 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.

Offset: RGPIO_Base + 0xA (RGPIO_SET)

Access: Write-only

R

W

Reset

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SET

— — — — — — — — — — — — — — — —

 

Figure 9-8. RGPIO Set Data Register (RGPIO_SET)

 

Table 9-9. RGPIO_SET Field Descriptions

 

 

Field

Description

 

 

15–0

RGPIO set data.

SET

0 No effect.

1Sets the corresponding bit in the RGPIO_DATA register.

9.3.2.6RGPIO 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.

MCF51QE128 MCU Series Reference Manual, Rev. 3

202

Freescale Semiconductor

Get the latest version from freescale.com

Page 202
Image 202
Freescale Semiconductor MCF51QE128RM Rgpio Set Data Rgpioset, Rgpio Toggle Data Rgpiotog, Rgpioclr Field Descriptions