struct Driver

Defined at line 105 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

Public Members

static const auto kDevicetreeBindings
static basic_string_view kConfigName
static const uint32_t kFifoDepth

Public Methods

template <typename... Args>
void Driver (Args &&... args)

Defined at line 114 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
void Init (IoProvider & io)

Defined at line 119 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
uint32_t TxReady (IoProvider & io)

Defined at line 142 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider, typename It1, typename It2>
auto Write (IoProvider & io, uint32_t ready_space, It1 it, const It2 & end)

Defined at line 152 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
std::optional<uint8_t> Read (IoProvider & io)

Defined at line 161 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
std::optional<uint8_t> Read (IoProvider & io)

Defined at line 161 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
void EnableTxInterrupt (IoProvider & io, bool enable)

Defined at line 169 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider>
void EnableRxInterrupt (IoProvider & io, bool enable)

Defined at line 175 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <typename IoProvider, typename IrqProvider>
void InitInterrupt (IoProvider & io, IrqProvider & irq)

Defined at line 181 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h

template <class IoProvider, typename Lock, typename Waiter, typename Tx, typename Rx>
void Interrupt (IoProvider & io, Lock & lock, Waiter & waiter, Tx && tx, Rx && rx)

Defined at line 192 of file ../../zircon/system/ulib/uart/include/lib/uart/amlogic.h