1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- /**
- **************************************************************************
- * @file system_at32f403a_407.h
- * @brief cmsis cortex-m4 system header file.
- **************************************************************************
- * Copyright notice & Disclaimer
- *
- * The software Board Support Package (BSP) that is made available to
- * download from Artery official website is the copyrighted work of Artery.
- * Artery authorizes customers to use, copy, and distribute the BSP
- * software and its related documentation for the purpose of design and
- * development in conjunction with Artery microcontrollers. Use of the
- * software is governed by this copyright notice and the following disclaimer.
- *
- * THIS SOFTWARE IS PROVIDED ON "AS IS" BASIS WITHOUT WARRANTIES,
- * GUARANTEES OR REPRESENTATIONS OF ANY KIND. ARTERY EXPRESSLY DISCLAIMS,
- * TO THE FULLEST EXTENT PERMITTED BY LAW, ALL EXPRESS, IMPLIED OR
- * STATUTORY OR OTHER WARRANTIES, GUARANTEES OR REPRESENTATIONS,
- * INCLUDING BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
- *
- **************************************************************************
- */
- #ifndef __SYSTEM_AT32F403A_407_H
- #define __SYSTEM_AT32F403A_407_H
- #ifdef __cplusplus
- extern "C" {
- #endif
- /** @addtogroup CMSIS
- * @{
- */
- /** @addtogroup AT32F403A_407_system
- * @{
- */
- /** @defgroup AT32F403A_407_system_clock_stable_definition
- * @{
- */
- #define HEXT_STABLE_DELAY (5000u)
- #define PLL_STABLE_DELAY (500u)
- #define SystemCoreClock system_core_clock
- #define DUMMY_NOP() {__NOP();__NOP();__NOP();__NOP();__NOP(); \
- __NOP();__NOP();__NOP();__NOP();__NOP(); \
- __NOP();__NOP();__NOP();__NOP();__NOP(); \
- __NOP();__NOP();__NOP();__NOP();__NOP();}
- /**
- * @}
- */
- /** @defgroup AT32F403A_407_system_exported_variables
- * @{
- */
- extern unsigned int system_core_clock; /*!< system clock frequency (core clock) */
- /**
- * @}
- */
- /** @defgroup AT32F403A_407_system_exported_functions
- * @{
- */
- extern void SystemInit(void);
- extern void system_core_clock_update(void);
- /**
- * @}
- */
- /**
- * @}
- */
- /**
- * @}
- */
- #ifdef __cplusplus
- }
- #endif
- #endif
|