Datasheet
576
SAM9G25 [DATASHEET]
11032D–ATARM–10-Mar-2014
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
Set this field according to the endpoint size in bytes (see Section 32.6.6 ”Endpoint Configuration”).
Endpoint Size
(1)
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.
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
76543210
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