Functions
gr55xx_ll_aon_pmu.h File Reference

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

`#include "gr55xx_hal.h"`
Include dependency graph for gr55xx_ll_aon_pmu.h:
This graph shows which files directly or indirectly include this file:

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_enable_rtc_cgm (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 uint32_t | ll_aon_pmu_get_retention_level (void)
| Get retention level. More...
__STATIC_INLINE void | ll_aon_pmu_set_dcdc_ton (uint32_t value)
| Set dcdc the ton value. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dcdc_ton (void)
| Get dcdc the ton 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 vreg. More...
__STATIC_INLINE void | ll_aon_pmu_set_dcore_sel (uint8_t sel)
| Set dcdc reg_sel_aon_pmu_dcore_vref, default from AON. 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_out (uint32_t value)
| Set dig ldo out. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_out (void)
| Get dig ldo out value. More...
__STATIC_INLINE void | ll_aon_pmu_enable_dig_ldo_bypass (void)
| Enable the dig ldo bypass. More...
__STATIC_INLINE void | ll_aon_pmu_disable_dig_ldo_bypass (void)
| Disable the dig ldo bypass. 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_clk_period (uint32_t value)
| Set clk period. More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_clk_period (void)
| Get 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_enable_ton_startup_overide (void)
| Enable the dcdc ton startup. More...
__STATIC_INLINE void | ll_aon_pmu_enable_clk_det_ovr (void)
| Enable clock detection override. More...
__STATIC_INLINE void | ll_aon_pmu_disable_clk_det_ovr (void)
| Disable clock detection override. More...
__STATIC_INLINE void | ll_aon_pmu_enable_clk_det_ovr_src_xo (void)
| Enable clock detection override source as XO. More...
__STATIC_INLINE void | ll_aon_pmu_disable_clk_det_ovr_src_xo (void)
| Disable clock detection override source XO -— means set as RING. More...
__STATIC_INLINE void | ll_aon_pmu_set_clk_det_ovr_src (uint32_t value)
| Set clock detection override source. More...
__STATIC_INLINE void | ll_aon_pmu_enable_use_xo (void)
| Enable use_xo. More...
__STATIC_INLINE void | ll_aon_pmu_disable_use_xo (void)
| Disable use_xo. More...
__STATIC_INLINE void | ll_aon_pmu_enable_dig_io_ldo (void)
| Enable the digital io ldo. More...
__STATIC_INLINE void | ll_aon_pmu_disable_tristate_ldo (void)
| Disable the tristate ldo. More...
__STATIC_INLINE void | ll_aon_pmu_enable_tristate_ana_io_ldo (void)
| Disable the tristate analog ldo. More...
__STATIC_INLINE void | ll_aon_pmu_set_ldo_control_override (void)
| Set ldo control_override. More...
__STATIC_INLINE void | ll_aon_pmu_set_boost_step (uint32_t value)
| Set boost step. More...
__STATIC_INLINE void | ll_aon_pmu_set_dig_ldo_div (uint32_t value)
| Set digital io ldo divider. 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_enable_pad_sw (void)
| Set the rtc on MSIO A6/7 en pad sw. More...
__STATIC_INLINE void | ll_aon_pmu_set_clk_det_opt (uint32_t value)
| Set clock detection option. 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_enable_ret_ldo (void)
| enable the ret ldo More...
__STATIC_INLINE void | ll_aon_pmu_set_ret_ldo_ctrl_lvl (uint32_t value)
| modify ret ldo ctrl level More...
__STATIC_FORCEINLINE void | ll_aon_pmu_set_lpd_active (uint32_t value)
| modify lpd active More...
__STATIC_INLINE uint32_t | ll_aon_pmu_get_lpd_active (void)
| Get lpd active value. More...
__STATIC_INLINE void | ll_aon_pmu_set_lpd_sleep (uint32_t value)
| modify lpd sleep 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_set_rng_req (uint32_t value)
| set rng freq More...
__STATIC_INLINE void | ll_aon_pmu_set_rng_freq_bump_enable (void)
| set rng freq More...
__STATIC_FORCEINLINE void | ll_aon_pmu_enable_short_aon_digcore (void)
| Enable short aon digcore. More...
__STATIC_FORCEINLINE void | ll_aon_pmu_disable_short_aon_digcore (void)
| Disable short aon digcore. 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 gr55xx_ll_aon_pmu.h.