參數(shù)資料
型號(hào): MC68HC11KW1
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: High-density complementary metal oxide semiconductor HCMOS) microcontroller unit
中文描述: 8-BIT, EEPROM, 4 MHz, MICROCONTROLLER, PQFP100
封裝: TQFP-100
文件頁數(shù): 170/238頁
文件大?。?/td> 798K
代理商: MC68HC11KW1
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁當(dāng)前第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁
MOTOROLA
9-18
MC68HC11KW1
TIMING SYSTEM
9
9.2.1
Output compare
There are three dedicated output compare registers associated with Timer 2 (T20C[3:1]). In
addition, a fourth register (T2C4) is used either for a fourth output compare function or for an input
capture function, depending on the state of the I1/O4 bit in the TCTL4 register.
The output compare function operates in a similar fashion to that on Timer 1; a value written to an
output compare register is compared to the free running counter value during each clock cycle. If
a match is found, the appropriate output compare flag is set in the interrupt flag register (T2FLG).
An interrupt is then generated if that particular interrupt is enabled in the interrupt mask register
(T2MSK). Unlike Timer 1, which has separate interrupt requests for each interrupt, Timer 2 output
compare interrupts 1,2 and 3 are associated with a single interrupt sequence. This means that flag
polling is required if more than one interrupt is enabled. Refer to Figure 9-3.
In addition to an interrupt, a successful output compare can trigger a specified action at the
associated output port pins PJ [7:4]. The type of action taken is defined by bits in timer control
register TCTL3. This action may be forced by setting the appropriate bit in the F23FRC register
(see Section 9.2.3).
9.2.2
Input capture
When configured as an input capture register, the 16-bit T2C4 register is used to latch the value
of the counter when a selected transition at pin PJ7 is detected. The type of transition which
triggers the capture is defined by the EDGA and EDGB bits in the TCTL4 register.
9.2.3
F23FRC — Compare force register for Timers 2 and 3.
The F23FRC register allows forced early compares for Timers 2 and 3. Bits [7:4] correspond to
the four output compares of Timer 3, and bits [3:0] correspond to those of Timer 2. These bits are
set for each output compare that is to be forced. The action taken as a result of a forced compare
is the same as if there were a match between the OCx register and the free-running counter,
except that the corresponding interrupt status flag bits are not set. The forced channels trigger
their programmed pin actions to occur at the next timer count transition after the write to F23FRC.
The F23FRC bits should not normally be used on an output compare function that is programmed
to toggle its output on a successful compare, because a normal compare occurring immediately
before or after the force would produce a double toggle. This may be undesirable if it happens
quickly, since the resulting output pulse would be very short.
Address
bit 7
bit 6
bit 5
bit 4
bit 3
bit 2
bit 1
bit 0
State
on reset
Compare force for Timers 2 and 3 (F23FRC)
$0031 FT3C1 FT3C2 FT3C3 FT3C4 FT2C1 FT2C3 FT2C3 FT2C4 0000 0000
TPG
168
相關(guān)PDF資料
PDF描述
MC68HC11L6CFN HCMOS MICROCONTROLLER UNIT
MC68HC11L6FS HCMOS MICROCONTROLLER UNIT
MC68HC11L6FU HCMOS MICROCONTROLLER UNIT
MC68HC11L6L HCMOS MICROCONTROLLER UNIT
MC68HC11L6MFB HCMOS MICROCONTROLLER UNIT
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC11L0 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:CONFIG Register Programming for EEPROM-based M68HC11 Microcontrollers
MC68HC11L0CFN2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC11L0CFN3 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC11L0CFU2 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT
MC68HC11L0CFU3 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS MICROCONTROLLER UNIT