參數(shù)資料
型號: M30240M5-XXXFP
元件分類: 微控制器/微處理器
英文描述: 16-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
封裝: 0.80 MM PITCH, PLASTIC, QFP-80
文件頁數(shù): 27/139頁
文件大小: 1453K
代理商: M30240M5-XXXFP
122
Mitsubishi microcomputers
M30240 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Specifications REV. G
Specifications in this manual are tentative and subject to change
Precautions
When using an isochronous transfer, set the FLUSH bit by:
OUT FIFO data flush: When OUT_PKT_RDY flag is “1”, set the FLUSH bit to “1”
IN FIFO data flush: Use AUTO_FLUSH bit.
Do not write to the USB internal registers (address 030016-033C16) when the USB clock is disabled
in Suspend mode.
Precautions for accessing the USB Interrupt Status registers 1 & 2 (USBIS1, USBIS2)
When reading from/writing to both registers, access USBIS1 first and then USBIS2.
When writing to these registers, use transfer instructions such as the MOV instruction. Do not use Read
Modify Write instructions such as OR or BSET because this could cause improper values to be written
back.
Each status flag can be cleared to”0” by writing back the same value “1” which was read from the USB
Interrupt Status register. Make sure to clear only the corresponding status flag in each USB interrupt rou-
tine. Mask the other status flags so that they are not accidentally cleared.
Example of USB Function Interrupt
Do not use Read, Modify, Write instructions on the following USB Control and Status registers:
USB Endpoint 0 Control and Status (EP0CS)
USB Endpoint x IN Control and Status (EPxICS)
USB Endpoint x OUT Control and Status (EPxOCS)
Refer to Section 1.5.5.1 for more information on these registers and how to modify their contents.
C Language
ram1=USBIS1;
/*Read from USB Interrupt Status register 1*/
ram2=USBIS2;
/*Read from USB Interrupt Status register 2*/
ram2 &=0x1F;
/*Mask flags except USB Function Interrupt status flags*/
USBIS1=ram1;
/*Write to USB Interrupt Status register 1*/
USBIS2=ram2;
/*Write to USB Interrupt Status register 2*/
Assembly Language:
mov.b USBIS1, ram1
;Read from USB Interrupt Status register 1
mov.b USBIS2, ram2
;Read from USB Interrupt Status register 2
and.b #1Fh, ram2
;Mask flags except USB Function Interrupt status flags
mov.b ram1, USBIS1
;Write to USB Interrupt Status register 1
mov.b ram2, USBIS2
;Write to USB Interrupt Status register 2
相關(guān)PDF資料
PDF描述
M30240M6-XXXXFP 16-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
M30240ECFP 16-BIT, OTPROM, 12 MHz, MICROCONTROLLER, PQFP80
M30240M5-XXXXFP 16-BIT, MROM, 12 MHz, MICROCONTROLLER, PQFP80
M30240M6-XXXXFP 16-BIT, OTPROM, MICROCONTROLLER, PQFP80
M30240ECFP 16-BIT, OTPROM, MICROCONTROLLER, PQFP80
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
M30240M6 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M6-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M7 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M7-XXXFP 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
M30240M8 制造商:MITSUBISHI 制造商全稱:Mitsubishi Electric Semiconductor 功能描述:SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER