| Electronic Components Datasheet Search |
|
HT46RB50 Datasheet(PDF) 30 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46RB50 Datasheet(HTML) 30 Page - Holtek Semiconductor Inc |
|
30 / 53 page ![]() HT46RB50 Rev. 1.20 30 November 1, 2006 There are some timing constrains and usages illustrated here. By setting the MISC register, MCU can perform reading, writing and clearing actions. There are some examples shown in the following table for endpoint FIFO reading, writing and clearing. Actions MISC Setting Flow and Status Read FIFO0 sequence 00H ®01H®delay 2ms, check 41H®read* from FIFO0 register and check not ready (01H) ®03H®02H Write FIFO0 sequence 02H ®03H®delay 2ms, check 43H®write* to FIFO0 register and check not ready (03H) ®01H®00H Check whether FIFO0 can be read or not 00H ®01H®delay 2ms, check 41H (ready) or 01H (not ready)®00H Check whether FIFO0 can be written or not 02H ®03H®delay 2ms, check 43H (ready) or 03H (not ready)®02H Read 0-sized packet sequence form FIFO0 00H ®01H®delay 2ms, check 81H®read once (01H)®03H®02H Write 0-sized packet sequence to FIFO0 02H ®03H®delay 2ms, check 03H®07H®06H®00H Read or Write FIFO Table Note: *: There are 2 ms existing between 2 reading action or between 2 writing action Bit No. Label R/W Function 0 DATATG* R/W To toggle this bit, all the DATA token will send a DATA0 first. 1 SETIO1** R/W Set endpoint 1 input or output pile (1/0), default input pipe (1) 2 SETIO2** R/W Set endpoint 2 input or output pile (1/0), default input pipe (1) 3 SETIO3** R/W Set endpoint 3 input or output pile (1/0), default input pipe (1) 4~7 ¾¾ Undefined bit, read as ²0² SETIO Register (27H), USB Endpoint 1~Endpoint5 Set IN/OUT Pipe Register Note: *USB definition: when the host sends a ²set Configuration², the Data pipe should send the DATA0 (Data tog- gle) first. So, when the device receives a ²set configuration² setup command, user needs to toggle this bit so the next data will send a Data0 first. **Needs to set the data pipe as an input pile or output pile. The purpose of this function is to avoid the host from abnormally sending only an IN or OUT token and disables the endpoint. Options The following table shows all kinds of options in the microcontroller. All of the OTP options must be defined to ensure a proper functioning system. No. Option 1 PA0~PA7 pull-high resistor enable or disable (by bit) 2 PB0~PB7 pull down resistor enable or disable (by bit) 3 PC0~PC7 pull-high resistor enable or disable (by nibble) 4 PD0~PD7 pull-high resistor enable or disable (by nibble) 5 PE0~PE5 pull-high resistor enable or disable (by nibble) 6 LVR enable or disable R e q . R e a d y T x R e a d F I F O T i m i n g R e q . R e a d y T x W r i t e F I F O T i m i n g |
|
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 |