PIC16C745/765
10.5.1.7 USB Address Register (UADDR)
The Address Register (UADDR) contains the unique
USB address that the USB will decode. The register is
reset to 00h after the reset input has gone active or the
USB has decoded a USB reset signaling. That will ini-
tialize the address register to decode address 00h as
required by the USB specification. The USB address
must be written by the MCU during the USB SETUP
phase.
REGISTER 10-7: USB ADDRESS REGISTER (UADDR: 196h)
U-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
ADDR6 ADDR5
ADDR4
ADDR3
ADDR2
ADDR1
ADDR0
—
R = Readable bit
W = Writable bit
bit7
bit0
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
bit 7:
Unimplemented: Read as ’0’.
bit 6-0: ADDR<6:0>: This 7-bit value defines the USB address that the USB will decode.
10.5.1.8 USB Software Status Register
This register is used by the USB firmware libraries for
USB status.
REGISTER 10-8: RESERVED SOFTWARE LIBRARY REGISTER (USWSTAT: 197H):.
R/W-0 R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R/W-0
R = Readable bit
W = Writable bit
6
5
4
3
2
1
0
7
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
Function IDs
Configuration Status
10.5.1.9 Endpoint Registers
Each endpoint is controlled by an Endpoint Control
Register. The PIC16C745/765 supports Buffer
Descriptors (BD) for the following endpoints:
- EP0 Out
- EP0 In
- EP1 Out
- EP1 In
- EP2 Out
- EP2 In
The user will be required to disable unused Endpoints
and directions using the Endpoint Control Registers.
DS41124A-page 66
Advanced Information
1999 Microchip Technology Inc.