PTE[4:0] — Port E Data Bits

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.

TCH1-TCH0 — Timer Channel I/O Bits

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. See Section 11. Timer Interface Module (TIM).

NOTE: 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 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. See Section 11. Timer Interface Module (TIM).

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. (See 15.5.3.2 Port-E Keyboard Interrupt Enable Register.)

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. See Section 15. Keyboard Interrupt Module

(KBI).

12.7.2 Data Direction Register E (DDRE)

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.

Advance Information

MC68HC(7)08KH12 Rev. 1.1

 

 

196

Freescale Semiconductor

Page 196
Image 196
Freescale Semiconductor MC68HC08KH12 manual Kbi, 196

MC68HC08KH12 specifications

The Freescale Semiconductor MC68HC08KH12 is a versatile microcontroller that has gained popularity in various embedded systems applications. Part of the HC08 family, this microcontroller combines a robust architecture with comprehensive on-chip features, making it suitable for a wide range of applications ranging from industrial control to consumer electronics.

One of the main features of the MC68HC08KH12 is its 8-bit architecture, which provides an optimal balance between performance and power efficiency. It operates at clock speeds of up to 2 MHz, allowing for efficient execution of instructions while maintaining low power consumption. The microcontroller is designed to operate over a voltage range of 2.7 to 5.5 volts, making it adaptable to various system requirements.

The MC68HC08KH12 is equipped with 1 Kbyte of RAM and 12 Kbytes of ROM, which allows for substantial program and data storage. The on-chip memory helps reduce the need for external components, simplifying the design of embedded systems and enhancing reliability. With a wide range of I/O options, including 26 general-purpose I/O pins, the microcontroller provides flexibility in interfacing with sensors, actuators, and other devices.

In terms of technologies, the MC68HC08KH12 features an advanced instruction set that enhances programming efficiency. It supports basic arithmetic operations, bit manipulation, and control transfer instructions, making it suitable for a variety of computational tasks. The integrated timers, analog-to-digital converters, and serial communication interfaces, including UART, provide the necessary tools for real-time control and data exchange with peripheral devices.

Another characteristic of the MC68HC08KH12 is its low power mode capabilities, which allow it to enter a sleep state during periods of inactivity. This feature is essential in battery-powered applications, where minimizing power consumption is crucial for extending operational life.

Overall, the Freescale Semiconductor MC68HC08KH12 stands out as a reliable microcontroller that combines performance, flexibility, and power efficiency. Its extensive features and technologies enable engineers to design robust embedded systems that meet the demands of modern applications. As a result, the MC68HC08KH12 remains a valuable choice for developers seeking a highly functional yet cost-effective microcontroller solution.