FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
Loading...
Searching...
No Matches
devices::mcp230xx::MCP23017< MANAGER >::BeginFuture Class Reference

Create a future to be used by asynchronous method begin(BeginFuture&). More...

#include <fastarduino/devices/mcp23017.h>

Inheritance diagram for devices::mcp230xx::MCP23017< MANAGER >::BeginFuture:
Collaboration diagram for devices::mcp230xx::MCP23017< MANAGER >::BeginFuture:

Additional Inherited Members

- Public Member Functions inherited from i2c::TWriteRegisterFuture< MANAGER, REGISTER, T, FUNCTOR >
 TWriteRegisterFuture (const ARG_TYPE &value=ARG_TYPE{}, future::FutureNotification notification=future::FutureNotification::NONE)
 Create a TWriteRegisterFuture future. More...
 
- Public Member Functions inherited from i2c::WriteRegisterFuture< MANAGER, T, FUNCTOR >
 WriteRegisterFuture (uint8_t reg, const ARG_TYPE &value, future::FutureNotification notification=future::FutureNotification::NONE)
 Create a WriteRegisterFuture future for a given device register reg. More...
 

Detailed Description

template<typename MANAGER>
class devices::mcp230xx::MCP23017< MANAGER >::BeginFuture

Create a future to be used by asynchronous method begin(BeginFuture&).

This is used by begin() to pass input settings, and it shall be used by the caller to determine when the I2C transaction is finished, hence when you may use other methods.

Parameters
mirror_interruptsif true then INTA and INTB are mirrored, hence any interrupt occurring on A or B port will generate a level change on both pins; hence you can connect any pin to only one interrupt pin on Arduino if you are lacking available pins.
interrupt_polaritythe level triggerred on INTA or INTB pin when an interrupt occurs
See also
begin(BeginFuture&)

Definition at line 192 of file mcp23017.h.


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