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

no-image

AT43USB320A_04

Manufacturer Part Number
AT43USB320A_04
Description
Full-speed USB Microcontroller with an Embedded Hub
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1443E–USB–4/04
Hub Port Control Register – HPCON
• Bit 7 – Reserved
This bits is reserved in the AT43USB320A and will read as zero.
• Bit 6..4 – HPCON2..0: Hub Port Control Command
These bits are written by firmware to control the port states upon receipt of a Host request.
Disable Port = ClearPortFeature(PORT_ENABLE)
Action: USB hardware places addressed port in disabled state. Port 1 is placed in disabled
state by firmware.
Enable Port = SetPort Feature(PORT_ENABLE)
Action: USB hardware places addressed port in enabled state. Firmware is responsible for
placing Port 1 in enabled state.
Reset and Enable Port = SetPort Feature(PORT_RESET)
Action: USB hardware drives reset signaling through addressed port. USB hardware and
firmware resets their embedded function registers to the default state.
Suspend Port = SetPortFeature(PORT_SUSPEND)
Action: USB hardware places port in idle state and stops propagating traffic through the
addressed port. Firmware places Port 1 in suspend state by disabling its endpoints and plac-
ing the peripheral function in its low power state.
Resume Port = ClearPortFeature(PORT_SUSPEND)
Action: USB hardware sends resume signaling to addressed port and then enables port.
Firmware takes the embedded function out of the suspend state and enables Port 1's
endpoints.
• Bit 3 – Reserved
This bits is reserved in the AT43USB320A and will read as zero.
• Bit 2..0 – HPCON2..0: Hub Port Address
Initial Value
Read/Write
$1FC5
Bit
Bit6
0
0
0
0
1
R
7
0
HPCON2
R/W
6
0
Bit5
0
0
1
1
0
HPCON1
R/W
5
0
HPCON0
R/W
4
0
Bit4
0
1
0
1
0
R
3
0
HPADD2
R/W
Action
Disable port
Enable port
Reset and enable port
Suspend port
Resume port
2
0
AT43USB320A
HPADD1
R/W
1
0
HPADD0
R/W
0
0
HPCON
89

Related parts for AT43USB320A_04