45 BAUD_14400 = 14400_u32,
46 BAUD_19200 = 19200_u32,
47 BAUD_38400 = 38400_u32,
48 BAUD_57600 = 57600_u32,
49 BAUD_115200 = 115200_u32,
std::uint16_t igros_word_t
16-bit unsigned integer
std::size_t igros_usize_t
Unsigned size.
std::uint8_t igros_byte_t
8-bit unsigned integer
std::uint32_t igros_dword_t
32-bit unsigned integer
Architecture-independent interface: drivers and aliases of current architecture types.
auto serialWrite(const SERIAL_PORT port, const std::string_view text) noexcept -> igros_usize_t
Serial write.
auto serialRead(const SERIAL_PORT port, const std::span< char > buffer) noexcept -> igros_usize_t
Serial read.
auto serialReadyWrite(const SERIAL_PORT port) noexcept -> bool
Is write ready?
auto serialInit(const SERIAL_PORT port, const BAUD_RATE baudRate, const DATA_SIZE dataSize, const STOP_BITS stopBits, const PARITY parity) noexcept -> bool
Initialize serial port.
auto serialSetup() noexcept -> bool
Setup COM1 (115200 8N1) with receive interrupt.
SERIAL_PORT
Serial ports (standard PC I/O bases).
auto serialReadyRead(const SERIAL_PORT port) noexcept -> bool
Is read ready?
Common C++ types redefinition.