
6. Functional Description
10
EPSON
S1R72V17*** Technical Manual (Rev.1.6)
6. Functional Description
This section describes the operation of the LSI.
In the explanation below, the registers are described according to the following naming conventions.
Registers are described with a per-byte name.
Names indicating a register comprising one address
Register name + register
Example: “MainIntStat register”
Names indicating individual register bits
Register name.bit name + bit, or bit name + bit
Example: “MainIntStat.CPU_IntStat bit”
Registers provided for each endpoint
Described as D_EPx{x=0, a-c}…register, etc.
Example: “D_EPx{x=0, a-c}IntStat register”
Registers provided for each channel
Described as H_CHx{x=0, a-e}…register, etc.
Example: “H_CHx{x=0, a-e}IntStat register”
Registers provided for each area
Described as AREAn{n=0-5}…register, etc.
Example: “AREAn{n=0-5}StartAdrs_H register”
6.1 Selection of USB Device/Host
To use USB with this LSI, set the HostDeviceSel.HOSTxDEVICE bit to select either the USB device or
the USB host register map.
Selecting the USB device register map (hereafter referred to as device mode) enables the register bits and
functions of the host/device shared registers and device registers.
Selecting the USB host register map (hereafter referred to as host mode) enables the register bits and
functions of the host/device shared registers and host registers.
6.1.1
Selection of the USB Device/Host Functions
Table 6.1 shows the item to be set when selecting a USB device/host.
Selecting a register map
Table 6.1 Setup Items for Selecting USB Device/Host Functions
Item
Register/Bit
Description
USB device/host
selection
HostDeviceSel. HOSTxDEVICE
Selects either USB device or USB host. The
registers and functions on the selected side are
enabled.