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

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

#include <fastarduino/devices/mcp23017.h>

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

Detailed Description

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

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

This is used by interrupt_flags() 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 read from, may be A, B or both; if both, then the return type will be uint16_t, with low byte for port A, and high byte for port B.
See also
interrupt_flags(InterruptFlagsFuture<P_>&)

Definition at line 407 of file mcp23017.h.


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