Atmel Evaluation Kit AT91SAM9G25-EK AT91SAM9G25-EK Data Sheet

Product codes
AT91SAM9G25-EK
Page of 1102
546
SAM9G25 [DATASHEET]
11032C–ATARM–25-Jan-13
32.7.8 UDPHS Endpoint Configuration Register
Name: UDPHS_EPTCFGx 
[x=0..6]
Address:
0xF803C100 [0], 0xF803C120 [1], 0xF803C140 [2], 0xF803C160 [3], 0xF803C180 [4], 0xF803C1A0 [5], 
0xF803C1C0 [6]
Access: 
Read-write 
• EPT_SIZE: Endpoint Size
Note:
1. 1024 bytes is only for isochronous endpoint.
• EPT_DIR: Endpoint Direction
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
Set this field according to the endpoint type (see 
(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
Value
Name
Description
0
8
8 bytes
1
16
16 bytes
2
32
32 bytes
3
64
64 bytes
4
128
128 bytes
5
256
256 bytes
6
512
512 bytes
7
1024
1024 bytes