ChibiOS/HAL
6.1.0
|
UART Driver code. More...
#include "hal.h"
Go to the source code of this file.
Functions | |
void | uartInit (void) |
UART Driver initialization. More... | |
void | uartObjectInit (UARTDriver *uartp) |
Initializes the standard part of a UARTDriver structure. More... | |
void | uartStart (UARTDriver *uartp, const UARTConfig *config) |
Configures and activates the UART peripheral. More... | |
void | uartStop (UARTDriver *uartp) |
Deactivates the UART peripheral. More... | |
void | uartStartSend (UARTDriver *uartp, size_t n, const void *txbuf) |
Starts a transmission on the UART peripheral. More... | |
void | uartStartSendI (UARTDriver *uartp, size_t n, const void *txbuf) |
Starts a transmission on the UART peripheral. More... | |
size_t | uartStopSend (UARTDriver *uartp) |
Stops any ongoing transmission. More... | |
size_t | uartStopSendI (UARTDriver *uartp) |
Stops any ongoing transmission. More... | |
void | uartStartReceive (UARTDriver *uartp, size_t n, void *rxbuf) |
Starts a receive operation on the UART peripheral. More... | |
void | uartStartReceiveI (UARTDriver *uartp, size_t n, void *rxbuf) |
Starts a receive operation on the UART peripheral. More... | |
size_t | uartStopReceive (UARTDriver *uartp) |
Stops any ongoing receive operation. More... | |
size_t | uartStopReceiveI (UARTDriver *uartp) |
Stops any ongoing receive operation. More... | |
msg_t | uartSendTimeout (UARTDriver *uartp, size_t *np, const void *txbuf, sysinterval_t timeout) |
Performs a transmission on the UART peripheral. More... | |
msg_t | uartSendFullTimeout (UARTDriver *uartp, size_t *np, const void *txbuf, sysinterval_t timeout) |
Performs a transmission on the UART peripheral. More... | |
msg_t | uartReceiveTimeout (UARTDriver *uartp, size_t *np, void *rxbuf, sysinterval_t timeout) |
Performs a receive operation on the UART peripheral. More... | |
void | uartAcquireBus (UARTDriver *uartp) |
Gains exclusive access to the UART bus. More... | |
void | uartReleaseBus (UARTDriver *uartp) |
Releases exclusive access to the UART bus. More... | |
UART Driver code.
Definition in file hal_uart.c.