38 lines
984 B
C
38 lines
984 B
C
/************************************************************************************************/
|
|
/**
|
|
* @file common.h
|
|
* @author MCU Ecosystem Development Team
|
|
* @brief COMMON头文件。
|
|
*
|
|
*
|
|
**************************************************************************************************
|
|
* @attention
|
|
* Copyright (c) CEC Huada Electronic Design Co.,Ltd. All rights reserved.
|
|
*
|
|
**************************************************************************************************
|
|
*/
|
|
|
|
/* 避免头文件重复引用 */
|
|
#ifndef COMMON_H
|
|
#define COMMON_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/*------------------------------------------includes--------------------------------------------*/
|
|
#include "ciu32l051_std.h"
|
|
|
|
/*-------------------------------------------functions------------------------------------------*/
|
|
|
|
void system_clock_config(void);
|
|
void gpio_init(void);
|
|
void usart_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* COMMON_H */
|
|
|