반응형

원문
A USB device may be divided into three layers:
• The bottom layer is a bus interface that transmits and receives packets.
• The middle layer handles routing data between the bus interface and various endpoints on the device. An endpoint is the ultimate consumer or provider of data. It may be thought of as a source or sink for data.
• The top layer is the functionality provided by the serial bus device, for instance, a mouse or ISDN interface.
This chapter describes the common attributes and operations of the middle layer of a USB device. These attributes and operations are used by the function-specific portions of the device to communicate through the bus interface and ultimately with the host.

해설
USB 디바이스는 3개의 레이어로 나눌 서 있습니다.
- 아래 레이어는, 버스 인터페이스 입니다. 그 버스 인터페이스는 패킷들을 전송/수신 합니다.
- 중간 레이어는 디바이스 상에서, bus interface 그리고 다양한 endpoints들 사이에서의 라우팅 데이터를 처리합니다. 하나의 엔드포인트는, 궁극적인 데이터의 소비자 이거나 제공자입니다. 그것은 source 혹은 데이터를 위한 sink(싱크대) 로써, 생각할 수 있습니다.
- 가장 상위 레이어는 기능입니다. 그것은 시리얼 버스 디바이스에 의해 제공됩니다. 예를 들어, 마우스나 ISDN 인터페이스들으 말합니다. 이 챕터는, USB 디바이스의 미들 레이어의 공통 특성 그리고 동작들에 대해서 설명합니다.

이 속성들 그리고 동작들은, 버스 인터페이스를 통해, 그리고 궁극적으로 호스트와 함께, 디바이스의 function-specific portion(부분)에 의해 사용됩니다.



원문
9.2.4 Data Transfer
Data may be transferred between a USB device endpoint and the host in one of four ways. Refer to Chapter 5 for the definition of the four types of transfers. An endpoint number may be used for different types of data transfers in different alternate settings. However, once an alternate setting is selected (including the default setting of an interface), a USB device endpoint uses only one data transfer method until a different alternate setting is selected

해석
9.2.4 데이터 전송
데이터는 4개의 방법 중 하나로, USDB 디바이스 엔드포인트 그리고 호스트 사이에서, 전달되어질 수 있습니다.
전송에 대한 4가지 타입 정의는, 챕터 5를 참고하시면 됩니다.
엔드포인트 숫자는 다른 교대적인 설정에서, data transfers의 다른 타입들을 위해서, 사용될 수 있습니다.
그러나 일단 교대적인 셋팅이 선택이 되면 (인터페이스의 디폴트 설정을 포함하면서,) USB 디바이스 엔드포인트는 오직 하나의 "데이터 전송" 방법을 사용합니다, 다른 교대적인 셋팅이 선택되기 전까지는 말이죠.




원문
9.3 USB Device Requests
All USB devices respond to requests from the host on the device’s Default Control Pipe.
These requests are made using control transfers. The request and the request’s parameters are sent to the device in the Setup packet. The host is responsible for establishing the values passed in the fields listed in Table 9-2. Every Setup packet has eight bytes.

해석
9.3 USB 장치 리퀘스트들 (요청)
모든 USB 디바이스는 디바이스의 Default Control Pipe 상에서 호스트로 부터 request들에 대해서 반응합니다.
이 request들은, Control Transfer를 사용하면서 만들어집니다. 이 request 그리고 request의 파라미터는 "Setup packet" 안에서, 디바이스로 보내집니다.
호스트는 Table 9-2안에 목록화된 필드들 안에, 통과된 값들을 설립하는 것에 대해, 책임을 가지고 있습니다.
모든 Setup pakcet은 8byte를 가지고 있습니다.




원문
9.4 Standard Device Requests
This section describes the standard device requests defined for all USB devices. Table 9-3 outlines the standard device requests, while Table 9-4 and Table 9-5 give the standard request codes and descriptor types, respectively.
USB devices must respond to standard device requests, even if the device has not yet been assigned an address or has not been configured.

outlines - 설명하다.

해석
9.4 표준 디바이스 리퀘스트들 (요청)
이 섹션은, 모든 USB 디바이스들을 위해, 표준 디바이스 요청들(Standard Device Requests)에 대해서 설명합니다.
Table 9-3는 표준 디바이스 리퀘스트들을 설명합니다, Table 9-4 그리고 Table 9-5가 Standard request codes 그리고, descriptor 타입들을 각기 보여주는 반면에 말이죠.

USB 디바이스들은 standard device requests에 대해 반응해야만합니다, 설령 디바이스가 아직 주소 할당이 안되어있거나, configured가 되지 않더라도 말이죠.

반응형