26 lines
394 B
C
26 lines
394 B
C
#ifndef _INITIAL_H
|
|
#define _INITIAL_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#include "gd32c10x.h"
|
|
#include "stdint.h"
|
|
#include <stdio.h>
|
|
#include "gd32c10x_eval.h"
|
|
|
|
void rcu_config(void);
|
|
void adc_config(void);
|
|
void dma_config(void);
|
|
|
|
int fputc(int ch, FILE *f); // 声明fputc函数以重载标准库实现
|
|
|
|
u8 tle5210b_init(void);
|
|
u8 USART0_init(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|