![Cypress enCoRe V CY7C643 Series Скачать руководство пользователя страница 173](http://html1.mh-extra.com/html/cypress/encore-v-cy7c643-series/encore-v-cy7c643-series_technical-reference-manual_2706365173.webp)
enCoRe™ V CY7C643xx, enCoRe™ V LV CY7C604xx TRM, Document No. 001-32519 Rev *H
173
0,35h
21.3.10 USBIO_CR1
USB I/O Control Register 1
This register is a USBIO manual control register 1. This register is used to manually control or read the drive mode and state
of the D+ and D– USB pins. The
USB_MISC_CR register on page 220
must be set correctly for the bits in this register to func-
tion as described here.
For additional information, refer to the
Register Definitions on page 147
in the Full-Speed USB chapter.
7
IOMode
This bit enables the D+ and D– pins to be manually set or read with this register.
0
Manual access mode disabled.
1
Manual access mode enabled.
6
Drive Mode
This bit configures the D+ and D– pins for either CMOS drive mode or open drain drive mode. This bit
has no effect if IOMode = 0.
0
Open drain drive mode.
1
CMOS drive mode.
5
DPI
This bit drives the D+ pin. This bit has no effect if IOMode = 0.
0
D+ pin drives a logic level LOW.
1
If Drive Mode bit is 0, D+ pin is tri-stated. If Drive Mode bit is 1, D+ pin drives a logic level
HIGH.
4
DMI
This bit drives the D– pin. This bit has no effect if IOMode = 0.
0
D– pin drives a logic level LOW.
1
If Drive Mode bit is 0, D– pin is tri-stated. If Drive Mode bit is 1, D– pin drives a logic level
HIGH.
3
PS2PUEN
This bit controls the connection of the two internal 5-k
pull-up resistors to the D+ and D– pins.
0
Pull-up resistors not connected.
1
Pull-up resistors connected.
2
USBPUEN
This bit controls the connection of the internal 1.5-k
pull-up resistor to the D+ pin.
0
Pull-up resistor not connected.
1
Pull-up resistor connected.
Note
Set bit2 of “USBIO_MISC_CR” register to enable USBIO.
1
DPO
This read-only bit provides the D+ pin logic level state.
0
DMO
This read-only bit provides the D– pin logic level state.
Individual Register Names and Addresses:
0,35h
USBIO_CR1 : 0,35h
7
6
5
4
3
2
1
0
Access : POR
RW : 0
RW : 0
RW : 0
RW : 0
RW : 0
RW : 0
R : 1
R : 1
Bit Name
IOMode
Drive Mode
DPI
DMI
PS2PUEN
USBPUEN
DPO
DMO
Bit
Name
Description