Rainbow-electronics AT89C5122 Manuel d'utilisateur Page 101

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 213
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 212 213

Commentaires sur ces manuels

Pas de commentaire