pros::adi::Port class

Constructors, destructors, conversion operators

Port(std::uint8_t adi_port, adi_port_config_e_t type = E_ADI_TYPE_UNDEFINED) explicit
Configures an ADI port to act as a given sensor type.
Port(ext_adi_port_pair_t port_pair, adi_port_config_e_t type = E_ADI_TYPE_UNDEFINED) explicit
Configures an ADI port on an adi expander to act as a given sensor type.

Public functions

std::int32_t get_config() const
Gets the configuration for the given ADI port.
std::int32_t get_value() const
Gets the value for the given ADI port.
std::int32_t set_config(adi_port_config_e_t type) const
Configures an ADI port to act as a given sensor type.
std::int32_t set_value(std::int32_t value) const
Sets the value for the given ADI port.
ext_adi_port_tuple_t get_port() const virtual
Gets the port of the sensor.