template <typename Config, IoRegisterType>

class IoProvider

Defined at line 35 of file ../../zircon/system/ulib/uart/include/lib/uart/mock.h

uart::KernelDriver IoProvider API

This is used as the uart::KernelDriver IoProvider template for mock tests.

When used with uart::mock::Driver, no actual I/O calls are ever made and

this is just a placeholder. When used with other uart::xyz::Driver

hardware drivers, it provides the hwreg::Mock API for testing expected I/O

calls from the driver.

Public Methods

void IoProvider<Config, value-parameter-0-1> (const Config & , size_t )

Defined at line 37 of file ../../zircon/system/ulib/uart/include/lib/uart/mock.h

void IoProvider<Config, value-parameter-0-1> (const Config & , uint16_t )

Defined at line 38 of file ../../zircon/system/ulib/uart/include/lib/uart/mock.h

auto * io ()

Defined at line 40 of file ../../zircon/system/ulib/uart/include/lib/uart/mock.h

auto & mock ()

Mock tests of hardware drivers use this to prime the mock with expected

callbacks from the driver.

Defined at line 44 of file ../../zircon/system/ulib/uart/include/lib/uart/mock.h