|
Lazuli
|
Serial port configuration implementation. More...
#include <Lazuli/common.h>#include <Lazuli/config.h>#include <Lazuli/serial.h>#include <Lazuli/sys/arch/arch.h>Go to the source code of this file.
Functions | |
| void | Lz_Serial_GetConfiguration (Lz_SerialConfiguration *const serialConfiguration) |
| Retrieve the configuration of the serial line. | |
| void | Lz_Serial_SetConfiguration (Lz_SerialConfiguration *const serialConfiguration) |
| Set the configuration of the serial line. | |
Serial port configuration implementation.
This file describes the implementation of serial interface configuration.
Definition in file serial.c.
| void Lz_Serial_GetConfiguration | ( | Lz_SerialConfiguration *const | serialConfiguration | ) |
Retrieve the configuration of the serial line.
This function will fill the object pointed by the parameter with current serial settings.
| serialConfiguration | A pointer to an allocated Lz_SerialConfiguration (e.g. allocated on the stack). |
| void Lz_Serial_SetConfiguration | ( | Lz_SerialConfiguration *const | serialConfiguration | ) |
Set the configuration of the serial line.
This function will set the different parameters of the serial line according to the configuration pointed by the serialConfiguration parameter.
| serialConfiguration | A pointer to an allocated Lz_SerialConfiguration (e.g. allocated on the stack). |