Download S3FN60D
Transcript
S3FN60D_UM_REV1.30 17 USB Controller 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 – – – – – – – – – – – – – – – – – – – – – R – RSVD 31 9 7 6 0 0 0 R – W Name Bit Type [31:11] – RSTIEN [10] RW RSVD [9] – SUSIEN [8] RW [7:5] – RSVD RSVD EP0IEN– EP4IEN [4:0] RW Description 8 W 5 4 3 2 0 0 0 0 0 – – 1 0 0 0 EP0IEN–EP4IEN Address = Base Address + 0x000C, Reset Value = 0x0000_041F RSVD SUSIEN Base Address: 0x4010_0000 RSTIEN RSVD 17.2.1.4 USBINTCON R R R R R W W W W W Reset Value Reserved (Not used) 0 ReSeT Interrupt ENable If bit = 0, the corresponding interrupt is disabled. If bit = 1, the corresponding interrupt is enabled. 1 Reserved 0 SUSpend Interrupt ENable If bit = 0, the corresponding interrupt is disabled. If bit = 1, the corresponding interrupt is enabled. 0 Reserved (Not used) 0 EP0 Interrupt ENable–EP4 Interrupt Enable [4] EndPoint 4 Interrupt ENable (EP4IEN) 0 = Disable endpoint 4 interrupt 1 = Enable endpoint 4 interrupt [3] EndPoint 3 Interrupt ENable (EP3IEN) 0 = Disable endpoint 3 interrupt 1 = Enable endpoint 3 interrupt [2] EndPoint 2 Interrupt ENable (EP2IEN) 0 = Disable endpoint 2 interrupt 1 = Enable endpoint 2 interrupt [1] EndPoint 1 Interrupt ENable (EP1IEN) 0 = Disable endpoint 1 interrupt 1 = Enable endpoint 1 interrupt [0] EndPoint 0 Interrupt ENable (EP0IEN) 0 = Disable endpoint 0 interrupt 1 = Enable endpoint 0 interrupt 0 Corresponding to each USB Interrupt Register (USBINTMON), there is an interrupt enable bit at USB Interrupt Control Register (USBINTCON). By default all interrupts are disabled. 17-10