MC68HC708XL36 FREESCALE [Freescale Semiconductor, Inc], MC68HC708XL36 Datasheet - Page 288

no-image

MC68HC708XL36

Manufacturer Part Number
MC68HC708XL36
Description
HCMOS Microcontroller Unit
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
I/O Ports
Port B
Port B Data
Register
Data Direction
Register B
MC68HC708XL36
288
Address: $0001
Address: $0005
Port B is an 8-bit, general-purpose bidirectional I/O port.
PORTB contains the data latches for the eight port B pins.
PB[7:0] — Port B Data Bits
Data direction register B determines whether each port B pin is an input
or an output. Writing a logic 1 to a DDRB bit enables the output buffer for
the corresponding port B pin; a logic 0 disables the output buffer.
Reset:
Reset:
Read:
Write:
Read:
Write:
These read/write bits are software-programmable. Data direction of
each port B pin is under the control of the corresponding bit in data
direction register B. Reset has no effect on port B data.
Freescale Semiconductor, Inc.
For More Information On This Product,
DDRB7
Bit 7
Bit 7
PB7
0
Figure 6. Data Direction Register B (DDRB)
Go to: www.freescale.com
Figure 5. Port B Data Register (PORTB)
DDRB6
PB6
6
6
0
I/O Ports
DDRB5
PB5
5
5
0
Unaffected by Reset
DDRB4
PB4
4
4
0
DDRB3
PB3
3
3
0
DDRB2
PB2
2
2
0
DDRB1
PB1
1
1
0
MOTOROLA
DDRB0
6-ports_a
Bit 0
Bit 0
PB0
0

Related parts for MC68HC708XL36