/** ****************************************************************************** * @file fm33a0xxev_cmu.h * @author FM33A0XXEV Application Team * @version V1.0.0 * @date 16-April-2020 * @brief This file contains all the functions prototypes for the CMU firmware library. ****************************************************************************** */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __FM33A0XXEV_CMU_H #define __FM33A0XXEV_CMU_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ #include "FM33A0XXEV.h" /* Defines------------------------------------------------------------------*/ #define HXVAR(object, addr) (*((object *) (addr))) #define const_rchf_Trim8 HXVAR( uint32_t, 0x1FFFFB40 ) //RCHF 8MHzµ÷Уֵ #define const_rchf_Trim16 HXVAR( uint32_t, 0x1FFFFB3C ) //RCHF 16MHzµ÷Уֵ #define const_rchf_Trim24 HXVAR( uint32_t, 0x1FFFFB38 ) //RCHF 24MHzµ÷Уֵ #define const_rchf_Trim32 HXVAR( uint32_t, 0x1FFFFB34) //RCHF 32MHzµ÷Уֵ #define __XTHF_CLOCK (12000000) //ĬÈÏΪ8M£¬Ð޸ijÉʵ¼ÊµÄ12M /* Exported constants --------------------------------------------------------*/ /* Exported types ------------------------------------------------------------*/ typedef struct { uint32_t FSEL; /*!