77 lines
1.9 KiB
C
77 lines
1.9 KiB
C
/* USER CODE BEGIN Header */
|
|
/**
|
|
******************************************************************************
|
|
* @file : fm33lg0xx_fl_it.h
|
|
* @brief : 中断控制头文件
|
|
* @version : 1.0
|
|
* @changelog : version 1.0 初始版本 2025.11.13
|
|
******************************************************************************
|
|
* @attention
|
|
*
|
|
* Copyright (c) 2025 Yuwell Software Danyang.Jiangsu.China
|
|
* THIS SOFTWARE is licensed under the Mulan PSL v1.
|
|
* can use this software according to the terms and conditions of the Mulan PSL v1.
|
|
* You may obtain a copy of Mulan PSL v1 at:
|
|
* http://license.coscl.org.cn/MulanPSL
|
|
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR
|
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY OR FIT FOR A PARTICULAR
|
|
* PURPOSE.
|
|
* See the Mulan PSL v1 for more details.
|
|
*
|
|
******************************************************************************
|
|
*/
|
|
/* USER CODE END Header */
|
|
|
|
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
#ifndef __FM33_LG0XX_FL_IT_H
|
|
#define __FM33_LG0XX_FL_IT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include "fm33lg0xx_fl.h"
|
|
#include "fm33lg0xx_fl_common.h"
|
|
#include "adc_sample.h"
|
|
#include "fm33lg0xx_queue.h"
|
|
#include "bs83b12_capacitive_touch.h"
|
|
#include "compressor_valve_switch.h"
|
|
|
|
|
|
typedef enum
|
|
{
|
|
TASK_1_ADC, // 温度、压力等AD数据检测
|
|
TASK_2_LED, // LED闪烁任务
|
|
TASK_3_ALARM, // 报警处理任务
|
|
TASK_4_SCREEN, // 屏幕显示任务
|
|
TASK_5_TIME, // 累时任务
|
|
TASK_NUM_MAX
|
|
|
|
}CycleTask;
|
|
|
|
|
|
|
|
#define NET_CODE_GPIO_PORT GPIOA
|
|
|
|
|
|
void BSTIM_IRQHandler(void);
|
|
|
|
void main_task_20ms(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern CycleTask task_state;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __FM33_LG0XX_FL_IT_H */
|
|
|
|
/************************ (C) COPYRIGHT Yuwell *****END OF FILE****/
|