SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD Page 112 Version 1.5
Internal D+ 1.5k pull-up resistor function.
0: Disable internal D+ pull-up resistor.
1: Enable internal D+ pull-up resistor.
USB serial interface engine enable.
0: Disable USB SIE function.
1: Enable USB SIE function.
USB ESD protection enable.
0: Disable ESD protection.
1: Enable ESD protection.
Enable internal D+ and D - 175k pull-down resistor.
0: Disable.
1: Enable.
Endpoint 4 IN/OUT direction setting.
0: EP4 only handshakes to IN token packet.
1: EP4 only handshakes to OUT token packet.
Endpoint 3 IN/OUT direction setting.
0: EP3 only handshakes to IN token packet.
1: EP3 only handshakes to OUT token packet.
Endpoint 2 IN/OUT direction setting.
0: EP2 only handshakes to IN token packet.
1: EP2 only handshakes to OUT token packet.
Endpoint 1 IN/OUT direction setting.
0: EP1 only handshakes to IN token packet.
1: EP1 only handshakes to OUT token packet.
10.9.6 USB Signal Control Register (USB_SGCTL)
Address offset: 0x14
Reset value: 0x0000 0000
Enable to drive USB bus.
0: Not drive USB bus.
Write operation to BUS_D+ or BUS_D- has no effect.
1: Drive USB bus.
The D+/D- bus state can be set by set BUS_D+ and BUS_D-.
USB D+ state
0: D+ state is low.
1: D+ state is high.
USB D- state.
0: D- state is low.
1: D- state is high.
10.9.7 USB Endpoint 0 Control Register (USB_EP0CTL)
Address Offset: 0x18
Reset value: 0x0000 0000
Enable Endpoint 0 function.
0: Disable endpoint 0 function. No handshake to endpoint0 SETUP/IN/
OUT token.
1: Enable endpoint 0 function.