Download LPC32x0
Transcript
D D D D D R R R R R D R R FT FT FT FT A A A A R R D D D D R R A FT FT FT A A R R D D D R A D FT FT A A R R D b) Registers marked ‘S’ for access allows individual bits to be set to ‘1’ for each corresponding register bit. Bits set to ‘0’ will not affect the value of the corresponding register bit. Reading an ‘S’ marked register will return an invalid value. F FT FT A A R R D D D The R/W column in Table 15–332 lists the accessibility of the register: a) Registers marked ‘R’ for access will return their current value when read. FT FT FT FT FT LPC32x0 Chapter 15: LPC32x0 USB device controller [1] A A A A A NXP Semiconductors D D c) Registers marked ‘C’ for access allows individual bits to be cleared by writing a value that has bits set to ‘1’ for each corresponding register bit that needs to be set to ‘0’. Bits set to ‘0’ will not affect the value of the corresponding register bit. Reading a ‘C’ marked register will return invalid value. R A FT D d) Registers marked ‘R/W’ allow both read and write. R A 3.6 USB device register definitions 3.6.1 USB Device Interrupt Status Register - (USBDevIntSt - 0x3102 0200, R) Interrupt status register holds the value of the interrupt. ‘0’ indicates no interrupt and ‘1’ indicates the presence of the interrupt. Table 335. USB Device Interrupt Status Register - (USBDevIntSt - 0x3102 0200, R) Bits Name Function Reset value 31:10 - Reserved 0x0 9 ERR_INT Error Interrupt. Any bus error interrupt from the USB device. Refer to 0 section Section 15–3.8.1.9 “ReadErrorStatus”. 8 EP_RLZED Endpoints realized. Set when Realize endpoint register or Maxpacket 0 size register is updated. 7 TxENDPKT The number of data bytes transferred to the FIFO equals the number 0 of bytes programmed in the TxPacket length register. 6 RxENDPKT The current packet in the FIFO is transferred to the CPU. 0 5 CDFULL Command data register is full (Data can be read now). 0 4 CCEMPTY The command code register is empty (New command can be written). 1 3 DEV_STAT Set when USB Bus reset, USB suspend change or Connect change event occurs. Refer to section Section 15–3.8.1.6 “Set Device Status”. 0 2 EP_SLOW This is the Slow interrupt transfer for the endpoint. If an Endpoint Interrupt Priority Register bit is not set, the endpoint interrupt will be routed to this bit. 0 1 EP_FAST This is the fast interrupt transfer for the endpoint. If an Endpoint 0 Interrupt Priority register bit is set, the endpoint interrupt will be routed to this bit. 0 FRAME The frame interrupt occurs every 1 ms. This is to be used in isochronous packet transfer. 0 3.6.2 USB Device Interrupt Enable Register - (USBDevIntEn - 0x3102 0204, R/W) If the Interrupt Enable bit value is set, an external interrupt is generated (on Fast or Slow Interrupt line) when the corresponding bit in the interrupt status register is set. If it is not set, no external interrupt is generated but interrupt will still be held in the interrupt status register. The bit field definition is same as the device interrupt status register as shown in Table 15–335. All bits of this register are cleared after reset. <Document ID> User manual © NXP B.V. 2008. All rights reserved. Rev. 00.26 — 20 November 2008 361 of 719
Related documents