| 전자부품 데이터시트 검색엔진 |
|
AT90SCR100 데이터시트(PDF) 163 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
AT90SCR100 데이터시트(HTML) 163 Page - ATMEL Corporation |
|
163 / 433 page ![]() 163 TPR0327AY–SMS–30Jan09 AT90SCR100 14.7 Double Buffering This special feature available on the endpoints 1, 2 and 3 allows the user to save time during USB transfers. It is specially recommended for BULK data transfers but is also suitable for ISOCHRONOUS or INTERRUPT. CONTROL is not possible on these double buffered endpoints. The double buffering uses two different data banks of the endpoint size. Its management remains transparent for the user. The advantages of the double buffering are the followings: • When receiving data from the host, the software can process the data received in one of the two banks while the second is being filled. The endpoints that do not have the double buffering capability must wait for their DPRAM to be emptied by the software before being ready to receive new data. • When sending data to the host, the software can fill the free bank while the USB module is sending data from the other one. The endpoints that do not have this feature must wait for the previous data to be sent before being allowed to fill again the single bank. The two following figures provide code algorithm for sending data to the host and receiving data from the host (respectively IN and OUT tokens). They are also valid for endpoints operating nor- mally (without the double buffering capability). Figure 14-4. Sending Data Packets (Single Buffering) The figure is correct if several data packets have to be sent. If only one packet is to be sent the testing of the bit USBCSE.TXPB must be ignored. FILL DPRAM SET bit USBCSEX.TXPB USBCSEX.TXPB = 0 ? YES USBCSEX.TXC = 1 ? (POLLING or INTERRUPT) NO NO YES CLEAR bit USBCSEX.TXC LAST DATA PACKET REACHED ? NO YES END USBCSEX.TXPB = 0 ? YES NO Note |
|
링크 URL |
| 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 |