From 7e314bec504c769e8f4de027f63fcaf48f23f4fe Mon Sep 17 00:00:00 2001 From: Yunhorn Date: Mon, 8 Apr 2024 17:41:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20Core/Inc/main.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Inc/main.h | 428 ++++++++++++++++++++++++------------------------ 1 file changed, 214 insertions(+), 214 deletions(-) diff --git a/Core/Inc/main.h b/Core/Inc/main.h index 2e5364a..c4f0447 100644 --- a/Core/Inc/main.h +++ b/Core/Inc/main.h @@ -1,214 +1,214 @@ -/* USER CODE BEGIN Header */ -/** - ****************************************************************************** - * @file: main.h * - * @author Yunhorn (r) Technology Limited Application Team * - * @brief Yunhorn (r) SmarToilets (r) Product configuration file. * - ****************************************************************************** - * @attention - * - * Copyright (c) 2023 Yunhorn Technology Limited. - * Copyright (c) 2023 Shenzhen Yunhorn Technology Co., Ltd. - * All rights reserved. - * This software is licensed under terms that can be found in the LICENSE file - * in the root directory of this software component. - * If no LICENSE file comes with this software, it is provided AS-IS. - * - ****************************************************************************** - */ -/* USER CODE END Header */ - -/* Define to prevent recursive inclusion -------------------------------------*/ -#ifndef __MAIN_H -#define __MAIN_H - -#ifdef __cplusplus -extern "C" { -#endif - -/* Includes ------------------------------------------------------------------*/ -#include "stm32wlxx_hal.h" -#include "yunhorn_sts_prd_conf.h" -/* Private includes ----------------------------------------------------------*/ -/* USER CODE BEGIN Includes */ - -/* USER CODE END Includes */ - -/* Exported types ------------------------------------------------------------*/ -/* USER CODE BEGIN ET */ - -/* USER CODE END ET */ - -/* Exported constants --------------------------------------------------------*/ -/* USER CODE BEGIN EC */ - -/* USER CODE END EC */ - -/* Exported macro ------------------------------------------------------------*/ -/* USER CODE BEGIN EM */ - -/* USER CODE END EM */ - -/* Exported functions prototypes ---------------------------------------------*/ -void Error_Handler(void); - -/* USER CODE BEGIN EFP */ -void MX_I2C2_Init(void); -void MX_DMA_Init(void); -void MX_TOF_Init(void); -/* USER CODE END EFP */ - -/* Private defines -----------------------------------------------------------*/ -#define RTC_N_PREDIV_S 10 -#define RTC_PREDIV_S ((1<