FastArduino  v1.8
C++ library to build fast but small Arduino/AVR projects
devices::mcp230xx::MCP23017< MANAGER >::SetValuesFuture< P_ > Class Template Reference

Create a future to be used by asynchronous method values(SetValuesFuture<P_>&). More...

#include <fastarduino/devices/mcp23017.h>

Inheritance diagram for devices::mcp230xx::MCP23017< MANAGER >::SetValuesFuture< P_ >:
Collaboration diagram for devices::mcp230xx::MCP23017< MANAGER >::SetValuesFuture< P_ >:

Detailed Description

template<typename MANAGER>
template<MCP23017Port P_>
class devices::mcp230xx::MCP23017< MANAGER >::SetValuesFuture< P_ >

Create a future to be used by asynchronous method values(SetValuesFuture<P_>&).

This is used by values() to asynchronously launch the I2C transaction, and it shall be used by the caller to determine when the I2C transaction is finished.

Template Parameters
P_which port to configure, may be A, B or both; if both, then all arguments will be uint16_t, with low byte for port A configuration, and high byte for port B.
Parameters
valueeach bit indicates the new level of the matching output pin of the selected port
See also
values(SetValuesFuture<P_>&)

Definition at line 309 of file mcp23017.h.


The documentation for this class was generated from the following file: