Datasheet

829
SAM9M10 [DATASHEET]
6355FATARM12-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]
Access: Read-write
EPT_SIZE: Endpoint Size
Read and write:
Set this field according to the endpoint size in bytes (see Section 38.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.
EPT_TYPE: Endpoint Type
Read and write:
Set this field according to the endpoint type (see Section 38.5.5 ”Endpoint Configuration”).
(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
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)