[UART]
- fixed baudrate calculation [Bootloader] - set baudrate top 115200 [HendiCtrl] - set baudrate top 115200 - revised and fixed command interpreter - added new commands: SW_VERSION, SW_IDENTIFIER, DEBUG on/on, Remote enter, Remote exit - oven is switched off on entering / exiting remote git-svn-id: http://moon:8086/svn/projects/HendiControl@173 fda53097-d464-4ada-af97-ba876c37ca34
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
|
||||
#define XON 17 /* XON Zeichen */
|
||||
#define XOFF 19 /* XOFF Zeichen */
|
||||
#define UART_PRESCALE(baudrate, smpPerBit) ((5+ 10*F_CPU / (baudrate*smpPerBit) - 1)/10)
|
||||
#define UART_PRESCALE(baudrate, smpPerBit) ((5 + (10*F_CPU) / (baudrate*smpPerBit))/10)
|
||||
|
||||
void uart_init(uint32_t baudrate);
|
||||
void uart_putc(char c);
|
||||
|
||||
Reference in New Issue
Block a user