1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- /******************************************************************************
- * Copyright (C) 2021, Xiaohua Semiconductor Co., Ltd. All rights reserved.
- *
- * This software component is licensed by XHSC under BSD 3-Clause license
- * (the "License"); You may not use this file except in compliance with the
- * License. You may obtain a copy of the License at:
- * opensource.org/licenses/BSD-3-Clause
- *
- ******************************************************************************/
-
- /******************************************************************************
- ** @file system_hc32l130f8ua.h
- **
- ** @brief Headerfile for SYSTEM functions
- **
- ** @author MADS Team
- **
- ** - 2022-01-26.
- **
- ******************************************************************************/
- #ifndef __SYSTEM_HC32L130F8UA_H__
- #define __SYSTEM_HC32L130F8UA_H__
- /******************************************************************************/
- /* Include files */
- /******************************************************************************/
- #include <stdint.h>
- #ifdef __cplusplus
- extern "C" {
- #endif
- /******************************************************************************/
- /* Global pre-processor symbols/macros ('define') */
- /******************************************************************************/
- #define HWWD_DISABLE (1)
- /**
- ******************************************************************************
- ** \brief Clock Setup macro definition
- **
- ** - 0: CLOCK_SETTING_NONE - User provides own clock setting in application
- ** - 1: CLOCK_SETTING_CMSIS -
- ******************************************************************************/
- #define CLOCK_SETTING_NONE 0u
- #define CLOCK_SETTING_CMSIS 1u
- /******************************************************************************/
- /* */
- /* START OF USER SETTINGS HERE */
- /* =========================== */
- /* */
- /* All lines with '<<<' can be set by user. */
- /* */
- /******************************************************************************/
- /******************************************************************************/
- /* Global function prototypes ('extern', definition in C source) */
- /******************************************************************************/
- extern uint32_t SystemCoreClock; // System Clock Frequency (Core Clock)
- extern void SystemInit (void); // Initialize the system
- extern void SystemCoreClockUpdate (void); // Update SystemCoreClock variable
- #ifdef __cplusplus
- }
- #endif
- #endif /* _SYSTEM_HC32L130F8UA_H_ */
|