blob: b89d97eb023aa3e4e82e2ae401182c7e796b4c27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
/* SPDX-License-Identifier: BSD-3-Clause */
/*
* Copyright (c) 2020-2021 Rockchip Electronics Co., Ltd.
*/
#include "hal_conf.h"
#ifdef HAL_SYSTICK_MODULE_ENABLED
/** @addtogroup RK_HAL_Driver
* @{
*/
/** @addtogroup SYSTICK
* @{
*/
#ifndef _HAL_SYSTICK_H_
#define _HAL_SYSTICK_H_
#include "hal_def.h"
/***************************** MACRO Definition ******************************/
/** @defgroup SYSTICK_Exported_Definition_Group1 Basic Definition
* @{
*/
/***************************** Structure Definition **************************/
/** @} */
/***************************** Function Declare ******************************/
/** @defgroup SYSTICK_Public_Function_Declare Public Function Declare
* @{
*/
HAL_Status HAL_SYSTICK_Init(void);
HAL_Status HAL_SYSTICK_Config(uint32_t ticksNumb);
HAL_Status HAL_SYSTICK_CLKSourceConfig(eHAL_systickClkSource clkSource);
HAL_Check HAL_SYSTICK_IsExtRefClockEnabled(void);
void HAL_SYSTICK_IRQHandler(void);
HAL_Status HAL_SYSTICK_Enable(void);
/** @} */
#endif
/** @} */
/** @} */
#endif /* HAL_SYSTICK_MODULE_ENABLED */
|