struct Driver
Defined at line 250 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
This provides the actual driver logic common to MMIO and PIO variants.
Public Members
static basic_string_view kConfigName
static const auto kDevicetreeBindings
Protected Members
uint32_t fifo_depth_
bool thre_mode_
bool fifo_stat_
Public Methods
template <typename... Args>
void Driver (Args &&... args)
Defined at line 261 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
bool TrySelect (const devicetree::PropertyDecoder & decoder)
Defined at line 263 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
void Init (IoProvider & io)
Defined at line 279 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
void SetLineControl (IoProvider &io,std::optional<DataBits>data_bits,std::optional<Parity>parity,std::optional<StopBits>stop_bits)
Defined at line 334 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
void SetLineControl (IoProvider &io,std::optional<DataBits>data_bits,std::optional<Parity>parity,std::optional<StopBits>stop_bits)
Defined at line 334 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
bool TxReady (IoProvider & io)
Defined at line 405 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider,typename It1,typename It2>
auto Write (IoProvider &io,bool,It1it,const It2 &end)
Defined at line 421 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
std::optional<uint8_t> Read (IoProvider & io)
Defined at line 448 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
std::optional<uint8_t> Read (IoProvider & io)
Defined at line 448 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
void EnableTxInterrupt (IoProvider & io, bool enable)
Defined at line 456 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
void EnableRxInterrupt (IoProvider & io, bool enable)
Defined at line 462 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <typename IoProvider, typename IrqProvider>
void InitInterrupt (IoProvider & io, IrqProvider & irq)
Defined at line 468 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.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 479 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h
template <class IoProvider>
bool WaitDuringBusy (IoProvider & io)
Defined at line 537 of file ../../zircon/system/ulib/uart/include/lib/uart/dw8250.h