Datasheet

865
SAM9G45 [DATASHEET]
Atmel-6438O-ATARM-SAM9G45-Datasheet_08-Dec-15
37.6.8 UDPHS Endpoint Configuration Register
Name: UDPHS_EPTCFGx [x=0..6]
Address: 0xFFF78100 [0], 0xFFF78120 [1], 0xFFF78140 [2], 0xFFF78160 [3], 0xFFF78180 [4], 0xFFF781A0 [5],
0xFFF781C0 [6]
Access: Read/Write
EPT_SIZE: Endpoint Size
Read and write:
Set this field according to the endpoint size in bytes (see Section 37.5.5 ”Endpoint Configuration”).
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.
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
000 8 bytes
001 16 bytes
010 32 bytes
011 64 bytes
100 128 bytes
101 256 bytes
110 512 bytes
111 1024 bytes
(1)