AT43USB320A_04 ATMEL [ATMEL Corporation], AT43USB320A_04 Datasheet - Page 92

no-image

AT43USB320A_04

Manufacturer Part Number
AT43USB320A_04
Description
Full-speed USB Microcontroller with an Embedded Hub
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Hub Port Status
Register
92
AT43USB320A
The bits in this register are used by the microcontroller firmware when reporting a port's status
through the Port Status Field, wPortStatus . Bits 3 (POCI) and 5 (PPSTAT) are used by the
USB hardware and are the only two bits that the firmware should set or clear. All other bits
should not be modified by the firmware.
Hub Port Status Register – HPSTAT1:5
• Bit 7 – Reserved
This bit is reserved in the AT43USB320A and will read as zero.
• Bit 6 – LSP: Low-speed Device Attached
0 = Full-speed device attached to this port
1 = Slow-speed device attached to this port
Set to 0 for Port 1 (full-speed only). Set and cleared by the hardware upon detection of device
at EOF2.
• Bit 5 – PPSTAT: Port Power Status
0 = Port is powered OFF
1 = Port is powered ON
Set to 1 for Port 1. Set and cleared based on present status of port power.
• Bit 4 – PRSTAT: Port Reset Status
0 = Reset signaling not asserted
1 = Reset signaling asserted
Set and cleared by the hardware as a result of initiating a port reset by Port Control Register.
• Bit 3 – POCI: Port Overcurrent Indicator
0 = Power normal
1 = Overcurrent exist on port
Set to 0 for Port 1. Set and cleared by firmware upon detection of an overcurrent or removal of
an overcurrent.
• Bit 2 – PSSTAT: Port Suspend Status
0 = Port not suspended
1 = Port suspended
Set and cleared by the hardware as controlled through Port Control Register.
• Bit 1 – PESTAT: Port Enable Status
0 = Port is disabled
Port3 $1FBA
Port4 $1FBB
Port5 $1FBC
Port1 $1FB8
Port2 $1FB9
Read/Write
Initial Value
Bit
R
7
0
LSP
LSP
LSP
LSP
LSP
6
R
0
PPSTAT
PPSTAT
PPSTAT
PPSTAT
PPSTAT
R/W
5
0
PRSTAT
PRSTAT
PRSTAT
PRSTAT
PRSTAT
R
4
0
POCI
POCI
POCI
POCI
POCI
R/W
3
0
PSSTAT
PSSTAT
PSSTAT
PSSTAT
PSSTAT
R
2
0
PESTAT
PESTAT
PESTAT
PESTAT
PESTAT
R
1
0
PCSTAT
PCSTAT
PCSTAT
PCSTAT
PCSTAT
R
0
0
1443E–USB–4/04
HPSTAT1
HPSTAT2
HPSTAT3
HPSTAT4
HPSTAT5

Related parts for AT43USB320A_04