English
Language : 

MC68HC912BL16 Datasheet, PDF (33/128 Pages) Freescale Semiconductor, Inc – 16-Bit Microcontroller
Freescale Semiconductor, Inc.
PORTA — Port A Register
Bit 7
6
5
4
3
2
1
Bit 0
Single
Chip
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
RESET:
–
–
–
–
–
–
–
–
Exp Wide ADDR15 ADDR14 ADDR13 ADDR12 ADDR11 ADDR10 ADDR9 ADDR8
& Periph: DATA15 DATA14 DATA13 DATA12 DATA11 DATA10 DATA9 DATA8
Expanded ADDR15 ADDR14 ADDR13 ADDR12 ADDR11 ADDR10 ADDR9 ADDR8
Narrow DATA15/7 DATA14/6 DATA13/5 DATA12/4 DATA11/3 DATA10/2 DATA9/1 DATA8/0
$0000
Bits PA[7:0] are associated with addresses ADDR[15:8] and DATA[15:8]. When this port is not used for
external addresses and data, such as in single-chip mode, these pins can be used as general-purpose
I/O. DDRA determines the primary direction of each pin. This register is not in the on-chip map in ex-
panded and peripheral modes. Read and write anytime.
DDRA — Port A Data Direction Register
$0002
Bit 7
6
5
4
3
2
1
Bit 0
DDA7 DDA6 DDA5 DDA4 DDA3 DDA2 DDA1 DDA0
RESET:
0
0
0
0
0
0
0
0
This register determines the primary direction for each port A pin when functioning as a general-purpose
I/O port. DDRA is not in the on-chip map in expanded and peripheral modes. Read and write anytime.
0 = Associated pin is a high-impedance input
1 = Associated pin is an output
PORTB — Port B Register
$0001
Bit 7
6
5
4
3
2
1
Bit 0
Single Chip PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
RESET:
–
–
–
–
–
–
–
–
Exp Wide ADDR7 ADDR6 ADDR5 ADDR4 ADDR3 ADDR2 ADDR1 ADDR0
& Periph: DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0
Expanded
Narrow
ADDR7
ADDR6
ADDR5
ADDR4
ADDR3
ADDR2
ADDR1
ADDR0
Bits PB[7:0] are associated with addresses ADDR[7:0] and DATA[7:0]. When this port is not used for
external addresses and data such as in single-chip mode, these pins can be used as general-purpose
I/O. DDRB determines the primary direction of each pin. This register is not in the on-chip map in ex-
panded and peripheral modes. Read and write anytime.
DDRB — Port B Data Direction Register
$0003
Bit 7
6
5
4
3
2
1
Bit 0
DDB7 DDB6 DDB5 DDB4 DDB3 DDB2 DDB1 DDB0
RESET:
0
0
0
0
0
0
0
0
This register determines the primary direction for each port B pin when functioning as a general-purpose
I/O port. DDRB is not in the on-chip map in expanded and peripheral modes. Read and write anytime.
0 = Associated pin is a high-impedance input
1 = Associated pin is an output
MC68HC912BL16TS/D
For More Information On This Product,
33
Go to: www.freescale.com