| поискавой системы для электроныых деталей |
|
PIC16C745/P датащи(PDF) 67 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PIC16C745/P датащи(HTML) 67 Page - Microchip Technology |
|
67 / 158 page ![]() © 1999 Microchip Technology Inc. Advanced Information DS41124A-page 67 PIC16C745/765 10.5.1.10 USB Endpoint Control Register (EPCn) The Endpoint Control Registers contains the endpoint control bits for each of the 6 endpoints available on USB for a decoded address. These four bits define the control necessary for any one endpoint. Endpoint 0 (ENDP0) is associated with control pipe 0 which is required by USB for all functions (IN, OUT, and SETUP). Therefore, after a USB_RST interrupt has been received the microprocessor should set ENDPT0 to contain 06h. REGISTER 10-9: USB ENDPOINT CONTROL REGISTER (UEPn: 198H-19Ah) U-0 U-0 U-0 U-0 R/W-0 R/W-0 R/W-0 R/W-0 — — — — EP_CTL_DIS EP_OUT_EN EP_IN_EN EP_STALL R = Readable bit W = Writable bit U = Unimplemented bit, read as ‘0’ -n = Value at POR reset bit7 bit0 bit 7-4: Unimplemented: Read as ’0’. bit 3-1: EP_CTL_DIS, EP_OUT_EN, EP_IN_EN: These three bits define if an endpoint is enabled and the direc- tion of the endpoint. The endpoint enable/direction control is defined as follows: bit 0: EP_STALL: When this bit is set it indicates that the endpoint is stalled. This bit has priority over all other control bits in the Endpoint Enable register, but is only valid if EP_IN_EN=1 or EP_OUT_EN=1. Any access to this endpoint will cause the USB to return a STALL handshake. The EP_STALL bit can be set or cleared by the SIE. Refer to the USB 1.1 Specification, Sections 4.4.4 and 8.5.2 for more details on the STALL protocol. EP_CTL_DIS EP_OUT_EN EP_IN_EN Endpoint Enable/Direction Control X 0 0 Disable Endpoint X 0 1 Enable Endpoint for IN tokens only X 1 0 Enable Endpoint for OUT tokens only 1 1 1 Enable Endpoint for IN and OUT tokens 0 1 1 Enable Endpoint for IN, OUT, and SETUP tokens |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |