Atmel Evaluation Kit AT91SAM9M10-G45-EK AT91SAM9M10-G45-EK Hoja De Datos
Los códigos de productos
AT91SAM9M10-G45-EK
829
SAM9M10 [DATASHEET]
6355F–ATARM–12-Mar-13
38.6.11
UDPHS Endpoint Configuration Register
Name:
UDPHS_EPTCFGx
[x=0..6]
Addresses:
0xFFF78100 [0], 0xFFF78120 [1], 0xFFF78140 [2], 0xFFF78160 [3], 0xFFF78180 [4],
0xFFF781A0 [5], 0xFFF781C0 [6]
0xFFF781A0 [5], 0xFFF781C0 [6]
Access:
Read-write
• EPT_SIZE: Endpoint Size
Read and write:
).
Endpoint Size
Note:
1. 1024 bytes is only for isochronous endpoint.
• EPT_DIR: Endpoint Direction
Read and write:
0 = Clear this bit to configure OUT direction for Bulk, Interrupt and Isochronous endpoints.
1 = set this bit to configure IN direction for Bulk, Interrupt and Isochronous endpoints.
For Control endpoints this bit has no effect and should be left at zero.
• EPT_TYPE: Endpoint Type
Read and write:
).
(Endpoint 0 should always be configured as control)
31
30
29
28
27
26
25
24
EPT_MAPD
–
–
–
–
–
–
–
23
22
21
20
19
18
17
16
–
–
–
–
–
–
–
–
15
14
13
12
11
10
9
8
–
–
–
–
–
–
NB_TRANS
7
6
5
4
3
2
1
0
BK_NUMBER
EPT_TYPE
EPT_DIR
EPT_SIZE
000
8 bytes
001
16 bytes
010
32 bytes
011
64 bytes
100
128 bytes
101
256 bytes
110
512 bytes
111
1024 bytes