/** * @file bsp.h * @brief This file contains the declarations and definitions for the BSP (Board Support Package) module. * * The BSP module provides functions and configurations specific to the hardware platform, such as initializing * peripherals, configuring GPIO pins, and managing interrupts. * * @author xxx * @date 2023-12-27 14:44:03 * @copyright Copyright (c) 2024 by xxx, All Rights Reserved. */ #ifndef __BSP_H__ #define __BSP_H__ #include "gpios.h" #include "dmas.h" // #include "adcs.h" // #include "dacs.h" // #include "tims.h" // #include "pwms.h" #include "uarts.h" // #include "eeprom.h" // #include "spis.h" // #include "i2cs.h" ///< 定义回调函数类型 typedef void (*pvd_irq_handle_cb)(void); extern void pvd_configuration(uint32_t pwr_level, pvd_irq_handle_cb call); ///< Configures the Programmable Voltage Detector (PVD) module extern void pvd_irq_handle(void); ///< Handles the PVD interrupt extern void disable_debug_interface(void); ///< Disables the debug interface #endif ///< __BSP_H__