Datasheet
PIC16C745/765
DS41124D-page 66 Preliminary 1999-2013 Microchip Technology Inc.
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
initialize 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)
10.5.1.8 USB Software Status Register (USWSTAT)
This register is used by the USB firmware libraries for
USB status.
REGISTER 10-8: RESERVED SOFTWARE LIBRARY REGISTER (USWSTAT: 197H):.
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
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
bit7 bit0
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
Warning: Writing to this register may cause the
SIE to drop off the Bus.
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
U = Unimplemented bit,
read as ‘0’
-n = Value at POR reset
7
6 5 4 3 21 0
Reserved for CH9 Firmware Enumeration Status
bit 7-2
(1)
:Reserved: Read as “X’
bit 1-0: W Enumeration Status <1:0>: Status of USB peripheral during enumeration
00 = Powered
01 = Default
10 = Addressed
11 = Configured
Note 1: Application should not modify these bits.