參數(shù)資料
型號: M34551E8FP
元件分類: 微控制器/微處理器
英文描述: 4-BIT, OTPROM, 8 MHz, MICROCONTROLLER, PQFP48
封裝: 7 X 10 MM, 0.65 MM PITCH, PLASTIC, QFP-48
文件頁數(shù): 149/155頁
文件大?。?/td> 1329K
代理商: M34551E8FP
APPLICATION
2.2 Interrupts
2-15
4551 Group User’s Manual
Fig. 2.2.4 Timer 2 constant period interrupt setting example
0.5s = (32.768kHz) ! 2
b3
b0
0
b3
b0
0
1
b3
b0
00
g0 h
Enable Interrupts
The timer 2 interrupt which is temporarily disabled is enabled.
Interrupt control register V1
Interrupt enable flag INTE
Interrupt control register V1
Disable Interrupts
Timer 2 interrupt is temporarily disabled.
“0”
All interrupts disabled (DI instruction)
Timer 1 interrupt occur disabled (TV1A instruction)
!! !
Set Timer Value
Timer 2 count time is set. (Only when timer count value is 2 or 2 , the formula is shown VA below.)
Timer count value 2 set (TW2A instruction)
When timer count value = 2 ,
timer control register W2
When timer count value = 2 ,
timer control registerW2
13
14
13
14
!!
13
14
Reset Timer Value and Set Count Source
Timer 2 counter is initialized. (Initialization is performed only by setting W23 from 0 to 1.)
Timer control register W2
This processing and setting timer value
shown can be executed simultaneously.
Timer control register W2
b3
b0
0
b3
b0
1
b3
b0
0 !! !
!! !
Timer 2 reset
Timer 2 count source is returned to XCIN.
(TW2A instruction)
Clear Interrupt Request
The timer 2 interrupt activated condition is cleared.
Timer 2 interrupt request flag T2F
Clear the timer 2 interrupt activated condition
(SNZT2 instruction)
“0”
g Note when the interrupt request is cleared
When is executed, considering the skip of the next instruction according to the
interrupt request flag T2F, insert the NOP instruction after the SNZT2 instruction.
Timer 2 interrupt occur enabled (TV1A instruction)
All interrupts enabled (EI instruction)
“1”
b3
b0
1 !! !
Constant period interrupt execution started
“!” : it can be “0” or “1.”
Sub-clock
V A The timer 2 count value to make the interrupt occur every 0.5s is set as follows:
Timer 2 count value
14
–1
相關(guān)PDF資料
PDF描述
M34551M4-XXXFP 4-BIT, MROM, 8 MHz, MICROCONTROLLER, PQFP48
M34552G8FP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552M8H-XXXFP 4-BIT, MROM, 6 MHz, MICROCONTROLLER, PQFP48
M34552G8HFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PQFP48
M34556G8HFP 4-BIT, OTPROM, 6 MHz, MICROCONTROLLER, PDSO42
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M34551E8-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTER
M34551M4 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34551M4-XXXFP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for INFRARED REMOTE CONTROL TRANSMITTER
M34551M8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:4-BIT SINGLE-CHIP MICROCOMPUTER
M34552G8FP 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER