ContentsIndex
Example
vm_dcl_pmu_control_ld0_buck_gpio_power_enable_t
   // This example explain how to enable gpio power of
   // pin GPIO40 (VM_PIN_D4 on LinkIt ONE).
   VM_DCL_HANDLE handle;
   vm_dcl_pmu_control_ld0_buck_gpio_power_enable_t val;

   handle = vm_dcl_open(VM_DCL_PMU, 0);

   val.enable = VM_TRUE;   // enable ,  VM_FALSE : disable
   val.gpio_number = 40;   // gpio number

   vm_dcl_control(handle, VM_DCL_PMI_CONTROL_LDO_BUCK_SET_GPIO_POWER_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.