Header file containing functions prototypes of PMU LL library. More...
#include "gr55xx_hal.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_enable_rtc_cgm (void) |
Enable the RTC and bypass GM. 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 uint32_t | ll_aon_pmu_get_io_ldo_vout (void) |
Get the io ldo vout. More... | |
__STATIC_INLINE void | ll_aon_pmu_set_stb_io_ldo_vout (uint32_t value) |
Set stb io ldo. 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_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_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_set_dig_ldo_coarse_fine_code (uint32_t coarse_code, uint32_t fine_code) |
Set dig ldo coarse and fine code. More... | |
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_coarse_code (void) |
Get dig ldo coarse code. More... | |
__STATIC_INLINE uint32_t | ll_aon_pmu_get_dig_ldo_fine_code (void) |
Get dig ldo fine code. 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. 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_disable_sysldo (void) |
Get dig ldo out. More... | |
__STATIC_INLINE void | ll_aon_pmu_set_clk_period (uint32_t value) |
Set clk period. More... | |
__STATIC_INLINE void | ll_aon_pmu_set_clk_inject (uint32_t value) |
Enables 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_set_dcdc_pwr_src (uint32_t value) |
Set the dcdc power source. 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_FORCEINLINE void | ll_aon_pmu_set_lpd_active (uint32_t value) |
modify lpd active 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 uint32_t | ll_aon_pmu_get_tx_ton_val (void) |
Get tx ton value. 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_clk_bump_val (uint32_t value) |
modify rng bump More... | |
__STATIC_INLINE void | ll_aon_pmu_set_rng_freq_cont (uint32_t value) |
modify rng cont More... | |
__STATIC_INLINE void | ll_aon_pmu_set_bg_en (uint32_t value) |
modify bg en 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... | |
Header file containing functions prototypes of PMU LL library.
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.