/***********************************************************************************************************
 * Copyright (c)  2021 - 2022, Unicmicro Co.,Ltd .
 * All rights reserved.
 * Filename    : config.c
 * Description : config head file
 * Author(s)   : zhengzhilan
 * Version     : V1.0
 * Modify date : 2022-04-27
 ***********************************************************************************************************/ 
#ifndef __CONFIG_H__
#define __CONFIG_H__

#include "um2082F08.h"
#include "types.h"
#include "common.h"

#define UM2082F08_USING_UART0
#define UM2082F08_USING_UART1
#define UM2082F08_USING_ADC
#define UM2082F08_USING_EFLASH
#define UM2082F08_USING_GPIO
#define UM2082F08_USING_I2C
#define UM2082F08_USING_LPTIMER
#define UM2082F08_USING_PWM
#define UM2082F08_USING_RF_WAKE
#define UM2082F08_USING_SPI
#define UM2082F08_USING_TIMER
#define UM2082F08_USING_WDT

#define DEBUG    																							/* printf调试接口使能 */
#ifdef DEBUG
	extern int printf   (const char *, ...);
	#define print2Debug     						printf
	#define printfB8   		  printf_buff_byte
	#define printfB32   	  printf_buff_word
#else
	#define	print2Debug(format, ...)	     		((void)0)
#endif

#define FCLK          16000000        																		/* 系统时钟设置  */   
	
#endif
