Cypress Semiconductor FX2LP Technické informace Strana 340

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 460
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 339
EZ-USB FX2 Technical Reference Manual
Page 15-20 EZ-USB FX2 Technical Reference Manual v2.1
15.5.4 FIFO Reset
Figure 15-11. Restore FIFOs to Reset State
Write 0x80 to this register to NAK all transfers from the host, then write 0x02, 0x04, 0x06, or 0x08
to reset an individual FIFO (i.e., to restore endpoint FIFO flags and byte counts to their default
states), then write 0x00 to restore normal operation.
Bit 3-0 EP3:0 Endpoint
By writing the desired enpoint number (2,4,6,8), FX2 logic resets the individual endpoint.
15.5.5 Breakpoint, Breakpoint Address High, Breakpoint Address Low
Figure 15-12. Breakpoint Control
Bit 3 Break Enable Breakpoint
The BREAK bit is set when the CPU address bus matches the address held in the bit break-
point address registers (0xE606/07). The BKPT pin reflects the state of this bit. Write a 1 to
the BREAK bit to clear it. It is not necessary to clear the BREAK bit if the pulse mode bit
(BPPULSE) is set.
FIFORESET
see Section 15.14
Restore FIFOs to Default State E604
b7 b6 b5 b4 b3 b2 b1 b0
NAKALL 0 0 0 EP3 EP2 EP1 EP0
W W W W W W W W
x x x x x x x x
BREAKPT Breakpoint Control E605
b7 b6 b5 b4 b3 b2 b1 b0
0 0 0 0 BREAK BPPULSE BPEN 0
R R R R R/W R/W R/W R
0 0 0 0 0 0 0 0
Zobrazit stránku 339
1 2 ... 335 336 337 338 339 340 341 342 343 344 345 ... 459 460

Komentáře k této Příručce

Žádné komentáře