mc9rs08ka2 Freescale Semiconductor, Inc, mc9rs08ka2 Datasheet - Page 45

no-image

mc9rs08ka2

Manufacturer Part Number
mc9rs08ka2
Description
Rs08 Microcontrollers 8-bit Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9rs08ka2CDB
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9rs08ka2CDB
Quantity:
4 900
Part Number:
mc9rs08ka2CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9rs08ka2CSC
Manufacturer:
FREESCAE
Quantity:
20 000
Chapter 6
Parallel Input/Output Control
This section explains software controls related to parallel input/output (I/O) and pin control. The
MC9RS08KA2 Series has one parallel I/O port, which includes two I/O pins in the 6-pin package or four
I/O pins in the 8-pin packages, one output-only pin, and one input-only pin. See
Connections,” for more information about pin assignments and external hardware considerations for these
pins.
All of these I/O pins are shared with on-chip peripheral functions as shown in
modules have priority over the I/Os so that when a peripheral is enabled, the I/O functions associated with
the shared pins are disabled. After reset, the shared peripheral functions are disabled so that the pins are
controlled by the I/O. All of the I/Os are configured as inputs (PTADDn = 0) with pullup/pulldown devices
disabled (PTAPEn = 0), except for output-only pin PTA3, which defaults to the BKGD/MS function.
Reading and writing of parallel I/Os is performed through the port data registers. The direction, either input
or output, is controlled through the port data direction registers. The parallel I/O port function for an
individual pin is illustrated in the block diagram shown in
The data direction control bit (PTADDn) determines whether the output buffer for the associated pin is
enabled, and also controls the source for port data register reads. The input buffer for the associated pin is
always enabled unless the pin is enabled as an analog function or is an output-only pin.
Freescale Semiconductor
Port Read
BUSCLK
Data
Figure 6-1. Parallel I/O Block Diagram
MC9RS08KA2 Series Data Sheet, Rev. 3
PTADDn
D
D
PTADn
Q
Q
1
0
Figure
6-1.
Synchronizer
Table
Chapter 2, “Pins and
Output Enable
Output Data
2-1. The peripheral
Input Data
45

Related parts for mc9rs08ka2