| 数据搜索系统,热门电子元器件搜索 |
|
AT83C5136-RDTUL 数据表(PDF) 105 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT83C5136-RDTUL 数据表(HTML) 105 Page - ATMEL Corporation |
|
105 / 171 page ![]() 105 AT83C5134/35/36 7683B–USB–03/07 Configuration General Configuration • USB controller enable Before any USB transaction, the 48 MHz required by the USB controller must be correctly generated (See “Clock Controller” on page 14.). The USB controller will be then enabled by setting the EUSB bit in the USBCON register. • Set address After a Reset or a USB reset, the software has to set the FEN (Function Enable) bit in the USBADDR register. This action will allow the USB controller to answer to the requests sent at the address 0. When a SET_ADDRESS request has been received, the USB controller must only answer to the address defined by the request. The new address will be stored in the USBADDR register. The FEN bit and the FADDEN bit in the USBCON register will be set to allow the USB controller to answer only to requests sent at the new address. • Set configuration T h e C O N F G b i t i n t h e U S B C O N r e g i s t e r h a s t o b e s e t a f t e r a SET_CONFIGURATION request with a non-zero value. Otherwise, this bit has to be cleared. Endpoint Configuration • Selection of an Endpoint The endpoint register access is performed using the UEPNUM register. The registers – UEPSTAX – UEPCONX – UEPDATX – UBYCTLX – UBYCTHX These registers correspond to the endpoint whose number is stored in the UEP- NUM register. To select an Endpoint, the firmware has to write the endpoint number in the UEPNUM register. Figure 52. Endpoint Selection UEPNUM Endpoint 0 Endpoint 5 UEPSTA0 UEPCON0 UEPDAT0 UEPSTA5 UEPCON5 UEPDAT5 0 1 2 3 4 5 SFR registers UEPSTAX UEPCONX UEPDATX X UBYCTH0 UBYCTL0 UBYCTH5 UBYCTL5 UBYCTHX UBYCTLX |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |