📄 global.h
字号:
#ifndef _GLOBAL_H_
#define _GLOBAL_H_
#include <stdio.h>
#include <stdlib.h>
#include "callback.h"
#include "driver.h"
#include "sub.h"
extern volatile int digit[4];
extern volatile int custom_temper;
extern volatile int current_temper;
extern volatile int red_int_cnt;
extern volatile int target_impulse;
/* conmunicate bettwen red_int_callback and main*/
extern volatile int caculation_ok;
extern volatile int frame_receive_ok;
extern volatile int control_impulse_to_send;
extern volatile int impulse_reveived;
extern volatile int alarm_enable;
extern volatile int synch_lost;
extern volatile int temper_lost;
/* communicate with delay */
extern volatile int time_up;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -