- use switch for leaving error mode - use Uart with message fifo - fixed portGet, added PwrSwitch_in git-svn-id: http://moon:8086/svn/projects/HendiControl@33 fda53097-d464-4ada-af97-ba876c37ca34
19 lines
313 B
C
19 lines
313 B
C
/*
|
|
* uart.h
|
|
*
|
|
* Created: 20.02.2019 20:50:01
|
|
* Author: jens
|
|
*/
|
|
|
|
|
|
#ifndef UART_H_
|
|
#define UART_H_
|
|
|
|
#include "fifo.h"
|
|
|
|
void uart_init(Fifo *pFifo, uint16_t BAUD_PRESCALE);
|
|
void uart_putc(char c);
|
|
int uart_putchar(char c, FILE *stream);
|
|
void uart_puts(char const *str);
|
|
|
|
#endif /* UART_H_ */ |