FreeCalypso > hg > fc-magnetite
view src/cs/system/bootloader/inc/convert.h @ 682:17b7b92e7dba
uartfax.c: fix for old Openmoko bug with Auto-CTS
Openmoko made the change of enabling hardware assisted CTS flow control
in the UART when RTS/CTS flow control is used - it is a change which we
have retained in FreeCalypso - but they forgot to turn this hw mode off
if RTS/CTS flow control is deselected at the application level. We
(FreeCalypso) are now fixing the latter defect ourselves.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 26 Jun 2020 02:53:02 +0000 (2020-06-26) |
parents | 945cf7f506b2 |
children |
line wrap: on
line source
/******************************************************************************* * * CONVERT.H * * This module contains functions to convert a command into a string to send on * the serial link and to get a command from a string received on the serial * link. * * (C) Texas Instruments 1998 * ******************************************************************************/ #ifndef __CONVERT_H__ #define __CONVERT_H__ #include "main/sys_types.h" extern long con_get_command_from_string (SYS_UWORD8 byte_to_analyze, SYS_UWORD8 *command); extern void con_build_string_from_command (SYS_UWORD8 *command, SYS_UWORD8 *string, SYS_UWORD16 *string_length); extern void con_initialize_conversion (void); #endif /* __CONVERT_H__ */