參數(shù)資料
型號(hào): M34518M2-XXXFP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數(shù): 31/157頁
文件大?。?/td> 1783K
代理商: M34518M2-XXXFP
ML610Q411/ML610Q412/ML610Q415 User’s Manual
Chapter 9
1 kHz Timer (1kHzTM)
9 – 5
9.3
Description of Operation
By setting the T1KRUN bit of the 1kHz timer control register (T1KCON) to “1”, the 1kHz timer starts counting of the
1kHz timer counter registers L or H (T1KCRL, T1KCRH).
By dividing the T2KHz signal frequency (2.048kHz) of the low-speed timer base counter (LTBC) by the binary/ternary
counter, the timer generates a 1kHz signal. Based on the 1kHz signal, a 1kHz timer interrupt request signal (T1KINT)
is generated by the decimal counters of T1KCRL and T1KCRH. The period of the 1kHz timer interrupt can be selected
between the 10Hz interrupt or 1Hz interrupt using the T1KSEL bit of T1KCON.
When write operation is performed for T1KCRL or T1KCRH, the value of the binary/ternary counter and the value of
T1KCRL or T1KCRH is cleared to “0”.
Data can be read from T1KCRL and T1KCRH. When reading data from T1KCRL or T1KCRH in the 1kHz timer
operation start state, read T1KCRL or T1KCRH twice and check that the values match to prevent the reading of
undefined data during counting.
Figure 9-2 shows an example of the program for reading T1KCL and T1LCRH.
LEA offset T1KCRL ; EA
←T1KCRL address
MARK:
L ER0, [EA]
; First read
L ER2, [EA]
; Second read
;
CMP ER0, ER1
; Comparison of T1KCRL and T1CKRH
BNE MARK
; To MARK when not matched.
;
:
Figure 9-2
Example of Program for Reading T1KCRL and T1KCRH
相關(guān)PDF資料
PDF描述
M34518M4-XXXSP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDIP32
M34519E8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO42
M34519M8-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO42
M34520M8A-XXXFP 4-BIT, MROM, 4 MHz, MICROCONTROLLER, PQFP64
M34520E8-XXXSP 4-BIT, OTPROM, 4 MHz, MICROCONTROLLER, PDIP64
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34518M2-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M4-XXXSP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34518M8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER