You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.3 KiB
53 lines
1.3 KiB
4 months ago
|
/*
|
||
|
* @Copyright (C),: 2020-2030, ConvenientPower Inc.
|
||
|
* @File:
|
||
|
* @Author: your name
|
||
|
* @Date: 2022-11-10 16:36:40
|
||
|
* @LastEditTime: 2022-11-10 16:38:04
|
||
|
* @LastEditors: your name
|
||
|
* @Description: Used to specify the main functions accomplished by this program file
|
||
|
*/
|
||
|
/**
|
||
|
******************************************************************************
|
||
|
* @copyright Copyright (C), 2016-2022, ConvenientPower. Co., Ltd.
|
||
|
* @file drv_timer.h
|
||
|
* @version 1.0
|
||
|
* @author qing.cheng
|
||
|
* @date 2022-11-10
|
||
|
* @brief Header file of DRV_TIMER_H module.
|
||
|
******************************************************************************
|
||
|
*/
|
||
|
#ifndef _DRV_TIMER_H_
|
||
|
#define _DRV_TIMER_H_
|
||
|
|
||
|
#include "core_comm.h"
|
||
|
#include "clkctrl_define.h"
|
||
|
|
||
|
/*
|
||
|
* @brief drv_timer_timer0_init
|
||
|
* @param timer_ticks
|
||
|
* @param uint8_t priority
|
||
|
* @note
|
||
|
* @retval null
|
||
|
*/
|
||
|
void drv_timer_timer0_init(uint32_t timer_ticks, uint8_t priority);
|
||
|
|
||
|
/*
|
||
|
* @brief drv_timer_timer1_init
|
||
|
* @param timer_ticks
|
||
|
* @param uint8_t priority
|
||
|
* @note
|
||
|
* @retval null
|
||
|
*/
|
||
|
void drv_timer_timer1_init(uint32_t timer_ticks, uint8_t priority);
|
||
|
|
||
|
/*
|
||
|
* @brief drv_timer2_timer1_init
|
||
|
* @param timer_ticks
|
||
|
* @param uint8_t priority
|
||
|
* @note
|
||
|
* @retval null
|
||
|
*/
|
||
|
void drv_timer_timer2_init(uint32_t timer_ticks, uint8_t priority);
|
||
|
#endif
|