English
Language : 

MC68HC05J3 Datasheet, PDF (33/92 Pages) Motorola, Inc – High-density Complementary Metal Oxide Semiconductor (HCMOS) Microcomputer Unit
KIE — Keyboard interrupt enable
1 (set) – Keyboard interrupt enabled on port B.
0 (clear) – Keyboard interrupt disabled.
TCAP — Timer input capture function
1 (set) – PB5 acts as the TCAP input to the 16-bit timer. The pin is forced to
an input state regardless of the data direction bit.
0 (clear) – PB5 functions as a normal I/O pin.
4
TCMP — Timer output compare function
1 (set) – PB4 acts as the TCMP output for the 16-bit timer. The pin is forced to
an output state regardless of the data direction bit.
0 (clear) – PB4 functions as a normal I/O pin.
Bits 3–0 are not implemented on the configuration register and always read zero. Writing to these
bits has no meaning or effect.
4.4.4 Data direction register A (DDRA)
Port A data direction (DDRA)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0004
0000 0000
Writing a ‘1’ to any bit configures the corresponding port pin as an output; conversely, writing any
bit to ‘0’ configures the corresponding port pin as an input.
Reset clears these registers, thus configuring all pins as inputs.
4.4.5 Data direction register B (DDRB)
Port B data direction (DDRB)
Address bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
$0005 0
0
0000 0000
Writing a ‘1’ to any bit configures the corresponding port pin as an output; conversely, writing any
bit to ‘0’ configures the corresponding port pin as an input.
Reset clears these registers, thus configuring all pins as inputs.
MC68HC05J3
INPUT/OUTPUT PORTS
TPG
MOTOROLA
4-5