English
Language : 

UPD703111A Datasheet, PDF (638/974 Pages) NEC – 32-Bit Single-Chip Microcontroller
CHAPTER 11 USB FUNCTION CONTROLLER (USBF)
(40) UF0 endpoint 3 interface mapping register (UF0E3IM)
This register specifies for which Interface and Alternative Setting Endpoint3 is valid.
This register can be read or written in 8-bit units.
The setting of this register and the Alternative Setting selected by the SET_INTERFACE request indicate
whether Endpoint3 is currently valid, and the hardware determines how the
GET_STATUS/CLEAR_FEATURE/SET_FEATURE Endpoint3 request and the IN transaction to Endpoint3 are
responded to, and whether the related bits are valid or invalid.
7
6
5
4
3
2
1
0
Address After reset
UF0E3IM E3EN2 E3EN1 E3EN0 E32AL1 E35AL4 E35AL3 E35AL2 E35AL1 FFFFFE45H
00H
Bit position
7 to 5
Bit name
E3EN2 to
E3EN0
4
E32AL1
3 to 0
E35ALn
Function
These bits set a link between the Interface of Endpoint3 and the two-/five-series
Alternative Setting. The endpoint is linked with Alternative Setting 0. The endpoint
linked with Alternative Setting 0 cannot be excluded from Alternative Setting 1 to 4.
E3EN2 E3EN1 E3EN0
Link status
1
1
1
Not linked with Interface
1
1
0
1
0
1
Linked with Interface 4 and Alternative Setting 0
1
0
0
Linked with Interface 3 and Alternative Setting 0
0
1
1
Linked with Interface 2 and Alternative Setting 0
0
1
0
Linked with Interface 1 and Alternative Setting 0
0
0
1
Linked with Interface 0 and Alternative Setting 0
0
0
0
Not linked with Interface (default value)
When these bits are set to 110 or 111, they are invalid even if the E32AL1 bit is cleared
to 0.
If the endpoint is linked, setting of the CONF bit of the UF0MODS register to 1 indicates
that Endpoint3 is valid.
This bit validates Endpoint3 when the two-series Alternative Setting and the Alternative
Setting of the linked Interface are set to 1.
1: Validate the endpoint when Alternative Setting 1 is set with CONF bit = 1.
0: Do not validate the endpoint even when Alternative Setting 1 is set with CONF bit =
1 (default value).
This bit is valid when the E35AL4 to E35AL1 bits are 0000.
These bits validate Endpoint3 when the five-series Alternative Setting and the
Alternative Setting of the linked Interface are set to n.
1: Validate the endpoint when Alternative Setting n is set with CONF bit = 1.
0: Do not validate the endpoint even when Alternative Setting n is set with CONF bit =
1 (default value).
Remark n = 1 to 4
638
User’s Manual U16031EJ4V1UD