參數(shù)資料
型號: HC05PL4GRS
英文描述: 68HC05PL4A. 68HC05PL4B. 68HC705PL4B General Release Specification
中文描述: 68HC05PL4A。 68HC05PL4B。 68HC705PL4B一般版本規(guī)范
文件頁數(shù): 58/98頁
文件大?。?/td> 1004K
代理商: HC05PL4GRS
GENERAL RELEASE SPECIFICATION
April 30, 1998
MOTOROLA
9-8
16-BIT PROGRAMMABLE TIMER
For More Information On This Product,
Go to: www.freescale.com
MC68HC05PL4
REV 2.0
3.
4.
Read the TSR to arm the OCF for clearing.
Enable the output compare registers by writing to the OCRL. This also
clears the OCF flag bit in the TSR.
Enable interrupts by clearing the I bit in the condition code register.
A software example of this procedure is shown in
Table 9-1
.
5.
9.5
TIMER CONTROL REGISTER (TCR)
The timer control register shown in
Figure 9-10
performs the following functions:
Enables input capture interrupts.
Enables output compare interrupts.
Enables timer overflow interrupts.
Configure the I/O Port Pin PA2 as input pin for TCAP signal
Configure the I/O Port Pin PA3 as output pin for TCMP signal
Control the active edge polarity of the TCAP signal.
Controls the active level of the TCMP output.
Reset clears all the bits in the TCR with the exception of the IEDG bit which is
unaffected.
ICIE - INPUT CAPTURE INTERRUPT ENABLE
This read/write bit enables interrupts caused by an active signal on the PB1/
TCAP pin or from CPF2 flag bit of the analog subsystem voltage comparator 2.
Reset clears the ICIE bit.
1 =
Input capture interrupts enabled.
0 =
Input capture interrupts disabled.
Table 9-1. Output Compare Initialization Example
9B
...
...
B7
B6
BF
...
...
9A
16
13
17
SEI
...
...
STA
LDA
STX
...
...
CLI
OCRH
TSR
OCRL
DISABLE INTERRUPTS
.....
.....
INHIBIT OUTPUT COMPARE
ARM OCF FLAG FOR CLEARING
READY FOR NEXT COMPARE, OCF CLEARED
.....
.....
ENABLE INTERRUPTS
BIT 7
BIT 6
BIT 5
BIT 4
0
BIT 3
0
BIT 2
0
BIT 1
BIT 0
TCR
$0012
R
W
ICIE
OCIE
TOIE
IEDG
OLVL
reset:
0
0
0
0
0
0
U
0
Figure 9-10. Timer Control Register (TCR)
F
Freescale Semiconductor, Inc.
n
.
相關(guān)PDF資料
PDF描述
HC05V7GRS 68HC05V7 General Release Specification
HC05 Bipolar Transistor; Transistor Polarity:Dual P Channel; Power Dissipation:20W; DC Current Gain Min (hfe):25; Collector Current:1A; DC Current Gain Max (hfe):200; Power (Ptot):20W
HC1-5502A-7 Subscriber Line Interface Circuit
HC4P-5502A-7 Subscriber Line Interface Circuit
HC1062A Low Voltage Telephone Speech Transmission Circuit / High/Low Level Mute
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
HC05V7GRS 制造商:未知廠家 制造商全稱:未知廠家 功能描述:68HC05V7 General Release Specification
HC060WE1DS038B 制造商:TE Connectivity 功能描述:EC7174-000
HC060YW1DS038B 制造商:TE Connectivity 功能描述:EC7207-000
HC06B05000J0G 制造商:FCI 功能描述:OEM ITEM 505-5BNF-SPRING CLAMP SYSTEM
HC08 制造商:Texas Instruments 功能描述: