typedef struct { VMBOOL enable; } vm_dcl_pmu_control_kpled_enable_t;
typedef struct { VMBOOL enable; } vm_dcl_pmu_control_kpled_enable_t;
This struct is for VM_DCL_PMU_CONTROL_KPLED_SET_ENABLE command.
// 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);
vmdcl_pmu.h
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.