mc68hc05j5ap Freescale Semiconductor, Inc, mc68hc05j5ap Datasheet - Page 66

no-image

mc68hc05j5ap

Manufacturer Part Number
mc68hc05j5ap
Description
General Description The Mc68hc05j5a Is A Member Of The Low-cost High-performance M68hc05 Family Of 8-bit Microcontroller Units Mcus . The M68hc05 Family Is Based On The Customer-speci Ed Integrated Circuit Design Strategy. All Mcus In The Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet
GENERAL RELEASE SPECIFICATION
9.4
9-8
Reading the ICH inhibits further captures until the ICL is also read. Reading the
ICL after reading the timer status register (T1SR) clears the ICF flag bit. does not
inhibit transfer of the free-running counter. There is no conflict between reading
the ICL and transfers from the free-running timer counters. The input capture reg-
isters always contain the free-running timer counter value which corresponds to
the most recent input capture.
To prevent interrupts from occurring between readings of the ICH and ICL, set the
I bit in the condition code register (CCR) before reading ICH and clear the I bit
after reading ICL.
TIMER1 CONTROL REGISTER (T1CR)
The timer control register is shown in Figure 9-11 performs the following func-
tions:
Reset clears all the bits in the T1CR with the exception of the IEDG bit which is
unaffected.
ICIE - INPUT CAPTURE INTERRUPT ENABLE
T1OIE - TIMER OVERFLOW INTERRUPT ENABLE
T1CR
$0012
U = UNAFFECTED BY RESET
This read/write bit enables interrupts caused by an active signal on the PB0/
TCAP pin. Reset clears the ICIE bit.
This read/write bit enables interrupts caused by a timer1 overflow. Reset clears
the T1OIE bit.
reset:
1 = Input capture interrupts enabled.
0 = Input capture interrupts disabled.
1 = Timer1 overflow interrupts enabled.
0 = Timer1 overflow interrupts disabled.
Enables input capture interrupts
Enables output compare interrupts
Enables timer overflow interrupts
Control the active edge polarity of the TCAP signal on pin PB0/TCAP
W
R
BIT 7
ICIE
0
Freescale Semiconductor, Inc.
Figure 9-11. Timer Control Register (T1CR)
For More Information On This Product,
BIT 6
0
0
Go to: www.freescale.com
T1OIE
BIT 5
16-BIT TIMER
July 16, 1999
0
NOTE
BIT 4
0
0
BIT 3
0
0
BIT 2
0
0
IEDG
BIT 1
U
MC68HC05J5A
REV 2.1
BIT 0
0
0

Related parts for mc68hc05j5ap