WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_pwm.c 文件参考
#include "common_def.h"
#include "hal_pwm.h"
hal_pwm.c 的引用(Include)关系图:

函数

errcode_t hal_pwm_regs_init (void)
 初始化PWM,设置寄存器的基地址。
 
void hal_pwm_regs_deinit (void)
 去初始化,然后清除在 hal_pwm_regs_init 中设置的寄存器地址。
 
errcode_t hal_pwm_register_funcs (hal_pwm_funcs_t *funcs)
 注册 hal_pwm_funcs_t 到 g_hal_pwms_funcs 。
 
errcode_t hal_pwm_unregister_funcs (void)
 从g_hal_pwms_funcs注销 hal_pwm_funcs_t
 
hal_pwm_funcs_thal_pwm_get_funcs (void)
 获取Driver层pwm和HAL层PWM的接口实例,参考 hal_pwm_funcs_t
 

变量

uintptr_t g_pwm_regs = NULL
 
hal_pwm_funcs_tg_hal_pwm_funcs = NULL
 

变量说明

◆ g_hal_pwm_funcs

hal_pwm_funcs_t* g_hal_pwm_funcs = NULL