CuVoodoo STM32F1 firmware template
|
BusVoodoo RS-485 mode (code) More...
Go to the source code of this file.
Macros | |
#define | BUSVOODOO_RS485_USART 2 |
USART peripheral. | |
Functions | |
static void | busvoodoo_rs485_drive_enable (void) |
enable RS-485 transceiver driver to allow transmitting | |
static void | busvoodoo_rs485_drive_disable (void) |
enable RS-485 transceiver driver to allow transmitting | |
static void | busvoodoo_rs485_receive_enable (void) |
enable RS-485 transceiver received to allow receiving | |
static void | busvoodoo_rs485_receive_disable (void) |
enable RS-485 transceiver received to allow receiving | |
static bool | busvoodoo_rs485_setup (char **prefix, const char *line) |
setup RS-485 mode More... | |
static void | busvoodoo_rs485_exit (void) |
exit RS-485 mode | |
Variables | |
static const struct busvoodoo_uart_generic_specific_t | busvoodoo_uart_generic_rs485 |
RS-485 specific methods that will be called by the generic methods. More... | |
const struct busvoodoo_mode_t | busvoodoo_rs485_mode |
RS-485 mode interface definition. More... | |
BusVoodoo RS-485 mode (code)
Definition in file busvoodoo_rs485.c.
|
static |
setup RS-485 mode
[out] | prefix | terminal prompt prefix |
[in] | line | terminal prompt line to configure mode |
Definition at line 100 of file busvoodoo_rs485.c.
const struct busvoodoo_mode_t busvoodoo_rs485_mode |
RS-485 mode interface definition.
Definition at line 143 of file busvoodoo_rs485.c.
|
static |
RS-485 specific methods that will be called by the generic methods.
Definition at line 71 of file busvoodoo_rs485.c.