28 lines
447 B
C
28 lines
447 B
C
|
|
#ifndef __WK_TMR_H
|
||
|
|
#define __WK_TMR_H
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
extern "C" {
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* includes -----------------------------------------------------------------------*/
|
||
|
|
#include "at32f403a_407_wk_config.h"
|
||
|
|
|
||
|
|
/* init tmr1 function. */
|
||
|
|
void wk_tmr1_init(void);
|
||
|
|
|
||
|
|
void wk_tmr2_init(void);
|
||
|
|
|
||
|
|
/* init tmr3 function. */
|
||
|
|
void wk_tmr3_init(void);
|
||
|
|
|
||
|
|
void wk_tmr8_init(void);
|
||
|
|
|
||
|
|
void tmr_enable(uint32_t plue_cnt);
|
||
|
|
|
||
|
|
#ifdef __cplusplus
|
||
|
|
}
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|