參數(shù)資料
型號: M34518M4-XXXFP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
封裝: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件頁數(shù): 12/157頁
文件大小: 1783K
代理商: M34518M4-XXXFP
ML610Q411/ML610Q412/ML610Q415 User’s Manual
Chapter 7
Time Base Counter
7 – 7
7.3
Description of Operation
7.3.1
Low-Speed Time Base Counter
The low-speed time base counter (LTBC) starts counting from 0000H on the LSCLK falling edge after system reset.
The T128HZ, T32HZ, T16HZ, and T2HZ outputs of LTBC are used as time base interrupts and an interrupt is
requested on the falling edge of each output. Each of LTBC outputs is also used as an operation clock for peripheral
circuits.
The output data of T128HZ to T1HZ of LTBC can be read from the low-speed time base counter register (LTBR).
When reading the data, read LTBR twice and check that the two values coincide to prevent reading of undefined data
during counting.
Figure 7-3 shows an example of program to read LTBR.
LEA
offset LTBR
; EA
←LTBR address
MARK:
L
R0,
[EA]
; 1st read
L
R1,
[EA]
; 2nd read
;
CMP
R0,
R1
; Comparison for LTBR
BNE
MARK
; To MARK when the values do not coincide
;
:
Figure 7-3
Programming Example for Reading LTBR
LTBR is reset when write operation is performed and the T128HZ to T1HZ outputs are set to “0”. Write data is invalid.
Since an interrupt occurs if a falling edge occurs in the T128Hz to T1Hz outputs during writing to LTBR, take care in
software programming.
Figure 7-4 shows interrupt generation timing and reset timing of the time base counter output by writing to LTBR.
Figure 7-4
Interrupt Timing and Reset Timing by Writing to LTBR
LTBR Write
T1HZ
T2HZ
T4HZ
T8HZ
T16HZ
T32HZ
T64HZ
T128HZ
T256HZ
T16HZ
Indicates interrupt timing
相關PDF資料
PDF描述
M34518M2-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP32
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
相關代理商/技術(shù)參數(shù)
參數(shù)描述
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
M34519E8FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 720 FAMILY / 4500 SERIES
M34519M6-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:4-BIT CISC SINGLE-CHIP MICROCOMPUTER 720 FAMILY / 4500 SERIES