English
Language : 

MC68HC08XL36 Datasheet, PDF (276/362 Pages) Freescale Semiconductor, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
Input/Output Ports
Port B
Port B Data
Register
Data Direction
Register B
Port B is an 8-bit, general-purpose bidirectional I/O port.
PORTB contains the data latches for the eight port B pins.
Address: $0001
Bit 7
6
5
4
3
2
1
Bit 0
Read:
PB7
PB6
PB5
PB4
PB3
PB2
PB1
PB0
Write:
Reset:
Unaffected by Reset
Figure 5. Port B Data Register (PORTB)
PB7–PB0 — Port B Data Bits
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.
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.
Address: $0005
Bit 7
6
5
4
3
2
1
Read:
DDRB7 DDRB6 DDRB5 DDRB4 DDRB3 DDRB2 DDRB1
Write:
Reset: 0
0
0
0
0
0
0
Figure 6. Data Direction Register B (DDRB)
Bit 0
DDRB0
0
MC68HC08XL36
276
Input/Output Ports
For More Information On This Product,
Go to: www.freescale.com
6-ports_a
MOTOROLA