LZ85194
IrDA Control Peripheral Engine User
’
s Guide
9
Endpoint
An IrDA Control Endpoint is available in PE as described in Table 2. Endpoint is a concept
idea of USB, meaning final destination of communication flow between the recognizable
host and the recognizable devices in general. The IrDA Control devices do also have the
same Endpoint concept as USB, but it is slightly different from USB
’
s physical Endpoint.
Specifically, IrDA Control Endpoint is mapped as one of the elements of LLC control field,
and is handled by HID LLC layer. The IrDA Control standard specifications allow multiple
Endpoints on a single device, and Sharp PE also conforms to this specification.
The Pipe is originally a concept idea referring to the logical communication channel of USB
itself, and is also used on IrDA Control.
As shown in Figure 9, this Endpoint conformity provides a way to implement an IrDA Con-
trol cable-less input peripheral that has both keyboard and mouse (or more likely pointing
device) functions by using EP1 and EP3. From EP1, for example, keyboard data would be
sent to the Host device, and mouse data from EP3. EP0 will receive Get_Descriptor,
Get_Status, Set_Mode IrDA Control protocol packets sent from Host device, as well as the
reply to those packets.
The data field to assign the Endpoint is available in Send_Data_withAck and Send_Data
Command for the data sending.
In addition, the data field, with which receipt Endpoint can be identified, is also available
for Recv_Data Message, that indicates data receipt.
For the compatibility, using EP1 for keyboard data and EP3 for mouse data is recommended.
Table 2. PE Endpoint
ENDPOINT
PIPE
DESCRIPTION
PURPOSE OF USE
EP0
EP1
Control Pipe
IN Data Pipe 1
Used in Get_Status, Set_Mode of IrDA Control protocol.
Sends data from Peripheral devices to Host devices.
Sends data from Host device to Peripheral devices
(future extension).
Sends data from Peripheral devices to Host devices.
EP2
OUT Data Pipe
EP3
IN Data Pipe 2
Figure 9. Example of Simultaneous Use for EP1 and EP3
PE
EP0
EP1
EP3
85194-9
KEYBOARD DATA
DESCRIPTOR DATA
MOUSE DATA