| Electronic Components Datasheet Search |
|
HT45B0K Datasheet(PDF) 15 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT45B0K Datasheet(HTML) 15 Page - Holtek Semiconductor Inc |
|
15 / 23 page ![]() Rev 1.00 March 22, 2010 15 HT45B0K SPI to USB Bridge SETIO Register The SETIO register is used to configure the endpoint FIFO as IN pipe or OUT pipe. SETIO Register Bit 7 6 5 4 3 2 1 0 Name ―― SETIO5 SETIO4 SETIO3 SETIO2 SETIO1 DATATG R/W ―― R/W R/W R/W R/W R/W R/W POR ―― 11 11 1 0 Bit 7~6 Unimplemented, read as “0”. Bit 5~1 SETIO5~SETIO1: Endpoint 5 FIFO ~ Endpoint FIFO1 pipe direction control. 0: the corresponding endpoint FIFO is configured as OUT pipe. 1: the corresponding endpoint FIFO is configured as IN pipe. If the related SETIO bit is set to 1, the corresponding endpoint FIFO is configured as IN pipe for IN token operation. Otherwise, the corresponding endpoint FIFO is configured as OUT pipe for OUT token operation. The purpose of this function is to avoid the USB host from abnormally sending only an IN token or OUT token and disable the related endpoint. Bit 0 DATATG: DATA0 toggle bit 0: no operation. 1: DATA0 will be sent first. As the USB specification defined, when the USB host sends a “Set Configuration” SETUP token, the Data pipe should send the DATA0 (Data toggle) first. Therefore, when the USB device receives a “Set Configuration” SETUP token, user needs to set DATATG bit to 1 and then clear it to zero after a 2μs delay to generate a positive pulse with 2μs pulse width to make sure that the next data will send a DATA0 first. UIC register The UIC register is used to control the interrupt request for each endpoint. Interrupts can be enabled or disabled independently if the corresponding endpoint FIFO pipes are enabled. UIC Register Bit 7 6 5 4 3 2 1 0 Name ―― EU5I EU4I EU3I EU2I EU1I EU0I R/W ―― R/W R/W R/W R/W R/W R/W POR ―― 00 00 0 0 Bit 7~6 Unimplemented, read as “0”. Bit 5~0 EU5I~EU0I: USB Endpoint 5 ~ Endpoint 0 interrupt control as being accessed. 0: disable the corresponding endpoint interrupt as it is accessed. 1: enable the corresponding endpoint interrupt as it is accessed. If the related Endpoint FIFO pipe is enabled and the corresponding Endpoint interrupt is enabled, the USB interrupt for endpoint access will occur. Then a low pulse signal will be generated on line to get the attentions from the host MCU. |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |