at43usb355 ATMEL Corporation, at43usb355 Datasheet - Page 82

no-image

at43usb355

Manufacturer Part Number
at43usb355
Description
At43usb355 Full-speed Usb Microcontroller With Embedded Hub, Adc And Pwm
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at43usb355E-AC
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at43usb355E-AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
at43usb355M-AC
Manufacturer:
ALTERA
0
Function Address
Register – FADDR
End-point Registers
82
AT43USB355
The USB function contains an address register that contains the function address assigned by
the host. This Function Address Register must be programmed by the microcontroller once it
has received a SET_ADDRESS request from the host and completed the status phase of the
transaction. After power up or reset, this register will contain the value of 0x00.
Function Address Register – FADDR
• Bit 7 – FEN: Function Enable
The Function Enable bit (FEN) allows the firmware to enable or disable the function end-
points. The firmware will set this bit after receipt of a reset through the hub, SetPortFea-
ture[PORT_RESET]. Once this bit is set, the USB hardware passes to and from the host.
When the Single Address bit is set, the condition of FEN is ignored.
• Bit 6..0 – FADD6...0: Function Address[6:0]
Hub End-point 0 Control Register – HEND-P0_CR
Function End-point 0 Control Register – FEND-P0_CR
• Bit 7 – EPEN: End-point Enable
0 = Disable end-point
1 = Enable end-point
• Bit 6..4 – Reserved
These bits are reserved in the AT43USB355 and will read as zero.
• Bit 3 – DTGLE: Data Toggle
Identifies DATA0 or DATA1 packets. This bit will automatically toggle and requires clearing by
the firmware only in certain special circumstances.
• Bit 2 – EPDIR: End-point Direction
0 = Out
1 = In
• Bit 1, 0 – EPTYPE: End-point Type
These bits must be programmed as 0, 0.
Initial Value
Initial Value
Read/Write
Read/Write
$24 ($44)
$1FEE
$1FE7
Bit
Bit
EPEN
EPEN
R/W
FEN
R/W
7
0
7
0
FADD6
R
6
0
R/W
6
0
R
5
0
FADD5
R/W
5
0
R
4
0
FADD4
R/W
4
0
DTGLE
DTGLE
R/W
3
0
FADD3
R/W
3
0
EPDIR
EPDIR
R/W
2
0
FADD2
R/W
EPTYPE1
EPTYPE1
2
0
R/W
1
0
FADD1
R/W
1
0
EPTYPE0
EPTYPE0
R/W
0
0
FADD0
R/W
2603G–USB–04/06
0
0
HEND-
P0_CR
FEND-P0_CR
FADDR

Related parts for at43usb355