參數(shù)資料
型號: M30102M3-XXXFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
封裝: 7 X 7 MM, 0.50 MM PITCH, PLASTIC, LQFP-48
文件頁數(shù): 108/166頁
文件大?。?/td> 2060K
代理商: M30102M3-XXXFP
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描述
M30100M2T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
M30102M3T-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP48
M30100M2-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
M30100F3TFP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP32
M30100M3-XXXFP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
相關代理商/技術參數(shù)
參數(shù)描述
M30102T-PTC 制造商:Renesas Electronics Corporation 功能描述:DEV 48PIN .5MM QFP CNVTR FOR M30100T-PRB - Bulk
M30-1050046 功能描述:集管和線殼 FML CRIMP CONTACT 1.25MM,AWG 26-30, RL 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
M30-1060046 功能描述:集管和線殼 FML CRIMP CONTACT 1.25MM,AWG 26-30,LSE 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
M3010A 制造商:Honeywell Sensing and Control 功能描述:GENERAL MARKET VRS
M3010A25 制造商:Honeywell Sensing and Control 功能描述:GENERAL MARKET VRS