18 #ifndef LAZULI_SERIAL_H 19 #define LAZULI_SERIAL_H 62 __LZ_SERIAL_STOP_BITS_ENUM_BEGIN = -1,
82 __LZ_SERIAL_STOP_BITS_ENUM_END
97 __LZ_SERIAL_PARITY_BIT_ENUM_BEGIN = -1,
122 __LZ_SERIAL_PARITY_BIT_ENUM_END
137 __LZ_SERIAL_SIZE_ENUM_BEGIN = -1,
167 __LZ_SERIAL_SIZE_ENUM_END
182 __LZ_SERIAL_SPEED_ENUM_BEGIN = -1,
212 __LZ_SERIAL_SPEED_ENUM_END
Enable serial transmission.
Use 6-bit character size on serial line.
Use a 4800 baud rate on the serial line.
#define _EXTERN_C_DECL_BEGIN
Open C++ header file declarations.
Use a 19200 baud rate on the serial line.
Use 8-bit character size on serial line.
Disable both serial transmission and reception.
Use 5-bit character size on serial line.
#define POSITION(X)
Define a constant bit at position X, starting from index 0.
Lz_SerialSize
Define the size of the character used on serial line.
Lz_SerialParityBit
Define the kind of parity bit to use on serial line.
void Lz_Serial_GetConfiguration(Lz_SerialConfiguration *const serialConfiguration)
Retrieve the configuration of the serial line.
Lz_SerialEnableFlags
Define flags for enabling/disabling serial transmission/reception.
Use a 2400 baud rate on the serial line.
Use 7-bit character size on serial line.
Enable both serial transmission and reception.
Lz_SerialSpeed
Define the baud rate of the serial line.
Use a 9600 baud rate on the serial line.
Represents the configuration of a serial interface.
void Lz_Serial_SetConfiguration(Lz_SerialConfiguration *const serialConfiguration)
Set the configuration of the serial line.
Lz_SerialStopBits
Define the number of stop bits to use on serial line.
Basic type definitions and useful macros.
#define _EXTERN_C_DECL_END
Close C++ header file declarations.