|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
类型定义 | |
| typedef enum control_reg_mode_v150 | control_reg_mode_v150_t |
| Timer模式定义。 | |
| typedef enum control_reg_mode_v150 | control_reg_mode_v150_t |
| Timer模式定义。 | |
枚举 | |
| enum | control_reg_mode_v150 { TIMER_V150_MODE_ONE_SHOT , TIMER_V150_MODE_PERIODIC , TIMER_V150_MODE_ONE_SHOT_1 , TIMER_V150_MODE_FREERUN } |
| Timer模式定义。 更多... | |
| enum | control_reg_mode_v150 { TIMER_V150_MODE_ONE_SHOT , TIMER_V150_MODE_PERIODIC , TIMER_V150_MODE_ONE_SHOT_1 , TIMER_V150_MODE_FREERUN } |
| Timer模式定义。 更多... | |
函数 | |
| hal_timer_funcs_t * | hal_timer_v150_get_funcs (void) |
| 获取Timer的接口实例。 | |
| void | hal_timer_v150_irq_handler (timer_index_t index) |
| timer中断处理函数。 | |
| void | hal_timer_v150_interrupt_clear (timer_index_t index) |
| 清除timer模块内部的中断。 | |
| errcode_t | hal_timer_v150_init (timer_index_t index, hal_timer_callback_t callback) |
| HAL层Timer的初始化接口。 | |
| void | hal_timer_v150_deinit (timer_index_t index) |
| HAL层Timer的去初始化接口。 | |
| void | hal_timer_v150_start (timer_index_t index) |
| HAL层启动硬件定时器计数的接口。 | |
| void | hal_timer_v150_stop (timer_index_t index) |
| HAL层停止硬件定时器计数的接口。 | |
| void | hal_timer_v150_config_load (timer_index_t index, uint64_t delay_count) |
| HAL层设置硬件计时器计数的接口。 | |
| uint64_t | hal_timer_v150_get_current_value (timer_index_t index) |
| HAL层获取硬件当前计时器剩余计数的接口。 | |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides V150 HAL timer
History:
2022-12-08, Create file.
| typedef enum control_reg_mode_v150 control_reg_mode_v150_t |
Timer模式定义。
| typedef enum control_reg_mode_v150 control_reg_mode_v150_t |
Timer模式定义。
| void hal_timer_v150_config_load | ( | timer_index_t | index, |
| uint64_t | delay_count | ||
| ) |
HAL层设置硬件计时器计数的接口。
| void hal_timer_v150_deinit | ( | timer_index_t | index | ) |
HAL层Timer的去初始化接口。
| uint64_t hal_timer_v150_get_current_value | ( | timer_index_t | index | ) |
HAL层获取硬件当前计时器剩余计数的接口。
| hal_timer_funcs_t * hal_timer_v150_get_funcs | ( | void | ) |
获取Timer的接口实例。
| errcode_t hal_timer_v150_init | ( | timer_index_t | index, |
| hal_timer_callback_t | callback | ||
| ) |
HAL层Timer的初始化接口。
| void hal_timer_v150_interrupt_clear | ( | timer_index_t | index | ) |
清除timer模块内部的中断。
| void hal_timer_v150_irq_handler | ( | timer_index_t | index | ) |
timer中断处理函数。
| void hal_timer_v150_start | ( | timer_index_t | index | ) |
HAL层启动硬件定时器计数的接口。
| void hal_timer_v150_stop | ( | timer_index_t | index | ) |
HAL层停止硬件定时器计数的接口。