#include "stm8s.h"
////#include "stm8s_uart1.h"
#include "stm8s_clk.h"
main()
{
CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1);
//uart1 init
/* UART1_DeInit();
UART1_Init((u32)115200, UART1_WORDLENGTH_8D, UART1_STOPBITS_1, \
UART1_PARITY_NO , UART1_SYNCMODE_CLOCK_DISABLE , UART1_MODE_TXRX_ENABLE);
UART1_ITConfig(UART1_IT_RXNE_OR,ENABLE );
UART1_Cmd(ENABLE );
UART1_SendData8(112);
UART1_SendData8(0xa2);*/
while (1);
}