M30620FCAFP Datasheet

  • M30620FCAFP

  • M16C/62(M16C/62A .M16C/62M) Group USER'S MANUAL

  • 8927.88KB

  • Mitsubishi   Mitsubishi

扫码查看芯片数据手册

上传产品规格书

PDF预览

Mitsubishi microcomputers
M16C / 62A Group
Precautions for Interrupts
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Clear the interrupt enable flag to 鈥?鈥?/div>
(Disable interrupt)
Set the interrupt priority level to level 0
(Disable
INTi
interrupt)
Set the polarity select bit
Clear the interrupt request bit to 鈥?鈥?/div>
Set the interrupt priority level to level 1 to 7
(Enable the accepting of INTi interrupt request)
Set the interrupt enable flag to 鈥?鈥?/div>
(Enable interrupt)
______
Figure 1.11.13. Switching condition of INT interrupt request
(5) 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
AND.B #00h, 0055h
NOP
NOP
FSET
I
; Disable interrupts.
; Clear TA0IC int. priority level and int. request bit.
; Four NOP instructions are required when using HOLD function.
; Enable interrupts.
Example 2:
INT_SWITCH2:
FCLR
I
AND.B #00h, 0055h
MOV.W MEM, R0
FSET
I
; Disable interrupts.
; Clear TA0IC int. priority level and int. request bit.
; Dummy read.
; Enable interrupts.
Example 3:
INT_SWITCH3:
PUSHC FLG
FCLR
I
AND.B #00h, 0055h
POPC FLG
; Push Flag register onto stack
; Disable interrupts.
; Clear TA0IC int. priority level and int. request bit.
; Enable interrupts.
The reason why two NOP instructions (four when using the HOLD function) 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
63

M30620FCAFP相关型号PDF文件下载

  • 型号
    版本
    描述
    厂商
    下载
  • 英文版
    Vishay Intertec...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI ...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DE...
    MITSUBISHI
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with CLOSED CAPTION DE...
    MITSUBISHI ...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI ...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI ...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    MITSUBISHI ...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...
  • 英文版
    SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
    RENESAS [Renesa...

扫码下载APP,
一键连接广大的电子世界。

在线人工客服

买家服务:
卖家服务:
技术客服:

0571-85317607

网站技术支持

13606545031

客服在线时间周一至周五
9:00-17:30

关注官方微信号,
第一时间获取资讯。

建议反馈

联系人:

联系方式:

按住滑块,拖拽到最右边
>>
感谢您向阿库提出的宝贵意见,您的参与是维库提升服务的动力!意见一经采纳,将有感恩红包奉上哦!