- explicit disable wdt_disable

- 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
This commit is contained in:
2019-03-02 11:17:38 +00:00
parent 0bd94e6859
commit 7f6dfc2928
6 changed files with 115 additions and 116 deletions
+3 -1
View File
@@ -9,7 +9,9 @@
#ifndef UART_H_
#define UART_H_
void uart_init(uint16_t BAUD_PRESCALE);
#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);