Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
Loading...
Searching...
No Matches
enums.hpp File Reference
#include "model/comms/SerialPortSettings.hpp"
#include <map>
#include <ranges>
#include <termios.h>
Include dependency graph for enums.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  iv
 
namespace  iv::comms
 
namespace  iv::comms::serial
 
namespace  iv::comms::serial::constants
 

Enumerations

enum class  iv::comms::serial::eSerialMode { iv::comms::serial::Read = 1 , iv::comms::serial::Write = 2 , iv::comms::serial::ReadWrite = 3 }
 

Functions

std::string iv::comms::serial::constants::getBaudRateString (const iv::model::comms::serial::eBaudRate baudRate)
 
iv::model::comms::serial::eBaudRate iv::comms::serial::constants::getBaudRateEnum (const std::string &baudRate)
 
std::string iv::comms::serial::constants::getDataBitsString (const iv::model::comms::serial::eDataBits dataBits)
 
iv::model::comms::serial::eDataBits iv::comms::serial::constants::getDataBitsEnum (const std::string &dataBits)
 
std::string iv::comms::serial::constants::getStopBitsString (const iv::model::comms::serial::eStopBits stopBits)
 
iv::model::comms::serial::eStopBits iv::comms::serial::constants::getStopBitsEnum (const std::string &stopBits)
 

Variables

constexpr std::string_view iv::comms::serial::constants::BR0 = "0"
 
constexpr std::string_view iv::comms::serial::constants::BR50 = "50"
 
constexpr std::string_view iv::comms::serial::constants::BR75 = "75"
 
constexpr std::string_view iv::comms::serial::constants::BR110 = "110"
 
constexpr std::string_view iv::comms::serial::constants::BR134 = "134"
 
constexpr std::string_view iv::comms::serial::constants::BR150 = "150"
 
constexpr std::string_view iv::comms::serial::constants::BR200 = "200"
 
constexpr std::string_view iv::comms::serial::constants::BR300 = "300"
 
constexpr std::string_view iv::comms::serial::constants::BR600 = "600"
 
constexpr std::string_view iv::comms::serial::constants::BR1200 = "1200"
 
constexpr std::string_view iv::comms::serial::constants::BR1800 = "1800"
 
constexpr std::string_view iv::comms::serial::constants::BR2400 = "2400"
 
constexpr std::string_view iv::comms::serial::constants::BR4800 = "4800"
 
constexpr std::string_view iv::comms::serial::constants::BR9600 = "9600"
 
constexpr std::string_view iv::comms::serial::constants::BR19200 = "19200"
 
constexpr std::string_view iv::comms::serial::constants::BR38400 = "38400"
 
constexpr std::string_view iv::comms::serial::constants::BR57600 = "57600"
 
constexpr std::string_view iv::comms::serial::constants::BR115200 = "115200"
 
constexpr std::string_view iv::comms::serial::constants::BR230400 = "230400"
 
constexpr std::string_view iv::comms::serial::constants::BR460800 = "460800"
 
constexpr std::string_view iv::comms::serial::constants::BR500000 = "500000"
 
constexpr std::string_view iv::comms::serial::constants::BR576000 = "576000"
 
constexpr std::string_view iv::comms::serial::constants::BR921600 = "921600"
 
constexpr std::string_view iv::comms::serial::constants::BR1000000 = "1000000"
 
constexpr std::string_view iv::comms::serial::constants::BR1152000 = "1152000"
 
constexpr std::string_view iv::comms::serial::constants::BR1500000 = "1500000"
 
constexpr std::string_view iv::comms::serial::constants::BR2000000 = "2000000"
 
constexpr std::string_view iv::comms::serial::constants::BR2500000 = "2500000"
 
constexpr std::string_view iv::comms::serial::constants::BR3000000 = "3000000"
 
constexpr std::string_view iv::comms::serial::constants::BR3500000 = "3500000"
 
constexpr std::string_view iv::comms::serial::constants::BR4000000 = "4000000"
 
constexpr std::string_view iv::comms::serial::constants::DB5 = "5"
 
constexpr std::string_view iv::comms::serial::constants::DB6 = "6"
 
constexpr std::string_view iv::comms::serial::constants::DB7 = "7"
 
constexpr std::string_view iv::comms::serial::constants::DB8 = "8"
 
constexpr std::string_view iv::comms::serial::constants::SB1 = "1"
 
constexpr std::string_view iv::comms::serial::constants::SB2 = "2"
 
std::map< iv::model::comms::serial::eBaudRate, std::string_view > iv::comms::serial::constants::baudRateMap
 
std::map< iv::model::comms::serial::eDataBits, std::string_view > iv::comms::serial::constants::dataBitsMap
 
std::map< iv::model::comms::serial::eStopBits, std::string_view > iv::comms::serial::constants::stopBitsMap