Cypress Semiconductor EZ-Host CY7C67300 User Manual Page 56

  • Download
  • Add to my manuals
  • Print
  • Page
    / 120
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 55
CY7C6730
0
PRELIMINARY
Document #: 38-08015 Rev. *D Page 56 of 120
Stall Enable (Bit 5)
The Stall Enable bit will send a Stall in response to the next request (unless it is a set-up request which are always ACKed). This
is a sticky bit and will continue to respond with Stalls until cleared by firmware.
1: Send Stall
0: Do not send Stall
ISO Enable (Bit 4)
The ISO Enable bit enables and disables an Isochronous transaction. This bit is only valid for EPs 1–7 and has no function for EP0.
1: Enable Isochronous transaction
0: Disable Isochronous transaction
NAK Interrupt Enable (Bit 3)
The NAK Interrupt Enable bit enables and disables the generation of an Endpoint n interrupt when the device responds to the
host with a NAK. The Endpoint n Interrupt Enable bit in the Device n Interrupt Enable Register must also be set. When a NAK is
sent to the host, the corresponding EP Interrupt Flag in the Device n Status Register will be set. In addition, the NAK Flag in the
Device n Endpoint n Status Register will be set.
1: Enable NAK interrupt
0: Disable NAK interrupt
Direction Select (Bit 2)
The Direction Select bit needs to be set according to the expected direction of the next data stage in the next transaction. If the
data stage direction is different from what is set it this bit, it will get NAKed and either the IN Exception Flag or the OUT Exception
Flag will be set in the Device n Endpoint n Status Register. If a set-up packet is received and the Direction Select bit is set
incorrectly, the set-up will get ACKed and the Set-up Status Flag will be set (please refer to the set-up bit of the Device n Endpoint
n Status Register for details).
1: OUT transfer (host to device)
0: IN transfer (device to host)
Enable (Bit 1)
The Enable bit must be set to allow transfers to the endpoint. If Enable is set to ‘0’ then all USB traffic to this endpoint will be
ignored. If Enable is set ‘1’ and Arm Enable (bit 0) is set ‘0’ then NAKs will automatically be returned from this endpoint (except
setup packets which are always ACKed as long as the Enable bit is set.)
1: Enable transfers to an endpoint
0: Do not allow transfers to an endpoint
Arm Enable (Bit 0)
The Arm Enable bit arms the endpoint to transfer or receive a packet. This bit is cleared to ‘0’ when a transaction is complete.
1: Arm endpoint
0: Endpoint disarmed
Reserved
All reserved bits should bit written as ‘0’.
7.6.2 Device n Endpoint n Address Register [R/W]
Device n Endpoint 0 Address Register [Device 1: 0x0202 Device 2: 0x0282]
Device n Endpoint 1 Address Register [Device 1: 0x0212 Device 2: 0x0292]
Device n Endpoint 2 Address Register [Device 1: 0x0222 Device 2: 0x02A2]
Device n Endpoint 3 Address Register [Device 1: 0x0232 Device 2: 0x02B2]
Device n Endpoint 4 Address Register [Device 1: 0x0242 Device 2: 0x02C2]
Device n Endpoint 5 Address Register [Device 1: 0x0252 Device 2: 0x02D2]
Device n Endpoint 6 Address Register [Device 1: 0x0262 Device 2: 0x02E2]
Device n Endpoint 7 Address Register [Device 1: 0x0272 Device 2: 0x02F2]
Page view 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 119 120

Comments to this Manuals

No comments