/*! * @file apm32f0xx_crs.h * * @brief This file contains all the functions prototypes for the CRS firmware library * * @note It's only for APM32F072 and APM32F091 devices * * @version V1.0.3 * * @date 2022-09-20 * * @attention * * Copyright (C) 2020-2022 Geehy Semiconductor * * You may not use this file except in compliance with the * GEEHY COPYRIGHT NOTICE (GEEHY SOFTWARE PACKAGE LICENSE). * * The program is only for reference, which is distributed in the hope * that it will be useful and instructional for customers to develop * their software. Unless required by applicable law or agreed to in * writing, the program is distributed on an "AS IS" BASIS, WITHOUT * ANY WARRANTY OR CONDITIONS OF ANY KIND, either express or implied. * See the GEEHY SOFTWARE PACKAGE LICENSE for the governing permissions * and limitations under the License. */ /* Define to prevent recursive inclusion */ #ifndef __APM32F0XX_CRS_H #define __APM32F0XX_CRS_H #ifdef __cplusplus extern "C" { #endif /* Includes */ #include "apm32f0xx.h" /** @addtogroup APM32F0xx_StdPeriphDriver @{ */ /** @addtogroup CRS_Driver @{ */ /** @defgroup CRS_Macros Macros @{ */ /**@} end of group CRS_Macros */ /** @defgroup CRS_Enumerations Enumerations @{ */ /** * @brief CRS_Interrupt_Sources */ typedef enum { CRS_INT_SYNCOK = ((uint32_t)0x00000001), /*!