ContentsIndex
Example
vm_dcl_pmu_ld0_buck_enable_t
   // This example explain how to power on the vibrator with the PMU API
   // with the VM_DCL_PMU_CONTROL_LDO_BUCK_SET_ENABLE command.
   VM_DCL_HANDLE handle;
   vm_dcl_pmu_ld0_buck_enable_t val;

   handle = vm_dcl_open(VM_DCL_PMU, 0);

   val.enable = VM_TRUE;  // enable ,  VM_FALSE : disable
   val.module = VM_DCL_PMU_VIBR;   // LDO

   vm_dcl_control(handle,
                  VM_DCL_PMU_CONTROL_LDO_BUCK_SET_ENABLE,
                  (void *)&val);
   vm_dcl_close(handle);
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.