Rainbow-electronics AT89C5122 Manual do Utilizador Página 101

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 213
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 100
101
AT8xC5122/23
4202E–SCR–06/06
Endpoint FIFO reset
Before using an endpoint, its FIFO should be reset. This action resets the FIFO pointer
to its original value, resets the byte counter of the endpoint (UBYCTX register), and
resets the data toggle bit (DTGL bit in UEPCONX).
The reset of an endpoint FIFO is performed by setting to 1 and resetting to 0 the corre-
sponding bit in the UEPRST register.
For example, in order to reset the Endpoint number 2 FIFO, write 0000 0100b then 0000
0000b in the UEPRST register.
Vista de página 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 212 213

Comentários a estes Manuais

Sem comentários