mcf51ac256a Freescale Semiconductor, Inc, mcf51ac256a Datasheet - Page 402

no-image

mcf51ac256a

Manufacturer Part Number
mcf51ac256a
Description
Mcf51ac Flexis
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFGE
Manufacturer:
FREESCALE
Quantity:
2 400
Part Number:
mcf51ac256aCFUE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCLKE
Manufacturer:
FREESCALE
Quantity:
1 500
Part Number:
mcf51ac256aCLKE
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mcf51ac256aCPUE
Manufacturer:
MURATA
Quantity:
1 000
Rapid GPIO (RGPIO)
17.3
The RGPIO module provides a compact 16-byte programming model based at a system memory address
of 0x(00)C0_0000 (noted as RGPIO_BASE throughout the chapter). As previously noted, the
programming model views are different between reads and writes as this enables simplified software for
manipulation of the RGPIO pins. Additionally, the programming model can be referenced using any
operand size access (byte, word, longword). Performance is typically maximized using 32-bit accesses.
17.3.1
The read/write RGPIO_DIR register defines whether a properly-enabled RGPIO pin is configured as an
input or output:
17-4
Address
Address
Offset
Offset
0x0C
0x0A
0x0E
0x0A
0x0E
0x00
0x02
0x04
0x06
0x00
0x02
0x04
0x06
0x08
Setting any bit in RGPIO_DIR configures a properly-enabled RGPIO port pin as an output
Clearing any bit in RGPIO_DIR configures a properly-enabled RGPIO port pin as an input
Memory Map/Register Definition
RGPIO Data Direction (RGPIO_DIR)
Writes to the two-byte fields at RGPIO_BASE + 0x8 and
RGPIO_BASE + 0xC are allowed, but do not affect any program-visible
register within the RGPIO module.
RGPIO Data Direction Register (RGPIO_DIR)
RGPIO Write Data Register (RGPIO_DATA)
RGPIO Pin Enable Register (RGPIO_ENB)
RGPIO Write Data Clear Register (RGPIO_CLR)
RGPIO Write Data Set Register (RGPIO_SET)
RGPIO Write Data Toggle Register (RGPIO_TOG)
RGPIO data direction register (RGPIO_DIR)
RGPIO write data register (RGPIO_DATA)
RGPIO pin enable register (RGPIO_ENB)
RGPIO write data register (RGPIO_DATA)
RGPIO data direction register (RGPIO_DIR)
RGPIO write data register (RGPIO_DATA)
RGPIO data direction register (RGPIO_DIR)
RGPIO write data register (RGPIO_DATA)
MCF51AC256 ColdFire Integrated Microcontroller Reference Manual, Rev. 5
Table 17-3. RGPIO Write Memory Map
Table 17-4. RGPIO Read Memory Map
Register
Register
NOTE
Width
Width
(bits)
(bits)
16
16
16
16
16
16
16
16
16
16
16
16
16
16
Access Reset Value
Access Reset Value
W
W
W
W
W
W
R
R
R
R
R
R
R
R
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
0x0000
N/A
N/A
N/A
Freescale Semiconductor
Section/Page
Section/Page
17.3.1/17-4
17.3.2/17-5
17.3.3/17-6
17.3.4/17-6
17.3.5/17-7
17.3.6/17-7
17.3.1/17-4
17.3.2/17-5
17.3.3/17-6
17.3.2/17-5
17.3.1/17-4
17.3.2/17-5
17.3.1/17-4
17.3.2/17-5

Related parts for mcf51ac256a