LZ85194
24
IrDA Control Peripheral Engine User
’
s Guide
Operation Status Control
Table 14 shows an example of the interface between PE and μP in controlling PE
’
s oper-
ation status.
Peripheral Device Specific Information
Peripheral Information
The following information must be given for Peripheral Info (InfoID = 0) in the order of PF
ID and Peripheral Info.
Peripheral Physical ID (PFID)
Peripheral Physical ID (PFID) must be written to PE in the PFID (Peripheral Physical ID) for-
mat specified in the IrDA Control Specification*. Examples for mouse are shown in Table 15.
If PFID is generated with random number, there is a possibility of having Peripheral
devices with the same PFID. Peripheral devices with the same PFID cannot be operated
simultaneously. It is recommended that a DIP switch or other similar method be provided
on the μP side in order to clearly assign D3 - D0. This will prevent the occurrence of periph-
eral devices with the same PFID. For the keyboard with the pointing device capability, both
D30 and D31 must be set to
‘
1
’
.
Table 14. Interface Example Between μP and PE (2)
PE STATUS AND
OPERATION
SS-WIRE INTERFACE
μP OPERATION
IrDA-Control_Status_Change
will be set.
←
Set_Operation Mode
Set
‘
1
’
to the Mode bit of the IrDA-
Control_Status_Change, and
configure PE to inform the
operation status to the μP.
PE to stop operation. If in
Bound state, it shifts to
Unbound state.
PE to start operation. Start
Binding from Host device.
Complete Binding with Host
device, and IrDA Control com-
munication status switches to
Bound state. PE informs μP of
its status change by Message.
←
Shutdown
Issue Shutdown command.
←
Send_Data_withAck
Issue Send_Data_withAck
command.
(M
→
H)
←
Get_Message
IrDA-Control_Status_Change (2)
→
Receive Message from PE.
Acknowledge that the communica-
tion status is now in Bound state.
Table 15. Writing Peripheral Physical ID to PE in PFID Format Example for Mouse
BIT
DENOTES
DESCRIPTION
D0 - D29 Pre-assigned number or a pseudo-random number
D30
Mouse
0
1
0
1
This peripheral is not a mouse device.
This peripheral is a mouse device.
This peripheral is not a keyboard device.
This peripheral is a keyboard device.
D31
Keyboard Device flag