|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

函数 | |
| 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_t * | hal_pwm_get_funcs (void) |
| 获取Driver层pwm和HAL层PWM的接口实例,参考 hal_pwm_funcs_t 。 | |
变量 | |
| uintptr_t | g_pwm_regs = NULL |
| hal_pwm_funcs_t * | g_hal_pwm_funcs = NULL |
| hal_pwm_funcs_t* g_hal_pwm_funcs = NULL |