Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

bool ddi_power_IsDcdcOn ( void   ) 

Checks to see if the DCDC has been manually enabled.


Return values:
true if DCDC is ON, false if DCDC is OFF.

Definition at line 1431 of file ddi_power_battery.c.

Referenced by ddi_bc_hwIsDcdcOn().

      return (__raw_readl(REGS_POWER_BASE + HW_POWER_5VCTRL) & BM_POWER_5VCTRL_ENABLE_DCDC) ? 1 : 0;

Generated by  Doxygen 1.6.0   Back to index