Cypress Semiconductor EZ-Host CY7C67300 User Manual Page 59

  • Download
  • Add to my manuals
  • Print
  • Page
    / 120
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 58
CY7C6730
0
PRELIMINARY
Document #: 38-08015 Rev. *D Page 59 of 120
NAK Flag (Bit 6)
The NAK Flag bit indicates that a NAK packet was sent to the host.
1: NAK packet was sent to the host
0: NAK packet was not sent
Length Exception Flag (Bit 5)
The Length Exception Flag bit indicates the received data in the data stage of the last transaction does not equal the maximum
Endpoint Count specified in the Device n Endpoint n Count Register. A Length Exception can either mean an overflow or
underflow and the Overflow and Underflow flags (bits 11 and 10 respectively) should be checked to determine which event
occurred.
1: An overflow or underflow condition occurred
0: An overflow or underflow condition did not occur
Set-up Flag (Bit 4)
The Set-up Flag bit indicates that a set-up packet was received. In device mode set-up packets get stored at memory location
0x0300 for Device 1 and 0x0308 for Device 2. Set-up packets are always accepted regardless of the Direction Select and Arm
Enable bit settings as long as the Device n EP n Control Register Enable bit is set.
1: Set-up packet was received
0: Set-up packet was not received
Sequence Flag (Bit 3)
The Sequence Flag bit indicates whether the last data toggle received was a DATA1 or a DATA0. This bit has no effect on receiving
data packets, sequence checking must be handled in firmware.
1: DATA1 was received
0: DATA0 was received
Time-out Flag (Bit 2)
The Time-out Flag bit indicates whether a time-out condition occurred on the last transaction. On the device side, a time-out can
occur if the device sends a data packet in response to an IN request but then does not receive a handshake packet in a
predetermined time. It can also occur if the device does not receive the data stage of an OUT transfer in time.
1: Time-out occurred
0: Time-out condition did not occur
Error Flag (Bit 2)
The Error Flag bit will be set if a CRC5 and CRC16 error occurs, or if an incorrect packet type is received. Overflow and underflow
are not considered errors and do not affect this bit.
1: Error occurred
0: Error did not occur
ACK Flag (Bit 0)
The ACK Flag bit indicates whether the last transaction was ACKed.
1: ACK occurred
0: ACK did not occur
7.6.5 Device n Endpoint n Count Result Register [R/W]
Device n Endpoint 0 Count Result Register [Device 1: 0x0208 Device 2: 0x0288]
Device n Endpoint 1 Count Result Register [Device 1: 0x0218 Device 2: 0x0298]
Device n Endpoint 2 Count Result Register [Device 1: 0x0228 Device 2: 0x02A8]
Device n Endpoint 3 Count Result Register [Device 1: 0x0238 Device 2: 0x02B8]
Device n Endpoint 4 Count Result Register [Device 1: 0x0248 Device 2: 0x02C8]
Device n Endpoint 5 Count Result Register [Device 1: 0x0258 Device 2: 0x02D8]
Device n Endpoint 6 Count Result Register [Device 1: 0x0268 Device 2: 0x02E8]
Device n Endpoint 7 Count Result Register [Device 1: 0x0278 Device 2: 0x02F8]
Page view 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 119 120

Comments to this Manuals

No comments