Syntax
typedef enum {
  VM_DCL_KBD_COMMAND_CONFIG_PIN = 0xC0D
} VM_DCL_KBD_COMMAND;
ContentsIndex
PreviousUpNext
VM_DCL_KBD_COMMAND
Example
Syntax
typedef enum {
  VM_DCL_KBD_COMMAND_CONFIG_PIN = 0xC0D
} VM_DCL_KBD_COMMAND;
Description

This enum defines the control command for kbd module and is used in vm_dcl_control as a parameter. With different commands, users can control the different functions of the keyboard. To control the keyboard, you can use the DCL(Driver Common Layer) APIs.

Example
  #include "vm_dcl.h"
  VM_DCL_HANDLE       kbd_handle;                     // Declares a VM_DCL_HANDLE variable. 
  vm_dcl_kbd_control_pin_t kbdmap;
  kbd_handle       = vm_dcl_open(VM_DCL_KBD,0);     // Calls vm_dcl_open to get a handle. The second parameter should always be 0.
  kbdmap.colmap  = 0x01;
  kbdmap.rowmap = 0x01;
  vm_dcl_control(kbd_handle,VM_DCL_KBD_COMMAND_CONFIG_PIN,(void *)(&kbdmap)); // Calls vm_dcl_control to set the column and row.
  vm_dcl_close(kbd_handle);                                       // Calls vm_dcl_close to close the handle.
File

vmdcl_kbd.h

Members
Members 
Description 
VM_DCL_KBD_COMMAND_CONFIG_PIN = 0xC0D 
Controls the keyboard row and column. 
Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.