![SONIX SN32F260 Series Скачать руководство пользователя страница 112](http://html1.mh-extra.com/html/sonix/sn32f260-series/sn32f260-series_user-manual_1321508112.webp)
SN32F260 Series
32-Bit Cortex-M0 Micro-Controller
SONiX TECHNOLOGY CO., LTD
Page 112
Version 1.5
29
DPPU_EN
Internal D+ 1.5k pull-up resistor function.
0: Disable internal D+ pull-up resistor.
1: Enable internal D+ pull-up resistor.
R/W
0
28
SIE_EN
USB serial interface engine enable.
0: Disable USB SIE function.
1: Enable USB SIE function.
R/W
0
27
ESD_EN
USB ESD protection enable.
0: Disable ESD protection.
1: Enable ESD protection.
R/W
0
26
DIS_PDEN
Enable internal D+ and D - 175k pull-down resistor.
0: Disable.
1: Enable.
R/W
0
25:4
Reserved
R
0
3
EP4_DIR
Endpoint 4 IN/OUT direction setting.
0: EP4 only handshakes to IN token packet.
1: EP4 only handshakes to OUT token packet.
R/W
0
2
EP3_DIR
Endpoint 3 IN/OUT direction setting.
0: EP3 only handshakes to IN token packet.
1: EP3 only handshakes to OUT token packet.
R/W
0
1
EP2_DIR
Endpoint 2 IN/OUT direction setting.
0: EP2 only handshakes to IN token packet.
1: EP2 only handshakes to OUT token packet.
R/W
0
0
EP1_DIR
Endpoint 1 IN/OUT direction setting.
0: EP1 only handshakes to IN token packet.
1: EP1 only handshakes to OUT token packet.
R/W
0
10.9.6 USB Signal Control Register (USB_SGCTL)
Address offset: 0x14
Reset value: 0x0000 0000
Bit
Name
Description
Attribute
Reset
31:3
Reserved
R
0
2
BUS_DRVEN
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-.
R/W
0
1
BUS_D+
USB D+ state
0: D+ state is low.
1: D+ state is high.
R/W
0
0
BUS_D-
USB D- state.
0: D- state is low.
1: D- state is high.
R/W
0
10.9.7 USB Endpoint 0 Control Register (USB_EP0CTL)
Address Offset: 0x18
Reset value: 0x0000 0000
Bit
Name
Description
Attribute
Reset
31
ENDP_EN
Enable Endpoint 0 function.
0: Disable endpoint 0 function. No handshake to endpoint0 SETUP/IN/
OUT token.
1: Enable endpoint 0 function.
R/W
0
Содержание SN32F260 Series
Страница 132: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 132 Version 1 5 16 2 QFN 46 PIN ...
Страница 136: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 136 Version 1 5 16 6 QFN 33 PIN ...
Страница 137: ...SN32F260 Series 32 Bit Cortex M0 Micro Controller SONiX TECHNOLOGY CO LTD Page 137 Version 1 5 16 7 SSOP 24 PIN ...