| Zakładka z wyszukiwarką danych komponentów |
|
ST7SCR1R4 Arkusz danych(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST7SCR1R4 Arkusz danych(HTML) 51 Page - STMicroelectronics |
|
51 / 102 page ![]() ST7SCR 51/102 USB INTERFACE (Cont’d) ENDPOINT 2 RECEPTION REGISTER (EP2RXR) Read/Write Reset value: 0000 0000 (00h) This register is used for controlling Endpoint 2 re- ception. Bits 2:0 are also reset by a USB reset, ei- ther received from the USB or forced through the FRES bit in the USBCTLR register. Bits [7:4] = Reserved, forced by hardware to 0. Bit 3 = CTR_RX Reception Correct Transfer. This bit is set by hardware when a correct transfer operation is performed in reception. This bit must be cleared after that the corresponding interrupt has been serviced. Bit 2 = DTOG_RX Data Toggle, for reception transfers. It contains the expected value of the toggle bit (0=DATA0, 1=DATA1) for the next data packet. The receiver toggles DTOG_RX only if it receives acorrect data packet and the packet’s data PID matches the receiver sequence bit. Bits [1:0] = STAT_RX [1:0] Status bits, for recep- tion transfers. These bits contain the information about the end- point status, which is listed below: Table 18. Reception Status Encoding These bits are written by software, but hardware sets the STAT_RX bits to NAK when a correct transfer has occurred (CTR=1) addressed to this endpoint, so the software has the time to examine the received data before acknowledging a new transaction. 70 0000 CTR_R X DTOG _RX STAT_ RX1 STAT_ RX0 STAT_RX1 STAT_RX0 Meaning 00 DISABLED: reception trans- fers cannot be executed. 01 STALL: the endpoint is stalled and all reception requests re- sult in a STALL handshake. 10 NAK: the endpoint is naked and all reception requests re- sult in a NAK handshake. 11 VALID: this endpoint is ena- bled for reception. 1 |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |