Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

AT83C5136-RDTUL Fiches technique(PDF) 107 Page - ATMEL Corporation

No de pièce AT83C5136-RDTUL
Description  8-bit Microcontroller with Full Speed USB Device
PDF  171 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  ATMEL [ATMEL Corporation]
Site Internet  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

AT83C5136-RDTUL Fiches technique(HTML) 107 Page - ATMEL Corporation

Back Button AT83C5136-RDTUL Datasheet HTML 103Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 104Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 105Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 106Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 107Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 108Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 109Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 110Page - ATMEL Corporation AT83C5136-RDTUL Datasheet HTML 111Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 107 / 171 page
background image
107
AT83C5134/35/36
7683B–USB–03/07
•
Endpoint FIFO reset
Before using an endpoint, its FIFO will be reset. This action resets the FIFO pointer
to its original value, resets the byte counter of the endpoint (UBYCTLX and
UBYCTHX registers), 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
corresponding 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.
Note that the endpoint reset doesn’t reset the bank number for ping-pong endpoints.
Read/Write Data FIFO
FIFO Mapping
Depending on the selected endpoint through the UEPNUM register, the UEPDATX reg-
ister allows to access the corresponding endpoint data fifo.
Figure 53. Endpoint FIFO Configuration
Read Data FIFO
The read access for each OUT endpoint is performed using the UEPDATX register.
After a new valid packet has been received on an Endpoint, the data are stored into the
FIFO and the byte counter of the endpoint is updated (UBYCTLX and UBYCTHX regis-
ters). The firmware has to store the endpoint byte counter before any access to the
endpoint FIFO. The byte counter is not updated when reading the FIFO.
To read data from an endpoint, select the correct endpoint number in UEPNUM and
read the UEPDATX register. This action automatically decreases the corresponding
address vector, and the next data is then available in the UEPDATX register.
Write Data FIFO
The write access for each IN endpoint is performed using the UEPDATX register.
To write a byte into an IN endpoint FIFO, select the correct endpoint number in UEP-
NUM and write into the UEPDATX register. The corresponding address vector is
automatically increased, and another write can be carried out.
Warning 1: The byte counter is not updated.
Warning 2: Do not write more bytes than supported by the corresponding endpoint.
UEPNUM
Endpoint 0
Endpoint 5
UEPSTA0
UEPCON0
UEPDAT0
UEPSTA5
UEPCON5
UEPDAT5
0
1
2
3
4
5
SFR registers
UEPSTAX
UEPCONX
UEPDATX
X
UBYCTH0
UBYCTL0
UBYCTH5
UBYCTL5
UBYCTHX
UBYCTLX



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com