Functions
ll_aon_pmu.h File Reference

Header file containing functions prototypes of PMU LL library. More...

`#include "gr5x.h"`

Go to the source code of this file.

## Functions
__STATIC_INLINE void | ll_aon_pmu_enable_rtc (void)
| Enable the RTC. More...
__STATIC_INLINE void | ll_aon_pmu_disable_rtc (void)
| Disable the RTC. More...
__STATIC_INLINE void | ll_aon_pmu_set_rtc_gm (uint32_t value)
| Set RTC GM. More...
__STATIC_INLINE void | ll_aon_pmu_set_io_ldo_vout (uint32_t value)
| Set lv,default is set to 1.8V,LSB = 8.5mv. More...
__STATIC_INLINE void | ll_aon_pmu_set_retention_level (uint32_t value)
| Set retention level. More...
__STATIC_INLINE void | ll_aon_pmu_set_aon_ldo (uint32_t value)
| Set aon ldo value. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_aon_ldo (void)
| Get aon ldo value. More...
__STATIC_INLINE void | ll_aon_pmu_set_dcdc_vreg (uint32_t value)
| Set dcdc ref_cntrl_b_lv_3_0,vreg defaulted to 1.1V. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dcdc_vreg (void)
| Get dcdc ref_cntrl_b_lv_3_0,vreg defaulted to 1.1V. More...
__STATIC_INLINE void | ll_aon_pmu_set_dcdc_step_18mV (void)
| Set dcdc voltage step for 18mV. More...
__STATIC_INLINE void | ll_aon_pmu_set_dcdc_step_25mV (void)
| Set dcdc voltage step for 25mV. More...
__STATIC_INLINE void | ll_aon_pmu_set_sysldo_vreg (uint32_t value)
| Set sysldo rg_sysldo_ctrl_vref, vreg defaulted to 1.1V. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_sysldo_vreg (void)
| Get sysldo rg_sysldo_ctrl_vref, vreg defaulted to 1.1V. More...
__STATIC_INLINE void | ll_aon_pmu_enable_io_ldo_bypass (void)
| Enable the io ldo bypass. More...
__STATIC_INLINE void | ll_aon_pmu_disable_io_ldo_bypass (void)
| Disable the io ldo bypass. More...
__STATIC_INLINE void | ll_aon_pmu_enable_bleed (void)
| Enable the dig ldo bleed. More...
__STATIC_INLINE void | ll_aon_pmu_disable_bleed (void)
| Disable the dig ldo bleed. More...
__STATIC_INLINE void | ll_aon_pmu_set_dig_ldo_bypass (bool enable)
| Set the dig ldo bypass. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_bypass (void)
| Get the dig ldo bypass. More...
__STATIC_INLINE void | ll_aon_pmu_set_dig_ldo_out_coarse_tune (uint32_t value)
| Set dig ldo out coarse tune. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_out_coarse_tune (void)
| Get dig ldo out coarse tune. More...
__STATIC_INLINE void | ll_aon_pmu_set_dig_ldo_out_fine_tune (uint32_t value)
| Set dig ldo out fine tune. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_out_fine_tune (void)
| Get dig ldo out fine tune. More...
__STATIC_INLINE void | ll_aon_pmu_set_clk_period (uint32_t value)
| Set clk period. More...
__STATIC_INLINE void | ll_aon_pmu_enable_clk_inject (void)
| Enables clock injection from XO to ring oscillator. More...
__STATIC_INLINE void | ll_aon_pmu_disable_clk_inject (void)
| Disables clock injection from XO to ring oscillator. More...
__STATIC_INLINE void | ll_aon_pmu_set_buck_pmmosnum_sel (uint32_t value)
| Set the nunber of BUCK`s PMOS driver. More...
__STATIC_INLINE void | ll_aon_pmu_set_buck_deadtime_sel (uint32_t value)
| Set the length of driver`s deadtime. More...
__STATIC_INLINE void | ll_aon_pmu_set_rtc_cs (uint32_t value)
| Set the rtc cur cap. More...
__STATIC_INLINE void | ll_aon_pmu_set_rtc_cap (uint32_t value)
| Set the rtc cur cap. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_rtc_cap (void)
| Get the rtc cur cap. More...
__STATIC_INLINE void | ll_aon_pmu_enable_rcosc (void)
| Enable the RCOSC. More...
__STATIC_INLINE void | ll_aon_pmu_disable_rcosc (void)
| Disable the RCOSC. More...
__STATIC_INLINE void | ll_aon_pmu_set_tx_ton_val (uint32_t value)
| modify ton on More...
__STATIC_INLINE void | ll_aon_pmu_set_non_tx_ton_val (uint32_t value)
| modify ton off More...
__STATIC_INLINE void | ll_aon_pmu_enable_bod_auto_power (void)
| Enable BOD auto power off in deepsleep and power on wakeup. More...
__STATIC_INLINE void | ll_aon_pmu_disable_bod_auto_power (void)
| Disable BOD auto power off in deepsleep and power on wakeup. More...
__STATIC_INLINE void | ll_aon_pmu_enable_dcdc (void)
| Enable DCDC power. More...
__STATIC_INLINE void | ll_aon_pmu_disable_dcdc (void)
| Disble DCDC power. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dcdc_available_status (void)
| Get the DCDC enable status. More...
__STATIC_INLINE void | ll_aon_pmu_enable_sysldo (void)
| Enable SYSLDO power. More...
__STATIC_INLINE void | ll_aon_pmu_disable_sysldo (void)
| Disable SYSLDO power. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_sysldo_available_status (void)
| Get the SYSLDO enable status. More...

## Detailed Description

Header file containing functions prototypes of PMU LL library.

Author
  BLE Driver Team

Attention
  #####Copyright (c) 2019 GOODIX All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of GOODIX nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Definition in file ll_aon_pmu.h.