Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides systick port template
History:
2022-07-30, Create file.
◆ MS_PER_S [1/2]
◆ MS_PER_S [2/2]
◆ RTC_TIME_OUT_H [1/2]
| #define RTC_TIME_OUT_H 0x40005018 |
◆ RTC_TIME_OUT_H [2/2]
| #define RTC_TIME_OUT_H 0x40005018 |
◆ RTC_TIME_OUT_L [1/2]
| #define RTC_TIME_OUT_L 0x4000501C |
◆ RTC_TIME_OUT_L [2/2]
| #define RTC_TIME_OUT_L 0x4000501C |
◆ US_PER_MS [1/2]
◆ US_PER_MS [2/2]
◆ systick_clock_get()
| uint32_t systick_clock_get |
( |
void |
| ) |
|
获取systick时钟频率。
获取systick时钟频率。
◆ systick_clock_set()
| void systick_clock_set |
( |
uint32_t |
clock | ) |
|
设置systick时钟频率,用于延时计算。
设置systick时钟频率,用于延时计算。
◆ systick_port_cali_xclk()
| void systick_port_cali_xclk |
( |
void |
| ) |
|
◆ systick_port_register_hal_funcs()
| void systick_port_register_hal_funcs |
( |
void |
| ) |
|
将hal funcs对象注册到hal_systick模块中
◆ systick_port_unregister_hal_funcs()
| void systick_port_unregister_hal_funcs |
( |
void |
| ) |
|
从hal_systick模块注销hal funcs对象
◆ systick_porting_base_addr_get()
| uintptr_t systick_porting_base_addr_get |
( |
void |
| ) |
|