| Electronic Components Datasheet Search |
|
HT46RB50 Datasheet(PDF) 29 Page - Holtek Semiconductor Inc |
|
|
|||||||||||||||||||||||||||||
HT46RB50 Datasheet(HTML) 29 Page - Holtek Semiconductor Inc |
|
29 / 53 page ![]() HT46RB50 Rev. 1.20 29 November 1, 2006 Bit No. Label R/W Function 0 ASET R/W This bit is used to configure the SIE to automatically change the device address with the value stored in the AWR register. When this bit is set to ²1² by firmware, the SIE will update the device address with the value stored in the AWR register after the PC host has successfully read the data from the device by IN operation. Otherwise, when this bit is cleared to ²0², the SIE will update the device address immediately after an address is written to the AWR register. So, in order to work properly, firmware has to clear this bit after the next valid SETUP token is re- ceived. 1 ERR R/W This bit is used to indicate there are some errors occurred during the FIFO0 is ac- cessed. This bit is set by SIE and should be cleared by firmware. 2 OUT R/W This bit is used to indicate there are OUT token (except for the OUT zero length token) that have been received. The firmware clears this bit after the OUT data has been read. Also, this bit will be cleared by SIE after the next valid SETUP to- ken is received. 3IN R This bit is used to indicate that the current USB receiving signal from the PC host is IN token. (1=IN token; 0=Non IN token) 4 NAK R This bit is used to indicate that the SIE has transmitted a NAK signal to the host in response to the PC host IN or OUT token. (1=NAK signal; 0=Non NAK signal) 5 CRCF R/W Error condition failure flag include CRC, PID, no integrate token error, CRCF will be set by hardware and the CRCF need to be cleared by firmware. 6 EOT R Token Package active flag, low active. 7 NMI R/W NAK token interrupt mask flag. If this bit is set, when the device sent a NAK token to the host, interrupt will not occur. Otherwise, when this bit is cleared, and the device sent a NAK token to the host, it will enter the interrupt sub-routine. SIES (25H) Definitions MISC register combines a command and status to control the desired endpoint FIFO action and to show the status of the desired endpoint FIFO. The MISC will be cleared by USB reset signal. Bit No. Label R/W Function 0 REQUEST R/W After selecting the desired endpoint, FIFO can be requested by setting this bit as high active. Afterwards, this bit must be set low. 1 TX R/W This indicates the direction and transition end which the MCU accesses. When set as logic 1, the MCU writes data to FIFO. Afterwards, this bit must be set to logic 0 before terminating request to indicate transition end. For reading action, this bit must be set to logic 0 to indicate that the MCU wants to read and must be set to logic 1 afterwards. 2 CLEAR R/W This indicates an MCU clear requested FIFO, even if the FIFO is not ready. After clearing the FIFO, USB interface will send force_tx_err to tell Host that data un- der-run if Host want to read data. 3~4 ¾ R/W Reserved bit 5 SETCMD R/W To show that the data in FIFO is setup command. This bit will last this state until next one entering the FIFO. (1=SETCMD token; 0=Non SETCMD token) 6 READY R To tell that the desired FIFO is ready to work. (1=Ready to work; 0=Non ready to work) 7 LEN0 R/W To tell that host sent a 0-sized packet to MCU. This bit must be cleared by read action to corresponding FIFO. (1=Host sent a 0-sized packet) MISC (26H) Definitions |
|
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 |