25.08.2015 Views

UM10139

UM10139 Volume 1: LPC214x User Manual - Fab@Home

UM10139 Volume 1: LPC214x User Manual - Fab@Home

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Philips SemiconductorsVolume 1<strong>UM10139</strong>Chapter 14: USB Device ControllerBit 23 22 21 20 19 18 17 16Symbol EP11TX EP11RX EP10TX EP10RX EP9TX EP9RX EP8TX EP8RXBit 15 14 13 12 11 10 9 8Symbol EP7TX EP7RX EP6TX EP6RX EP5TX EP5RX EP4TX EP4RXBit 7 6 5 4 3 2 1 0Symbol EP3TX EP3RX EP2TX EP2RX EP1TX EP1RX EP0TX EP0RXTable 194: USB Endpoint Interrupt Priority register (USBEpIntPri - address 0xE009 0040) bit descriptionBit Symbol Value Description Reset value31:0 See0 The corresponding interrupt will be routed to the slow endpoint interrupt bit 0USBEpIntPriin the Device Status register.bit allocation1 The corresponding interrupt will be routed to the fast endpoint interrupt bittable abovein the Device Status register.14.7.12 USB Realize Endpoint register (USBReEp - 0xE009 0044)Though fixed-endpoint configuration implements 32 endpoints, it is not a must that allhave to be used. If the endpoint has to be used, it should have buffer space in theEP_RAM. The EP_RAM space can be optimized by realizing a subset of endpoints. Thisis done through programming the Realize Endpoint register. Each physical endpoint hasone bit as shown in Table 196. The USBReEp is a read/write register.Table 195: USB Realize Endpoint register (USBReEp - address 0xE009 0044) bit allocationReset value: 0x0000 0003Bit 31 30 29 28 27 26 25 24Symbol EP31 EP30 EP29 EP28 EP27 EP26 EP25 EP24Bit 23 22 21 20 19 18 17 16Symbol EP23 EP22 EP21 EP20 EP19 EP18 EP17 EP16Bit 15 14 13 12 11 10 9 8Symbol EP15 EP14 EP13 EP12 EP11 EP10 EP9 EP8Bit 7 6 5 4 3 2 1 0Symbol EP7 EP6 EP5 EP4 EP3 EP2 EP1 EP0Table 196: USB Realize Endpoint register (USBReEp - address 0xE009 0044) bit descriptionBit Symbol Value Description Reset value0 EP0 0 Control endpoint EP0 is not realized. 11 Control endpoint EP0 is realized.1 EP1 0 Control endpoint EP1 is not realized. 11 Control endpoint EP1 is realized.31:2 EPxx 0 Endpoint EPxx is not realized. 01 Endpoint EPxx is realized.At power on only default control endpoint is realized. Other endpoints if required have tobe realized by programming the corresponding bit in the Realize Endpoint register.Realization of endpoints is a multi-cycle operation. The pseudo code of endpointrealization is shown below.for every endpoint to be realized,9397 750 XXXXX © Koninklijke Philips Electronics N.V. 2005. All rights reserved.User manual Rev. 01 — 15 August 2005 208

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!