Firmware Files - Motorola M68HC08 Designer Reference Manual

Usb and ps/2 multimedia keyboard interface reference design
Hide thumbs Also See for M68HC08:
Table of Contents

Advertisement

1.6 Firmware Files

DRM014 — Rev 0
MOTOROLA
Freescale Semiconductor, Inc.
Table 1-12. Interface 1 Multimedia Key Input Report
Byte
Bit 7
Bit 6
0
1
M7
M6
2
M15
M14
3
M23
M22
4
Table 1-13
shows some input report examples. Report ID is not used in
interface 0. The first byte is the modifier byte and is set on bit basis.
Whenever a modifier key is pressed, the corresponding bit is set to one.
For example, if the Left Control and the character 'A' keys are pressed,
the first byte of the report equals $01, the second byte is reserved, the
third byte equals $04, and the forth to the eight bytes equal $00.
Power Management keys are reported through interface 1 with report ID
1. For example, if the Wake key is pressed, the first byte of the report ID
equals $01, and the second byte equals $02 since the Wake key is
defined as bit 2 of the second byte
Hot keys are reported through interface 1 with reported ID 2. For
example, if hot key 0 and hot key 17 are pressed, the first byte of report
ID equals $02, the second byte equals $01 since hot key 0 is pressed,
the third byte equals $00 since hot keys 8 to 16 are not pressed, and the
forth byte equals $02 since the hot key 17 is pressed.
Table 1-13. Input Report Examples
Keys Pressed
Left Control, 'A'
Left Control, Right Alt, 'A', 'B'
Wake
Hot Key 0 & Hot Key 17
Firmware is compiled under CASM08Z.EXE ver 3.16 from P&E
Microcomputer Systems, Inc.
Table 1-14
summarizes the functions of each firmware files:
USB and PS/2 Multimedia Keyboard Interface
For More Information On This Product,
Go to: www.freescale.com
USB and PS/2 Multimedia Keyboard Interface
Bit 5
Bit 4
Bit 3
Report ID = 2
M5
M4
M3
M13
M12
M11
M21
M20
M19
Reserved for M24 - M31
Endpoint
1
$01,$00,$04,$00,$00,$00,$00,$00
1
$41,$00,$04,$05,$00,$00,$00,$00
2
$01,$02
2
$02,$01,$00,$02
Firmware Files
Bit 2
Bit 1
Bit 0
M2
M1
M0
M10
M9
M8
M18
M17
M16
In Report Data
Designer Reference Manual
29

Advertisement

Table of Contents
loading

Table of Contents