M30240ECFP MITSUBISHI [Mitsubishi Electric Semiconductor], M30240ECFP Datasheet - Page 142
M30240ECFP
Manufacturer Part Number
M30240ECFP
Description
M30240 Group Specification
Manufacturer
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet
1.M30240ECFP.pdf
(142 pages)
- Current page: 142 of 142
- Download datasheet (902Kb)
Specifications in this manual are tentative and subject to change
Programming Notes
[R1L] = [EPiICS].B
OR.B #08H, R1L
AND.B #0FEH, R1L
[EPiICS].B = [R1L]
[R1L] = [EPiICS].B
OR.B #02, R1L
AND.B #0F6H, R1L
[EPiICS].B= [R1L]
DEFAULT_STATE:
5.5.2 USB Consecutive Set Address
If [USBA].B ==0
else
endif
end of the set_address routine
Below is an example of how to set/reset the ISO bit of the IN CSR register (for initializing the respective
endpoint as an isochronous endpoint):
The USB Specification states that the host can send a SET_ADDRESS request for the following cas-
es:
1. During enumeration when the device is in default state. (The host assigns a non-zero address.)
2. When the device is in the address state. (The host can re-assign a new address.)
The device handles case #1 (when the device is in the default state) and case #2 (when the device is
in the address state) differently. The following is a segment of code to illustrate the program flow to
properly deal with these cases.
Note: wValue_lo = assigned address from the host in SET-ADDRESS request.
[USBA.].B = wValue _ lo
R1L = [EP0CS].B
OR.B #48H, R1L
[EP0CS].B = R1L
wait for the completion of the
JMP ADDR_END
ADDR_STATE
R1L [EP0CS].B
OR.B #48H, R1L
[EP0CS].B = R1L
wait for the completion of the
[USBA].B= wValue_lo
ADDR_END
;set ISO bit = 1, write “1” back to UNDER_RUN bit
;write “0” back to IN_PKT_RDY bit
;write “1” back to UNDER_RUN bit
;reset ISO bit = 0, write “0” back to IN_PKT_RDY bit
;If the device is in default state, update address before STATUS
;USB ENDPOINT 0 CSR
;Set serviced_out_pkt_rdy & data_end
;USB ENDPOINT 0 CSR
;Set serviced_out_pkt_rdy & data_end
;If the device is in address state, update address before STATUS
completion
completion
1-142
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Mitsubishi microcomputers
M30240 Group
Related parts for M30240ECFP
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Designer's Kits Unicoil 7/10 mm Tunable Inductors
Manufacturer:
Coilcraft
Part Number:
Description:
VCXO 200Mhz to 1000Mhz
Manufacturer:
Micro Networks
Datasheet:
Part Number:
Description:
128 x 8-BIT x 2 MAIL-BOX
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
PROGRAMMABLE BUFFERED I/0 EXPANDER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
ELECTRONIC SOUND CONTROL WITH ELECTRONIC VOLUME FOR MULTIPLE SOURCES
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
2CH 4 MODE PRESET EQUALIZER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SERIAL DATA CONTROL DUAL ELECTRONIC VOLUME
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SCREEN CHARACTER and PATTERN DISPLAY CONTROLLERS?????
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
M51996P
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER??
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
SINGLE-CHIP 8-BIT CMOS MICROCOMPUTER
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet:
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) MEDIUM POWER USE INSULATED TYPE, PLANAR PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
MITSUBISHI SEMICONDUCTOR (TRIAC) LOW POWER USE GLASS PASSIVATION TYPE
Manufacturer:
Mitsubishi Electric Semiconductor
Part Number:
Description:
SINGLE-CHIP 4-BIT CMOS MICROCOMPUTER for VOLTAGE SYNTHESIZER with ON-SCREEN DISPLAY CONTROLLER?
Manufacturer:
MITSUBISHI [Mitsubishi Electric Semiconductor]
Datasheet: