Syntax
typedef struct {
  VMBOOL enable;
} vm_dcl_pmu_control_kpled_enable_t;
ContentsIndex
PreviousUpNext
vm_dcl_pmu_control_kpled_enable_t
Example
Syntax
typedef struct {
  VMBOOL enable;
} vm_dcl_pmu_control_kpled_enable_t;
Description

This struct is for VM_DCL_PMU_CONTROL_KPLED_SET_ENABLE command.

Example
   // This example explain how to turn on keypad LED(KPLED) power.
   VM_DCL_HANDLE handle;
   vm_dcl_pmu_control_kpled_set_enable_t val;

   handle = vm_dcl_open(VM_DCL_PMU, 0);

   val.enable = VM_TRUE;    // enable ,  VM_FALSE : disable

   vm_dcl_control(handle, VM_PMU_CTRL_KPLED_SET_ENABLE, (void *)&val);
   vm_dcl_close(handle);
File

vmdcl_pmu.h

Members
Members 
Description 
VMBOOL enable; 
VM_TRUE: enable, VM_FALSE: disable. 
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.