Paparazzi UAS
v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
|
Go to the source code of this file.
Functions | |
static void | send_uart_err (struct transport_tx *trans, struct link_device *dev) |
void | uart_periph_init (struct uart_periph *p) |
int WEAK | uart_check_free_space (struct uart_periph *p, long *fd, uint16_t len) |
void WEAK | uart_put_buffer (struct uart_periph *p, long fd, const uint8_t *data, uint16_t len) |
void WEAK | uart_send_message (struct uart_periph *p, long fd) |
uint8_t WEAK | uart_getch (struct uart_periph *p) |
int WEAK | uart_char_available (struct uart_periph *p) |
Check UART for available chars in receive buffer. More... | |
void WEAK | uart_arch_init (void) |
void WEAK | uart_periph_invert_data_logic (struct uart_periph *p, bool invert_rx, bool invert_tx) |
|
static |
Definition at line 181 of file uart.c.
References dev.
Referenced by uart_periph_init().
int WEAK uart_char_available | ( | struct uart_periph * | p | ) |
Check UART for available chars in receive buffer.
Definition at line 286 of file uart.c.
References p, and UART_RX_BUFFER_SIZE.
Referenced by uart_periph_init().
int WEAK uart_check_free_space | ( | struct uart_periph * | p, |
long * | fd, | ||
uint16_t | len | ||
) |
Definition at line 256 of file uart.c.
References p, and UART_TX_BUFFER_SIZE.
Referenced by send_buffer_to_uart(), tunnel_event(), and uart_periph_init().
uint8_t WEAK uart_getch | ( | struct uart_periph * | p | ) |
Definition at line 279 of file uart.c.
References p, and UART_RX_BUFFER_SIZE.
Referenced by uart_periph_init().
void uart_periph_init | ( | struct uart_periph * | p | ) |
Definition at line 231 of file uart.c.
References DefaultPeriodic, p, register_periodic_telemetry(), send_uart_err(), uart_char_available(), uart_check_free_space(), uart_getch(), uart_periph_set_baudrate(), uart_put_buffer(), uart_put_byte(), and uart_send_message().
Referenced by high_speed_logger_direct_memory_init().
void WEAK uart_periph_invert_data_logic | ( | struct uart_periph * | p, |
bool | invert_rx, | ||
bool | invert_tx | ||
) |
Definition at line 299 of file uart.c.
Referenced by sbus_common_init().
void WEAK uart_put_buffer | ( | struct uart_periph * | p, |
long | fd, | ||
const uint8_t * | data, | ||
uint16_t | len | ||
) |
Definition at line 266 of file uart.c.
References fd, p, and uart_put_byte().
Referenced by actuators_ostrich_periodic(), if(), send_message(), sts3032_event(), and uart_periph_init().
void WEAK uart_send_message | ( | struct uart_periph * | p, |
long | fd | ||
) |
Definition at line 275 of file uart.c.
Referenced by faulhaber_send_command(), and uart_periph_init().