beautypg.com

Bezel id eeprom, Video data – Rockwell Automation 6182 SDK User Manual

Page 24

background image

1–18

Introduction to the RAC6182

Publication 6182-UM002B-EN-P

Global key setting information is listed here by key and value.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Keypad\Params\TypematicRepeat]

“Enabled”

REG_DWORD which is 1 for enabled, 0 for disabled

“RepeatDelay”

REG_DWORD of initial repeat delay in ms.

“RepeatRate”

REG_DWORD of subsequent repeat delay in ms.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Keypad\Params\SingleKeyMode]

“Enabled”

REG_DWORD which is 1 for enabled, 0 for disabled

“AbortEnabled”

REG_DWORD which is 1 for enabled, 0 for disabled

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Keypad\Params\HoldoffMode]

“Enabled”

REG_DWORD which is 1 for enabled, 0 for disabled

“HoldoffTime”

REG_DWORD of time in ms. for key hold-off

Keypad ID specific items include scan code to virtual key mappings and
the attribute flags. The key name contains the keypad ID printed as a
%04X value to reference the correct keypad mappings. The value names
contain the scan code number printed as a %02X value. A sample for a
keypad with ID 0x0A5C is given here.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Keypad\Keypads\0A5C]

“VirtualKey00”

REG_DWORD giving the virtual key code for scan code 0x00

“Attributes00”

REG_DWORD giving the key attributes for scan code 0x00

“VirtualKey6A”

REG_DWORD giving the virtual key code for scan code 0x6A

“Attributes6A”

REG_DWORD giving the key attributes for scan code 0x6A

Bezel ID EEPROM

The bezel EEPROM provides a total of 256 bytes of non-volatile storage.
The first 128 bytes are reserved for use by the CE operating system. The
remaining 128 bytes are available for use by application programs.

The bezel EEPROM is used by the operating system to identify
components of the bezel and traits specific to that bezel. These
components and traits may vary from unit to unit and so are
appropriately kept with the bezel. This allows interchange of bezels
without reprogramming or recalibration. The bezel configuration
information stored in this EEPROM is used by three major CE
subsystems: the video driver, the touch screen driver, and the keypad
driver.

Video Data
The video driver uses a 16 bit value in the bezel EEPROM to identify the
LCD by model. This ID is used to reference an area of registry for
settings used for any LCD panel of that model, such as resolution,
interface type, and panel timings.

The video driver also stores minimum and maximum values for contrast
and brightness in the bezel EEPROM. These values define limit values
presented on the control panel. They are stored in the EEPROM rather
than registry since individual panels of the same model may have
variances that require individual adjustments based on experimental data.

This manual is related to the following products: