class RegisterDirectPio
Defined at line 30 of file ../../zircon/system/ulib/hwreg/include/hwreg/pio.h
This can be passed to ReadFrom and WriteTo methods. The RegisterAddr
object passes uint32_t even though port addresses are only 16 bits.
This can either be used default-constructed where the RegisterAddr
contains the full I/O port address, or be constructed with a base
port address that is added to the value stored in the RegisterAddr.
Public Methods
void RegisterDirectPio ()
Defined at line 32 of file ../../zircon/system/ulib/hwreg/include/hwreg/pio.h
void RegisterDirectPio (uint16_t base)
Defined at line 33 of file ../../zircon/system/ulib/hwreg/include/hwreg/pio.h
template <typename IntType>
void Write (IntType value, uint32_t port)
Defined at line 36 of file ../../zircon/system/ulib/hwreg/include/hwreg/pio.h
template <typename IntType>
IntType Read (uint32_t port)
Defined at line 52 of file ../../zircon/system/ulib/hwreg/include/hwreg/pio.h