Cypress Semiconductor FX2LP Technical Information Seite 455

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 460
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 454
EZ-USB FX2 Technical Reference Manual v2.1 Appendix C - 29
EZ-USB FX2 Registers & Buffers
E6A3 1 EP2CS Endpoint 2 Control and Status 0 NPAK2 NPAK1 NPAK0 FULL EMPTY 0 STALL 00101000 rrrrrrrb NPAK2:0=number of packets
in the FIFO, 0-4.
NPAK1:0=number of packets
in the FIFO, 0-2"
OUT: Packets received from
USB. IN: Packets loaded and
armed.
FULL / EMPTY status bits du-
plicated in SFR space,
EP2468STAT
E6A4 1 EP4CS Endpoint 4 Control and Status 0 0 NPAK1 NPAK0 FULL EMPTY 0 STALL 00101000 rrrrrrrb
E6A5 1 EP6CS Endpoint 6 Control and Status 0 NPAK2 NPAK1 NPAK0 FULL EMPTY 0 STALL 00000100 rrrrrrrb
E6A6 1 EP8CS Endpoint 8 Control and Status 0 0 NPAK1 NPAK0 FULL EMPTY 0 STALL 00000100 rrrrrrrb
E6A7 1 EP2FIFOFLGS Endpoint 2 slave FIFO Flags 0 0 0 0 0 PF EF FF 00000010 R Not affected by FIFOPINPO-
LAR bits.
duplicated in SFR space,
EP24FIFOFLGS and
EP68FIFOFLGS
E6A8 1 EP4FIFOFLGS Endpoint 4 slave FIFO Flags 0 0 0 0 0 PF EF FF 00000010 R
E6A9 1 EP6FIFOFLGS Endpoint 6 slave FIFO Flags 0 0 0 0 0 PF EF FF 00000110 R
E6AA 1 EP8FIFOFLGS Endpoint 8 slave FIFO Flags 0 0 0 0 0 PF EF FF 00000110 R
E6AB 1 EP2FIFOBCH Endpoint 2 slave FIFO total byte
count H
0 0 0 BC12 BC11 BC10 BC9 BC8 00000000 R
OUT: full byte count; IN: bytes
in current packet
EP2 max 4096
EP$ max 1024
EP6 max 2048
EP* max 1024
E6AC 1 EP2FIFOBCL Endpoint 2 slave FIFO total byte
count L
BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0 00000000 R
E6AD 1 EP4FIFOBCH Endpoint 4 slave FIFO total byte
count H
0 0 0 0 0 BC10 BC9 BC8 00000000 R
E6AE 1 EP4FIFOBCL Endpoint 4 slave FIFO total byte
count L
BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0 00000000 R
E6AF 1 EP6FIFOBCH Endpoint 6 slave FIFO total byte
count H
0 0 0 0 BC11 BC10 BC9 BC8 00000000 R
E6B0 1 EP6FIFOBCL Endpoint 6 slave FIFO total byte
count L
BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0 00000000 R
E6B1 1 EP8FIFOBCH Endpoint 8 slave FIFO total byte
count H
0 0 0 0 0 BC10 BC9 BC8 00000000 R
E6B2 1 EP8FIFOBCL Endpoint 8 slave FIFO total byte
count L
BC7 BC6 BC5 BC4 BC3 BC2 BC1 BC0 00000000 R
E6B3 1 SUDPTRH Setup Data Pointer high ad-
dress byte
A15 A14 A13 A12 A11 A10 A9 A8 xxxxxxxx RW
E6B4 1 SUDPTRL Setup Data Pointer low address
byte
A7 A6 A5 A4 A3 A2 A1 0 xxxxxxx0 bbbbbbbr Must be word-aligned (i.e.,
must point to even-numbered
addresses)
E6B5 1 SUDPTRCTL Setup Data Pointer Auto Mode 0 0 0 0 0 0 0 SDPAUTO 00000001 RW Clear b0 to supply SUDPTR
length (override USB length)
2 reserved
E6B8 8 SETUPBUF 8 bytes of SETUP data D7 D6 D5 D4 D3 D2 D1 D0 xxxxxxxx R
SETUPDAT[0] =
bmRequestType
D7: Data Transfer Direction;
0=host-to-device, 1=device-
to-host
D65 Type; 0=standard,
1=class, 2=vendor, 3=re-
served
D40 Recipient; 0=device,
1=interface, 2=endpoint,
3=other, 431=reserved
SETUPDAT[1] = bmRequest specific request
SETUPDAT[2:3] = wValue word-sized field that varies
according to request
Hex Size Name Description b7 b6 b5 b4 b3 b2 b1 b0 Default Access Notes
Seitenansicht 454

Kommentare zu diesen Handbüchern

Keine Kommentare