參數(shù)資料
型號: MC68HC05PL4P
廠商: MOTOROLA INC
元件分類: 微控制器/微處理器
英文描述: 8-BIT, MROM, 2.56 MHz, MICROCONTROLLER, PDIP28
封裝: PLASTIC, DIP-28
文件頁數(shù): 61/98頁
文件大小: 1019K
代理商: MC68HC05PL4P
GENERAL RELEASE SPECIFICATION
April 30, 1998
MOTOROLA
8-BIT TIMER
MC68HC05PL4
10-2
REV 2.0
The counter continues to count after it reaches zero, allowing the software to
determine the number of internal or external clocks since the timer interrupt
request bit (T8IF) was set. The counter may be read at any time by the processor
without disturbing the count. The contents of the counter become stable prior to
the read portion of a cycle and do not change during the read. The timer interrupt
request bit (T8IF) remains set until cleared by writing a “1” to the T8IFR bit in the
T8CR. If writing to the timer 8 counter register (T8CNTR) occurs before the timer
interrupt is served, the interrupt is lost. The T8IF bit may also be used as a
scanned status bit in a non-interrupt mode of operation.
The 3-bit control prescaler is a 7-bit divider which is used to extend the maximum
length of the timer. Bit 0, bit 1 and bit 2 (PS0, PS1 and PS2) of T8CR are pro-
grammed to choose the appropriate prescaler output which is used as the counter
input.
10.2
TIMER8 CONTROL AND STATUS REGISTER (T8CSR)
The T8CSR at address $000D enables the software to control the operation of the
8-bit timer.
T8IF - Timer8 Interrupt Flag
T8IF is set when Timer8 Counter Register counts down to zero. A CPU interrupt
request will be generated if T8IE is set. Writing a "1" to the T8IFR bit clears the
T8IF bit. Writing a "0" to this bit has no effect. Reset clears T8IF.
1 =
Timer8 has count down to zero
0 =
Timer8 has not count down to zero
T8IFR - Timer8 Interrupt Flag Reset
The T8IFR bit is a write-only bit, which clears the T8IF ag by writing “1” to this bit
when the T8IF bit is set. Writing a "0" has no effect. Reset does not affect this bit
1 =
Clear T8IF ag bit
0 =
No effect on T8IF ag bit
T8IE - Interval Timer Interrupt Enable
When this bit is set, a CPU interrupt request is generated when the T8IF bit is set.
Reset clears this bit.
1 =
8-Bit Timer Interrupt enabled
0 =
8-Bit Timer Interrupt disabled
BIT 7
BIT 6
BIT 5
BIT 4
BIT 3
BIT 2
BIT 1
BIT 0
T8CSR
R
T8IF
0
T8IE
0
T8EN
PS2
PS1
PS0
$000D
W
T8IFR
reset:
00000100
Figure 10-2. Timer8 Control and Status Register
相關(guān)PDF資料
PDF描述
MC68HC705PL4CP 8-BIT, OTPROM, 2.56 MHz, MICROCONTROLLER, PDIP28
MC68HC05PV8YDWE 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PDSO28
MC68HC05PV8AYDW 8-BIT, MROM, 4.2 MHz, MICROCONTROLLER, PDSO28
MC68HC05RC16P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
MC68HC05RC16P 8-BIT, MROM, 2.1 MHz, MICROCONTROLLER, PDIP28
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC05PV8 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05PV8A 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:Techinal Data - rev 1.9
MC68HC05RC16 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05RC16DW 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification
MC68HC05RC16FN 制造商:FREESCALE 制造商全稱:Freescale Semiconductor, Inc 功能描述:General Release Specification