Renesas HD6417641 用户手册

下载
页码 1036
Section 20   USB Function Module 
Rev. 4.00  Sep. 14, 2005  Page 754 of 982 
REJ09B0023-0400 
 
20.3.5 
USB Interrupt Select Register 1 (USBISR1) 
USBISR1 selects the vector numbers of the interrupt requests indicated in USB interrupt flag 
register 1 (USBIFR1). If the USB issues an interrupt request to the INTC when the corresponding 
bit in USBISR1 is cleared to 0, the interrupt will be USI0 (USB interrupt 0). If the USB issues an 
interrupt request to the INTC when the corresponding bit in USBISR1 is set to 1, the interrupt will 
be USI1 (USB interrupt 1). If interrupts occur simultaneously, USI0 has priority by default.  
USBISR1 is initialized to H'07 by a power-on reset. 
Bit Bit 
Name 
Initial 
Value R/W 
Description 
7 to 3 
 All 
Reserved 
The write value should always be 0. 
EP3TR 
R/W  EP3 transfer request 
EP3TS 
R/W  EP3 transmission completion 
VBUSF 
R/W  USB bus connection 
 
20.3.6 
USB Interrupt Enable Register 0 (USBIER0) 
USBIER0 enables the interrupt requests indicated in USB interrupt flag register 0 (USBIFR0). 
When an interrupt flag is set while the corresponding bit in USBIER0 is set to 1, an interrupt 
request is sent to the CPU. The interrupt vector number is decided by the contents of USB 
interrupt select register 0 (USBISR0). 
USBIER0 is initialized to H'00 by a power-on reset. 
Bit Bit 
Name 
Initial 
Value R/W 
Description 
7 BRST 
0  R/W 
Bus 
reset 
6 EP1FULL 
0  R/W 
EP1FIFO 
full 
EP2TR 
R/W  EP2 transfer request 
EP2EMPTY  0 
R/W  EP2 FIFO empty 
SETUPTS 
R/W  Setup command receive completion 
2 EP0oTS 
0  R/W 
EPOo 
receive 
completion 
EP0iTR 
R/W  EPOi transfer request 
EP0iTS 
R/W  EPOi transmit completion