Renesas M30245 Series User Manual page 159

16-bit single-chip microcomputer
Hide thumbs Also See for M30245 Series:
Table of Contents

Advertisement

M30245 Group
Initialization of endpoint x (x=1 to 4) (Bulk tranfer/Interrupt transfer/Isochronous transfer)
(b15)
b7
0
(b15)
b7
0
(b15)
b7
0
(b15)
b7
0
0
(b15)
b7
0
0
Setting the USB ISO control register
(b15)
b7
0
Figure 2.8.20. Initialization procedure of endpoint (1)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Continued from the previous page
(b8)
b0
b7
0
0
0
0
0
(b8)
b0
b7
0
0
0
0
0
(b8)
b0
b7
0
0
0
0
0 0
0
(b8)
b0
b7
0
0
0
(b8)
b0
b7
Only when using isochronous tranfer
(b8)
b0
b7
0
0
0
0
0
0 0
0
0
0
USB transmit/receive process
page 148 of 354
b0
USB endpoint x IN MAXP register
EPxIMP (x=1 to 4) [Address 02A0
Set the maximum packet size
b0
USB endpoint x OUT MAXP register
EPxOMP (x=1 to 4) [Address 02B8
Set the maximum packet size
b0
USB endpoint enable register [Address 028E
USBEPEN
Endpoint 1 OUT FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 1 IN FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 2 OUT FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 2 IN FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 3 OUT FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 3 IN FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 4 OUT FIFO enable bit
0 : Disabled
1 : Enabled
Endpoint 4 IN FIFO enable bit
0 : Disabled
1 : Enabled
b0
USB Endpoint x IN control and status register
EPxICS (x = 1 - 4) [Address 029E
INTPT bit (Note)
0 : Select non-rate feedback interrupt transfer
1 : Select rate feedback interrupt transfer
ISO bit
0 : Select non-isochronous endpoint
1 : Select isochronous endpoint
Note: When using the normal interrupt tranfer, set "0".
b0
USB Endpoint x OUT control and status register
EPxOCS (x = 1 - 4) [Address 02B6
ISO bit
0 : Select non-isochronous endpoint
1 : Select isochronous endpoint
USB ISO control register [Address 028C
b0
USBISOC
AUTO_FLUSH bit
0 : Hardware auto flush disabled
1 : Hardware auto flush enabled
ISO update bit
0 : ISO update disabled
1 : ISO update enabled
Artificial SOF enable bit
0 : Artificial SOF disabled
1 : Artificial SOF enabled
2. USB function
, 02A6
, 02AC
, 02B2
]
16
16
16
16
, 02C0
, 02C8
, 02D0
]
16
16
16
16
]
16
, 02A4
, 02AA
, 02B0
]
16
16
16
16
, 02BE
, 02C6
, 02CE
]
16
16
16
16
]
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM20c series

Table of Contents