XC68HC08KH12 Motorola, XC68HC08KH12 Datasheet - Page 196

no-image

XC68HC08KH12

Manufacturer Part Number
XC68HC08KH12
Description
MICROCONTROLLER
Manufacturer
Motorola
Datasheet
I/O Ports
12.7.2 Data Direction Register E (DDRE)
Advance Information
196
NOTE:
PTE[4:0] — Port E Data Bits
TCH1-TCH0 — Timer Channel I/O Bits
Data direction register E (DDRE) does not affect the data direction of
port E pins that are being used by the TIM. However, the DDRE bits
always determine whether reading port E returns the states of the
latches or the states of the pins.
TCLK — Timer Clock Input
The PEPE[3:0] bits in the port E keyboard interrupt enable register
enable individual pull-ups on port E pins PTE3–PTE0 if the respective
pin is configured as an input.
Enable
The port-E keyboard interrupt enable bits, KBEIE3—KBEIE0, in the port-
E keyboard interrupt enable register (KBEIER), enable the port E pins as
external interrupt pins.
(KBI).
Data direction register E determines whether each port E pin is an input
or an output. Writing a logic one to a DDRE bit enables the output buffer
for the corresponding port E pin; a logic zero disables the output buffer.
PTE[4:0] are read/write, software-programmable bits. Data direction
of each port E pin is under the control of the corresponding bit in data
direction register E.
The PTE2/TCH1-PTE1/TCH0 pins are the TIM input capture/output
compare pins. The edge/level select bits, ELSxB and ELSxA,
determine whether the PTE2/TCH1–PTE1/TCH0 pins are timer
channel I/O pins or general-purpose I/O pins.
Interface Module
The PTE0/TCLK pin is the external clock input for the TIM. The
prescaler select bits, PS2-PS0, selects PE0/TCLK as the TIM clock
input. When not selected as the TIM clock, PE0/TCLK is available for
general purpose I/O.
Register.)
I/O Ports
(TIM).
See Section 15. Keyboard Interrupt Module
See Section 11. Timer Interface Module
(See 15.5.3.2 Port-E Keyboard Interrupt
MC68HC(7)08KH12
See Section 11. Timer
MOTOROLA
Rev. 1.0
(TIM).

Related parts for XC68HC08KH12