參數(shù)資料
型號: M30100F3TFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
封裝: PLASTIC, LQFP-32
文件頁數(shù): 102/163頁
文件大?。?/td> 2767K
代理商: M30100F3TFP
Under
development
Tentative Specifications REV.E1
Specifications in this manual are tentative and subject to change.
Mitsubishi microcomputers
M30100/M30102 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Interrupts
43
Rewrite The Interrupt Control Register
To rewrite the interrupt control register, do so at a point that does not generate the interrupt request for
that register. If there is possibility of the interrupt request occur, rewrite the interrupt control register after
the interrupt is disabled. The program examples are described as follow:
Example 1:
INT_SWITCH1:
FCLR
I
; Disable interrupts.
AND.B
#00h, 0055h
; Clear T1IC int. priority level and int. request bit.
NOP
;
NOP
FSET
I
; Enable interrupts.
Example 2:
INT_SWITCH2:
FCLR
I
; Disable interrupts.
AND.B
#00h, 0055h
; Clear T1IC int. priority level and int. request bit.
MOV.W
MEM, R0
; Dummy read.
FSET
I
; Enable interrupts.
Example 3:
INT_SWITCH3:
PUSHC
FLG
; Push Flag register onto stack
FCLR
I
; Disable interrupts.
AND.B
#00h, 0055h
; Clear T1IC int. priority level and int. request bit.
POPC
FLG
; Enable interrupts.
The reason why two NOP instructions or dummy read are inserted before FSET I in Examples 1 and 2 is
to prevent the interrupt enable flag I from being set before the interrupt control register is rewritten due to
effects of the instruction queue.
When a instruction to rewrite the interrupt control register is executed but the interrupt is disabled, the
interrupt request bit is not set sometimes even if the interrupt request for that register has been gener-
ated. This will depend on the instruction. If this creates problems, use the below instructions to change
the register.
Instructions : AND, OR, BCLR, BSET
Changing the interrupt request bit
When attempting to clear the interrupt request bit of an interrupt control register, the interrupt request bit
is not cleared sometimes. This will depend on the instruction. If this creates problems, use the below
instructions to change the register.
Instructions : MOV
相關PDF資料
PDF描述
M30102M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30100M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
M30102M6T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30102M3-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30100M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
相關代理商/技術參數(shù)
參數(shù)描述
M30100T3-RPD-E 制造商:Renesas Electronics Corporation 功能描述:DEV EMULATOR POD M16C/10 SERIES - Bulk
M30100T-PTC 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:Converter for Connecting 32-pin 0.8mm-pitch QFP for M30100T-PRB (for M16C/10 Group M30100)
M30-1010046 功能描述:集管和線殼 1.25MM FEMALE CRIMP TIN PK OF 105 RoHS:否 產(chǎn)品種類:1.0MM Rectangular Connectors 產(chǎn)品類型:Headers - Pin Strip 系列:DF50 觸點類型:Pin (Male) 節(jié)距:1 mm 位置/觸點數(shù)量:16 排數(shù):1 安裝風格:SMD/SMT 安裝角:Right 端接類型:Solder 外殼材料:Liquid Crystal Polymer (LCP) 觸點材料:Brass 觸點電鍍:Gold 制造商:Hirose Connector
M3010102636207.32LLZZ 制造商:3M Electronic Products Division 功能描述:QUOTE # V05-0068
M30102 制造商:RENESAS 制造商全稱:Renesas Technology Corp 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER