py32f0-template/Libraries/BSP/Inc/py32f0xx_bsp_clock.h
2023-02-18 01:14:14 +08:00

32 lines
789 B
C

/**
******************************************************************************
* @file py32f0xx_bsp_clock.h
******************************************************************************
*/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef PY32F0XX_BSP_CLOCK_H
#define PY32F0XX_BSP_CLOCK_H
#ifdef __cplusplus
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "py32f0xx_hal.h"
#include "py32f0xx_hal_rcc.h"
HAL_StatusTypeDef BSP_HSI_24MHzClockConfig(void);
HAL_StatusTypeDef BSP_HSI_PLL_48MHzClockConfig(void);
HAL_StatusTypeDef BSP_HSE_ClockConfig(void);
HAL_StatusTypeDef BSP_HSE_PLL_ClockConfig(void);
#ifdef __cplusplus
}
#endif
#endif /* PY32F0XX_BSP_CLOCK_H */