63 lines
1.7 KiB
C
63 lines
1.7 KiB
C
/* USER CODE BEGIN Header */
|
|
/**
|
|
******************************************************************************
|
|
* @file : fm33lg0xx_fl_common.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_COMMON_H
|
|
#define __FM33_LG0XX_FL_COMMON_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <stdint.h>
|
|
#include "fm33lg0xx_fl.h"
|
|
|
|
#include "fault_probe.h"
|
|
#include "ht16k33_dot_matrix.h"
|
|
#include "ht24lc02_eeprom.h"
|
|
|
|
#include "o2_sensor.h"
|
|
|
|
|
|
|
|
|
|
/* 定义LED控制相关宏 */
|
|
#define STATE_LED_TOGGLE FL_GPIO_ToggleOutputPin(GPIOD,FL_GPIO_PIN_0);
|
|
#define STATE_LED_ON FL_GPIO_ResetOutputPin(GPIOD,FL_GPIO_PIN_0);
|
|
|
|
|
|
|
|
void total_time_record_task(void);
|
|
void led_blink_task(void);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* __FM33_LG0XX_FL_COMMON_H */
|
|
|
|
/************************ (C) COPYRIGHT Yuwell *****END OF FILE****/
|