Namespaces
Enumerations
enum DataBits
| Name | Value |
|---|---|
| k5 | 0 |
| k6 | 1 |
| k7 | 2 |
| k8 | 3 |
Number of bits transmitted per character.
Defined at line 101 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
enum Parity
| Name | Value |
|---|---|
| kNone | 0 |
| kEven | 1 |
| kOdd | 2 |
The bit pattern mechanism to help detect transmission errors.
Defined at line 109 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
enum StopBits
| Name | Value |
|---|---|
| k1 | 0 |
| k2 | 1 |
The duration of the stop period in terms of the transmitted bit rate.
Defined at line 116 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
enum IoRegisterType
| Name | Value |
|---|---|
| kNone | 0 |
| kMmio8 | 1 |
| kMmio32 | 2 |
| kPio | 3 |
Defined at line 136 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
Records
-
class BasicIoProvider -
class BasicIoProvider -
class BasicIoProvider -
class BasicIoProvider -
class CharsFrom -
class Config -
class DriverBase -
class DriverBase -
class DriverBase -
class IoPortRange -
class KernelDriver -
class MmioRange -
class NullIrqProvider -
class RxInterrupt -
class StubConfig -
class TxInterrupt -
class UnsynchronizedPolicy
Functions
-
template <>std::optional<zbi_dcfg_simple_t> ParseConfig<zbi_dcfg_simple_t> (std::string_view string)These specializations are defined in the library to cover all the ZBI item
payload types used by the various drivers.
Defined at line 13 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>std::optional<zbi_dcfg_simple_t> ParseConfig<zbi_dcfg_simple_t> (std::string_view string)These specializations are defined in the library to cover all the ZBI item
payload types used by the various drivers.
Defined at line 13 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>void UnparseConfig<zbi_dcfg_simple_t> (const zbi_dcfg_simple_t & config, FILE * out)Defined at line 22 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>void UnparseConfig<zbi_dcfg_simple_t> (const zbi_dcfg_simple_t & config, FILE * out)Defined at line 22 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>std::optional<zbi_dcfg_simple_pio_t> ParseConfig<zbi_dcfg_simple_pio_t> (std::string_view string)Defined at line 27 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>std::optional<zbi_dcfg_simple_pio_t> ParseConfig<zbi_dcfg_simple_pio_t> (std::string_view string)Defined at line 27 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>void UnparseConfig<zbi_dcfg_simple_pio_t> (const zbi_dcfg_simple_pio_t & config, FILE * out)Defined at line 36 of file ../../zircon/system/ulib/uart/parse.cc
-
template <>void UnparseConfig<zbi_dcfg_simple_pio_t> (const zbi_dcfg_simple_pio_t & config, FILE * out)Defined at line 36 of file ../../zircon/system/ulib/uart/parse.cc
-
template <typename Config>std::optional<Config> ParseConfig (std::string_view )This template is specialized by payload configuration type (see below).
It parses bits out of strings from the "kernel.serial" boot option.
Defined at line 124 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
-
template <typename Config>std::optional<Config> ParseConfig (std::string_view )This template is specialized by payload configuration type (see below).
It parses bits out of strings from the "kernel.serial" boot option.
Defined at line 124 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
-
template <typename Config>void UnparseConfig (const Config & config, FILE * out)This template is specialized by payload configuration type (see below).
It recreates a string for Parse.
Defined at line 132 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
-
template <typename Config>void UnparseConfig (const Config & configFILE * out)This template is specialized by payload configuration type (see below).
It recreates a string for Parse.
Defined at line 132 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
Concepts
template <class Driver> MmioDriver requires (const Driver &driver) { { driver.mmio_range() } -> std::same_as<MmioRange>; }
This matches either a Driver API object or a KernelDriver wrapper
instantiation for an MMIO-based driver.
Defined at line 189 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
template <class Driver> PioDriver std::same_as<typename std::decay_t<Driver>::config_type, zbi_dcfg_simple_pio_t>
Defined at line 194 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h
template <class Driver> NonMmioDriver !MmioDriver<Driver>
Defined at line 197 of file ../../zircon/system/ulib/uart/include/lib/uart/uart.h