mc9s12c32mpb16 Freescale Semiconductor, Inc, mc9s12c32mpb16 Datasheet - Page 135

no-image

mc9s12c32mpb16

Manufacturer Part Number
mc9s12c32mpb16
Description
Hcs12 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Read: Anytime when register is in the map
Write: Anytime when register is in the map
Port A bits 7 through 0 are associated with address lines A15 through A8 respectively and data lines
D15/D7 through D8/D0 respectively. When this port is not used for external addresses such as in single-
chip mode, these pins can be used as general-purpose I/O. Data direction register A (DDRA) determines
the primary direction of each pin. DDRA also determines the source of data for a read of PORTA.
This register is not in the on-chip memory map in expanded and special peripheral modes. Therefore, these
accesses will be echoed externally.
4.3.2.2
Read: Anytime when register is in the map
Write: Anytime when register is in the map
Port B bits 7 through 0 are associated with address lines A7 through A0 respectively and data lines D7
through D0 respectively. When this port is not used for external addresses, such as in single-chip mode,
these pins can be used as general-purpose I/O. Data direction register B (DDRB) determines the primary
direction of each pin. DDRB also determines the source of data for a read of PORTB.
This register is not in the on-chip memory map in expanded and special peripheral modes. Therefore, these
accesses will be echoed externally.
Freescale Semiconductor
Module Base + 0x0001
Starting address location affected by INITRG register setting.
Emulation Narrow with
IVIS, and Peripheral
Expanded Narrow
Expanded Wide,
Single Chip
Port B Data Register (PORTB)
To ensure that you read the value present on the PORTA pins, always wait
at least one cycle after writing to the DDRA register before reading from the
PORTA register.
To ensure that you read the value present on the PORTB pins, always wait
at least one cycle after writing to the DDRB register before reading from the
PORTB register.
Reset
W
R
AB/DB7
Bit 7
PB7
AB7
0
7
Figure 4-3. Port A Data Register (PORTB)
AB/DB6
PB6
AB6
MC9S12C-Family / MC9S12GC-Family
6
0
6
AB/DB5
PB5
AB5
5
0
5
Rev 01.23
NOTE
NOTE
AB/DB4
PB4
AB4
4
4
0
Chapter 4 Multiplexed External Bus Interface (MEBIV3)
AB/DB3
PB3
AB3
3
0
3
AB/DB2
PB2
AB2
2
0
2
AB/DB1
PB1
AB1
1
0
1
AB/DB0
Bit 0
PB0
AB0
0
0
135

Related parts for mc9s12c32mpb16