| 
| 
typedef modm::Flags16< Pin >  | Pins | 
|   | 
| 
using  | PortType = uint16_t | 
|   | 
| 
template<Pca9535< I2cMaster > & object, Pin StartPin, uint8_t Width, GpioPort::DataOrder DataOrder = GpioPort::DataOrder::Normal>  | 
| using  | Port = GpioExpanderPort< Pca9535< I2cMaster >, object, StartPin, Width, DataOrder > | 
|   | Alias-templates for simpler use of the Port. 
  | 
|   | 
 | 
| template<Pca9535< I2cMaster > & object>  | 
| using  | P0_0 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_0 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_1 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_1 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_2 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_2 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_3 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_3 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_4 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_4 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_5 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_5 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_6 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_6 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P0_7 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P0_7 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_0 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_0 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_1 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_1 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_2 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_2 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_3 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_3 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_4 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_4 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_5 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_5 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_6 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_6 > | 
|   | 
| 
template<Pca9535< I2cMaster > & object>  | 
| using  | P1_7 = GpioExpanderPin< Pca9535< I2cMaster >, object, Pin::P1_7 > | 
|   | 
 | 
| 
  | Pca9535 (uint8_t address=0x20) | 
|   | Constructor, sets address to default of 0x20 (range 0x20 - 0x27) 
  | 
|   | 
| 
bool  | setOutput (Pins pins) | 
|   | 
| 
bool  | set (Pins pins) | 
|   | 
| 
bool  | reset (Pins pins) | 
|   | 
| 
bool  | toggle (Pins pins) | 
|   | 
| 
bool  | set (Pins pins, bool value) | 
|   | 
| 
bool  | isSet (Pin pin) const | 
|   | 
| 
modm::Gpio::Direction  | getDirection (Pin pin) const | 
|   | 
| 
bool  | setInput (Pins pins) | 
|   | 
| 
bool  | setInvertInput (Pins pins) | 
|   | 
| 
bool  | resetInvertInput (Pins pins) | 
|   | 
| 
bool  | read (Pins pins) const | 
|   | 
| 
bool  | readInput () | 
|   | 
| 
bool  | writePort (PortType data) | 
|   | 
| 
bool  | readPort (PortType &data) | 
|   | 
| 
Pins  | getDirections () const | 
|   | 
| 
Pins  | getOutputs () const | 
|   | 
| 
Pins  | getInputs () const | 
|   | 
| 
Pins  | getPolarities () const | 
|   | 
| void  | attachConfigurationHandler (I2c::ConfigurationHandler handler) | 
|   | 
| bool  | ping () | 
|   | 
| 
bool  | read (uint8_t *buffer, std::size_t size) | 
|   | Starts a write transaction and waits until finished. 
  | 
|   | 
| void  | setAddress (uint8_t address) | 
|   | 
| 
bool  | write (const uint8_t *buffer, std::size_t size) | 
|   | Starts a write transaction and waits until finished. 
  | 
|   | 
| 
bool  | writeRead (const uint8_t *writeBuffer, std::size_t writeSize, uint8_t *readBuffer, std::size_t readSize) | 
|   | Starts a write-read transaction and waits until finished. 
  | 
|   | 
| bool  | read (Pins pins) const | 
|   | 
| 
bool  | readPort (PortType &data) | 
|   | Reads the entire port, buffers them and outputs the result to data. 
  | 
|   | 
| bool  | reset (Pins pins) | 
|   | 
| bool  | set (Pins pins) | 
|   | 
| bool  | set (Pins pins, bool value) | 
|   | 
| 
bool  | setInput (Pins pins) | 
|   | Sets one or more pins to input. 
  | 
|   | 
| 
bool  | setOutput (Pins pins) | 
|   | Sets one or more pins to output. 
  | 
|   | 
| bool  | toggle (Pins pins) | 
|   | 
| bool  | writePort (PortType data) | 
|   |