參數(shù)資料
型號: MC68HC05X4CDWR2
廠商: FREESCALE SEMICONDUCTOR INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.2 MHz, MICROCONTROLLER, PDSO28
封裝: PLASTIC, SOIC-28
文件頁數(shù): 20/168頁
文件大?。?/td> 656K
代理商: MC68HC05X4CDWR2
16-Bit Programmable Timer
MC68HC05X4 Rev 1.0
116
16-Bit Programmable Timer
MOTOROLA
Timer status
register (TSR)
The timer status register ($13) contains the status bits for the interrupt
conditions ICF, OCF, and TOF.
Accessing the timer status register satisfies the first condition required
to clear the status bits. The remaining step is to access the register
corresponding to the status bit.
ICF — Input capture flag
1 = A valid input capture has occurred.
0 = No input capture has occurred.
This bit is set when the selected polarity of edge is detected by the input
capture edge detector; an input capture interrupt will be generated, if
ICIE is set. ICF is cleared by reading the TSR and then the input capture
low register ($15).
OCF — Output compare flag
1 = A valid output compare has occurred.
0 = No output compare has occurred.
This bit is set when the output compare register contents match those of
the free-running counter; an output compare interrupt will be generated,
if OCIE is set. OCF is cleared by reading the TSR and then the output
compare low register ($17).
TOF — Timer overflow flag
1 = Timer overflow has occurred.
0 = No timer overflow has occurred.
This bit is set when the free-running counter overflows from $FFFF to
$0000; a timer overflow interrupt will occur, if TOIE is set. TOF is cleared
by reading the TSR and the counter low register ($19).
Address:
$0013
Bit 7
654321
Bit 0
ICF
OCF
TOF
0
Reset:
uuu00000
Figure 7. Timer Status Register (TSR)
8-ptimer
相關(guān)PDF資料
PDF描述
MC68HC708KH12FU 8-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP64
MC68HC708LN56PV 8-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP144
MC68HC08LN56PV 8-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP144
MC68HC711E20CFNE 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PQCC52
MC68HC711EA9CFN2 8-BIT, OTPROM, 2 MHz, MICROCONTROLLER, PQCC52
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05X4DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:HCMOS Microcontroller Unit
MC68HC08AB16A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AB16AD 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Microcontrollers
MC68HC08AZ0 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information
MC68HC08AZ0CFU 制造商:MOTOROLA 制造商全稱:Motorola, Inc 功能描述:Advance Information