BLE5.2 1.0
开发文档说明
函数
xc_drv_pwr.c 文件参考

Target xc6xxx hal power implementation 更多...

浏览源代码.

函数

void xc_pwr_vol_set (void)
 
void xc_adc_powerdown (void)
 xc_adc_powerdown
 
void xc_adc_wakeup (void)
 xc_adc_wakeup
 
__RAM_CODE void xc_pwr_ao_timer_pclk32k_set (void)
 
void xc_pwr_ao_timer_pclk32m_Set ()
 
void xc_pwr_sleep_init (PWR_InitCfg_t *pwr_cfg)
 
__RAM_CODE void xc_pwr_ble_sleep_enter (void)
 
__RAM_CODE void xc_sleep (void)
 
__RAM_CODE void xc_deep_sleep ()
 
__RAM_CODE void xc_pwr_cpu_sleep_enter (void)
 
void xc_pwr_gpio_sleep_config (void)
 
void xc_pwr_gpio_lightsleep_wake_config (uint8_t pin, uint8_t edge_it)
 
void xc_pwr_pwrkey_init (void)
 
void xc_pwr_pwrkey_deepsleep_wake_config (uint8_t pin, uint8_t level)
 
void xc_pwr_pwrkey_write_pin (uint8_t pin, uint8_t level)
 
void xc_pwr_pwrkey_toggle_pin (uint8_t pin)
 
void xc_pwr_dcdc_init (uint8_t vol_level)
 
void xc_pwr_dcdc_close ()
 
void xc_pwr_dcdc_open ()
 

详细描述

Target xc6xxx hal power implementation

_ __ _ ________ _
| |/ /(_)___ / ____/ /_ (_)___
| // / __ \/ / / __ \/ / __ \
/ |/ / / / / /___/ / / / / /_/ /
/_/|_/_/_/ /_/\____/_/ /_/_/ .___/
/_/
(C) 2022-2025 XinChip
作者
( XinChip ) Alex-J
( XinChip )

在文件 xc_drv_pwr.c 中定义.

函数说明

◆ xc_adc_powerdown()

void xc_adc_powerdown ( void  )

xc_adc_powerdown

adc power down

参数
void
返回值
void

在文件 xc_drv_pwr.c97 行定义.

◆ xc_adc_wakeup()

void xc_adc_wakeup ( void  )

xc_adc_wakeup

adc wakeup

参数
void
返回值
void

在文件 xc_drv_pwr.c112 行定义.

◆ xc_deep_sleep()

__RAM_CODE void xc_deep_sleep ( void  )

在文件 xc_drv_pwr.c419 行定义.

◆ xc_pwr_ao_timer_pclk32k_set()

__RAM_CODE void xc_pwr_ao_timer_pclk32k_set ( void  )

在文件 xc_drv_pwr.c117 行定义.

◆ xc_pwr_ao_timer_pclk32m_Set()

void xc_pwr_ao_timer_pclk32m_Set ( void  )

在文件 xc_drv_pwr.c132 行定义.

◆ xc_pwr_ble_sleep_enter()

__RAM_CODE void xc_pwr_ble_sleep_enter ( void  )

在文件 xc_drv_pwr.c176 行定义.

◆ xc_pwr_cpu_sleep_enter()

__RAM_CODE void xc_pwr_cpu_sleep_enter ( void  )

在文件 xc_drv_pwr.c540 行定义.

◆ xc_pwr_dcdc_close()

void xc_pwr_dcdc_close ( void  )

在文件 xc_drv_pwr.c885 行定义.

◆ xc_pwr_dcdc_init()

void xc_pwr_dcdc_init ( uint8_t  vol_level)

在文件 xc_drv_pwr.c875 行定义.

◆ xc_pwr_dcdc_open()

void xc_pwr_dcdc_open ( void  )

在文件 xc_drv_pwr.c895 行定义.

◆ xc_pwr_gpio_lightsleep_wake_config()

void xc_pwr_gpio_lightsleep_wake_config ( uint8_t  pin,
uint8_t  edge_it 
)

在文件 xc_drv_pwr.c727 行定义.

◆ xc_pwr_gpio_sleep_config()

void xc_pwr_gpio_sleep_config ( void  )

在文件 xc_drv_pwr.c635 行定义.

◆ xc_pwr_pwrkey_deepsleep_wake_config()

void xc_pwr_pwrkey_deepsleep_wake_config ( uint8_t  pin,
uint8_t  level 
)

在文件 xc_drv_pwr.c759 行定义.

◆ xc_pwr_pwrkey_init()

void xc_pwr_pwrkey_init ( void  )

在文件 xc_drv_pwr.c749 行定义.

◆ xc_pwr_pwrkey_toggle_pin()

void xc_pwr_pwrkey_toggle_pin ( uint8_t  pin)

在文件 xc_drv_pwr.c834 行定义.

◆ xc_pwr_pwrkey_write_pin()

void xc_pwr_pwrkey_write_pin ( uint8_t  pin,
uint8_t  level 
)

在文件 xc_drv_pwr.c796 行定义.

◆ xc_pwr_sleep_init()

void xc_pwr_sleep_init ( PWR_InitCfg_t pwr_cfg)

在文件 xc_drv_pwr.c137 行定义.

◆ xc_pwr_vol_set()

void xc_pwr_vol_set ( void  )

在文件 xc_drv_pwr.c36 行定义.

◆ xc_sleep()

__RAM_CODE void xc_sleep ( void  )

在文件 xc_drv_pwr.c286 行定义.