Inlined STM8S SPL (STM8S103) for use with SDCC
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#include <stdio.h>
|
|
|
|
#include <stm8s.h>
|
|
#include "stm8s_it.h"
|
|
|
|
void main(void)
|
|
{
|
|
CLK_HSIPrescalerConfig(CLK_PRESCALER_HSIDIV1);
|
|
UART_SimpleInit(UART_BAUD_115200);
|
|
|
|
while(1);
|
|
}
|
|
|