2 tim channel i/o pins (pte1/tch0:pte2/tch1), 9 i/o registers, 1 tim status and control register (tsc) – Freescale Semiconductor MC68HC08KH12 User Manual

Page 173: Tim channel i/o pins (pte1/tch0:pte2/tch1), I/o registers, Tim status and control register (tsc), Value is 000, See 11.9.1 tim status and control register (tsc), Ps[2:0

Advertising
background image

MC68HC(7)08KH12

Rev. 1.1

Advance Information

Freescale Semiconductor

173

minimum TCLK pulse width, TCLK

LMIN

or TCLK

HMIN

, is:

The maximum TCLK frequency is:

PTE0/TCLK is available as a general-purpose I/O pin when not used as
the TIM clock input. When the PTE0/TCLK pin is the TIM clock input, it
is an input regardless of the state of the DDRE0 bit in data direction
register E.

11.8.2 TIM Channel I/O Pins (PTE1/TCH0:PTE2/TCH1)

Each channel I/O pin is programmable independently as an input
capture pin or an output compare pin. PTE1/TCH0 can be configured as
buffered output compare or buffered PWM pins.

11.9 I/O Registers

The following I/O registers control and monitor operation of the TIM:

TIM status and control register (TSC)

TIM control registers (TCNTH:TCNTL)

TIM counter modulo registers (TMODH:TMODL)

TIM channel status and control registers (TSC0 and TSC1)

TIM channel registers (TCH0H:TCH0L and TCH1H:TCH1L)

11.9.1 TIM Status and Control Register (TSC)

The TIM status and control register does the following:

Enables TIM overflow interrupts

Flags TIM overflows

Stops the TIM counter

1

bus frequency

-------------------------------------

t

SU

+

bus frequency

2

-------------------------------------

Advertising