参数资料
型号: M30100M6T-XXXFP
元件分类: 微控制器/微处理器
英文描述: 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP32
封装: 7 X 7 MM, 0.80 MM PITCH, PLASTIC, LQFP-32
文件页数: 102/163页
文件大小: 1678K
代理商: M30100M6T-XXXFP
Under
development
Tentative Specifications REV.E
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描述
M30218MC-AXXXFP 16-BIT, MROM, 10 MHz, MICROCONTROLLER, PQFP100
M30218FCFP 16-BIT, FLASH, 10 MHz, MICROCONTROLLER, PQFP100
M30245MC-XXXGP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M30245MC-XXXGP 16-BIT, MROM, 16 MHz, MICROCONTROLLER, PQFP100
M30245FCGP 16-BIT, FLASH, 16 MHz, MICROCONTROLLER, PQFP100
相关代理商/技术参数
参数描述
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:否 产品种类:1.0MM Rectangular Connectors 产品类型:Headers - Pin Strip 系列:DF50 触点类型:Pin (Male) 节距:1 mm 位置/触点数量:16 排数: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