반응형

2.1 Queue Header (QH)

 QH의 주요 목적은 특정한 엔드포인트의 특징을 정의하는 것 입니다. 그 엔드포인터는 할당되어 있는 엔드포인터를 말합니다. 이것은 다음을 의미합니다.

 - 대부분의 경우에, 각각의 디바이스 엔드포인트를 위한, 하나의 QH가 할당된다.

QH들은 32바이트로 정렬되어져 있어야 합니다.

 

 

2.2 Queue Element Transfer Descriptor (qTD)

 qTD란, Queue Element Transfer Descriptor의 줄임말입니다.

 qTD는 컨트롤, 벌크 또는 인터럽트 전송(transfers)에 대해서, 실제 데이터 이동을 정의합니다. (등시성 전송은 빠져있습니다.)

 qTD는 단일-링크드 리스트로써 처리됩니다. QH(Queue Header)에서, 다음 qTD 포인터는, 링크드 리스크 안에서, 첫번째 qTD로 초기화됩니다.

 첫번째 qTD가 처리된 후에, 컨트롤러는 첫번째 qTD 안에서 두번째 qTD를 찾은 후, 그 다음 qTD 포인터를 사용합니다. 이 절차는 invalid한 qTD 포인터를 가진 qTD에 도달할 떄 까지, 반복됩니다.

 qTD들은 32-byte 제약들로 정렬되어져야 합니다.

 

Interrupt on complete. qTD가 완료되면, IOC 비트가 1로 셋이됩니다.

 

 

 

원문

2.1 Queue Head (QH)

The primary purpose of the QH is to define the characteristics of a particular endpoint that is being addressed. This means that in most cases there is one QH for each device endpoint being addressed. QHs must be 32-byte aligned

 

2.2 Queue Element Transfer Descriptor (qTD)

A qTD defines an actual data movement for control, bulk, or interrupt transfers. The qTDs are processed as a singly-linked list. The next qTD pointer in the QH should be initialized to point to the first qTD in the linked list. After the first qTD is processed, the controller uses the next qTD pointer in the first qTD to find the second qTD. This process repeats until a qTD with an invalid next qTD pointer is reached. qTDs must be aligned on 32-byte boundaries.

 

Interrupt on complete. If this bit is set, when this qTD is completed

 

 

 

 

출처

https://www.nxp.com/docs/en/application-note-software/AN3520.pdf

반응형