sggt/App/APP_WU/Inc/timer.h

35 lines
845 B
C

/*
* @Author: wujunchao wujunchao@wuxismart.com
* @Date: 2024-12-27 17:04:12
* @LastEditors: wujunchao wujunchao@wuxismart.com
* @LastEditTime: 2024-12-31 10:53:04
* @FilePath: \signal_generator\App\APP_WU\Inc\timer.h
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
#ifndef __TIMER_H
#define __TIMER_H
#include "apps_gather.h"
extern int heart_1000ms_flag;
extern int heart_1000ms_cnt;
extern int battery_3000ms_flag;
extern int battery_3000ms_cnt;
extern int plot_ms_flag;
extern int plot_ms_cnt;
extern int twk_1000ms_flag;
extern int twk_1000ms_cnt;
extern int input_500ms_flag;
void duty_tim3(void);
void duty_tim6(void);
void delay_cnt(uint16_t cnt);
void wu_delay_us(__IO uint32_t delay);
#endif