參數(shù)資料
型號(hào): M34502E4FP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, MICROCONTROLLER, PDSO24
封裝: 5.30 X 10.10 MM, 0.80 MM PITCH, PLASTIC, SSOP-24
文件頁數(shù): 38/116頁
文件大?。?/td> 896K
代理商: M34502E4FP
Rev.3.01
2005.02.02
page 28 of 112
REJ03B0105-0301
4502 Group
(8) Timer input/output pin (P12/CNTR pin)
CNTR pin is used to input the timer 2 count source and output the
timer 1 and timer 2 underflow signal divided by 2.
The P12/CNTR pin function can be selected by bit 0 of register W6.
The CNTR output signal can be selected by bit 1 of register W6.
When the CNTR input is selected for timer 2 count source, timer 2
counts the falling waveform of CNTR input.
Fig. 23 Count timing diagram at CNTR input
0316
0216
0116
0016
FF16
FE16
CNTR input
Timer 2 count
Timer 2 interrupt
request flag
(T2F)
(Note)
Note: This is an example when “FF16” is set to timer 2 reload register R2L.
(9) Precautions
Note the following for the use of timers.
Prescaler
Stop the prescaler operation to change its frequency dividing ra-
tio.
Count source
Stop timer 1 or 2 counting to change its count source.
Reading the count value
Stop timer 1 or 2 counting and then execute the TAB1 or TAB2
instruction to read its data.
Writing to the timer
Stop timer 1 or 2 counting and then execute the T1AB or T2AB
instruction to write its data.
Writing to reload register R1
When writing data to reload register R1 while timer 1 is operat-
ing, avoid a timing when timer 1 underflows.
Timer 1 and timer 2 count start timing and count time when op-
eration starts
Count starts from the first rising edge of the count source (2) af-
ter timer 1 and timer 2 operations start (1).
Time to first underflow (3) is shorter (for up to 1 period of the
count source) than time among next underflow (4) by the timing
to start the timer and count source operations after count starts.
When selecting CNTR input as the count source of timer 2, timer
2 operates synchronizing with the falling edge of CNTR input.
Fig. 24 Timer count start timing and count time when opera-
tion starts (T1, T2)
(1) Timer
Count Source
Timer Value
Timer Underflow
Signal
3
21
032
103
2
Count Source
(CNTR input)
(2)
(3)
(4)
相關(guān)PDF資料
PDF描述
M34502M4-XXXFP 4-BIT, MROM, MICROCONTROLLER, PDSO24
M34502M2-XXXFP 4-BIT, MROM, MICROCONTROLLER, PDSO24
M34508G4GP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
M34508G4-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PDSO20
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34502M2 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34502M2-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34502M4 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34502M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
M34506E4 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER