Usb Report; Remote Wakeup; Wakeup Detection Mechanism - Motorola M68HC08 Designer Reference Manual

Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

7.2 USB Report

7.3 Remote Wakeup

7.3.1 Wakeup Detection Mechanism

High Data Rate Wireless USB Optical Mouse Solution
MOTOROLA
Freescale Semiconductor, Inc.
As previously mentioned, the USB routine in the JB12 is a composite device of
keyboard and mouse. It implements two HID interfaces on endpoint 1 and
endpoint 2. HID interface 0 (endpoint 1) implements a standard HID keyboard
with identical report and boot protocols. HID interface 1 (endpoint 2)
implements multimedia, power management keys, and mouse data.
The mouse report uses report ID number 3 in the HID interface 1. The report
structure is shown in
Table
Table 7-1. Interface 1 Mouse Input Report
Byte
Bit 7
Bit 6
0
1
2
3
4
Reports with ID numbers 1 and 2 in interface 1 have been used for keyboard
power management keys and multimedia keys for the keyboard protocol. If you
are interested in the composite keyboard mouse device report format in detail,
please refer to the reference design entitled USB Wireless Optical Mouse and
Multimedia Keyboard Solution (Motorola document order number, DRM042/D).
The JB12 receiver supports remote wakeup functions that can wake up the
host computer during USB suspend.
During suspend, the MCU will be periodically awakened by the IRQ interrupt.
The MCU then turns on the RF front end and detects whether valid mouse RF
packets have arrived to wake up the host. This periodic IRQ interrupt signal is
generated through the external RC charging and discharging circuit. The MCU
initializes this charging and discharging cycle before it enters power saving
mode.
After suspend, the MCU will wakeup for a short period of time for each IRQ
interrupt. This period is shorter than one complete RF packet. In the case that
an RF packet has arrived, the MCU can only determine that a portion of the
packet is being received.
Receiver Firmware
For More Information On This Product,
Go to: www.freescale.com
7-1.
Bit 5
Bit 4
Bit 3
Report ID = 3
X displacement
Y displacement
Z displacement
Receiver Firmware
USB Report
Bit 2
Bit 1
Bit 0
Middle
Right
Left
button
button
button
DRM055
35

Advertisement

Table of Contents
loading

Table of Contents