57 auto lsb = (rate & 0x000000FF) >> 0;
58 auto msb = (rate & 0x0000FF00) >> 8;
78 switch ((msb << 8) | lsb)
93 return baud_rate_1200;
95 return baud_rate_1800;
97 return baud_rate_2000;
99 return baud_rate_2400;
101 return baud_rate_3600;
103 return baud_rate_4800;
105 return baud_rate_7200;
107 return baud_rate_9600;
108 case baud_rate_19200:
109 return baud_rate_19200;
110 case baud_rate_38400:
111 return baud_rate_38400;
112 case baud_rate_57600:
113 return baud_rate_57600;
115 return baud_rate_115200;
138 return char_length_5;
140 return char_length_6;
142 return char_length_7;
144 return char_length_8;
207 while (!get_line_status_empty_transmitter());
212 serial_port_intel_x64::enable_dlab() const
noexcept 220 serial_port_intel_x64::disable_dlab() const
noexcept 228 serial_port_intel_x64::get_line_status_empty_transmitter() const
noexcept auto inb(P port) noexcept
constexpr const x64::portio::port_8bit_type dlab
parity_bits_t parity_bits() const noexcept
void set_parity_bits(parity_bits_t bits) noexcept
baud_rate_t baud_rate() const noexcept
constexpr const x64::portio::port_8bit_type line_control_parity_mask
x64::portio::port_8bit_type value_type
constexpr const x64::portio::port_8bit_type line_control_stop_mask
serial_port_intel_x64(port_type port=DEFAULT_COM_PORT) noexcept
data_bits_t data_bits() const noexcept
void write(char c) noexcept
#define DEFAULT_BAUD_RATE
void outb(P port, T val) noexcept
constexpr const x64::portio::port_8bit_type line_status_empty_transmitter
constexpr const x64::portio::port_8bit_type fifo_control_clear_transmit_fifo
constexpr const x64::portio::port_addr_type line_status_reg
constexpr const x64::portio::port_8bit_type line_control_data_mask
void uint64_t uint64_t uint64_t *rdx noexcept
void set_stop_bits(stop_bits_t bits) noexcept
constexpr const x64::portio::port_addr_type baud_rate_lo_reg
x64::portio::port_addr_type port_type
void set_baud_rate(baud_rate_t rate) noexcept
static serial_port_intel_x64 * instance() noexcept
constexpr const x64::portio::port_addr_type line_control_reg
#define DEFAULT_STOP_BITS
constexpr const x64::portio::port_addr_type baud_rate_hi_reg
#define DEFAULT_PARITY_BITS
void set_data_bits(data_bits_t bits) noexcept
#define DEFAULT_DATA_BITS
stop_bits_t stop_bits() const noexcept
constexpr const x64::portio::port_8bit_type fifo_control_enable_fifos
constexpr const x64::portio::port_addr_type fifo_control_reg
constexpr const x64::portio::port_8bit_type fifo_control_clear_recieve_fifo
constexpr const x64::portio::port_addr_type interrupt_en_reg