#include <stdio.h>
#include <stddef.h>
#include "stm8s.h"
#include "atom.h"
#include "atommutex.h"
#include "uart.h"
Functions | |
int | uart_init (uint32_t baudrate) |
char | uart_putchar (char c) |
int uart_init | ( | uint32_t | baudrate | ) |
Set up UART2 for putting out debug messages. This the UART used on STM8S Discovery, change if required.
char uart_putchar | ( | char | c | ) |
uart_putchar
Write a char out via UART2
[in] | c | Character to send |