Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Stmpe1600DigiIn Class Reference
Class representing a single stmpe1600 GPIO expander input pin. More...
#include <stmpe1600_class.h>
Public Member Functions | |
| Stmpe1600DigiIn (DevI2C &i2c, ExpGpioPinName in_pin_name, uint8_t dev_addr=STMPE1600_DEF_DEVICE_ADDRESS) | |
| Constructor. | |
| bool | read () |
| Read the input pin. | |
Detailed Description
Class representing a single stmpe1600 GPIO expander input pin.
Definition at line 158 of file stmpe1600_class.h.
Constructor & Destructor Documentation
| Stmpe1600DigiIn | ( | DevI2C & | i2c, |
| ExpGpioPinName | in_pin_name, | ||
| uint8_t | dev_addr = STMPE1600_DEF_DEVICE_ADDRESS |
||
| ) |
Constructor.
- Parameters:
-
[in] &i2c device I2C to be used for communication [in] inpinname the desired input pin name to be created [in] DevAddr the stmpe1600 I2C device addres (deft STMPE1600_DEF_DEVICE_ADDRESS)
Definition at line 166 of file stmpe1600_class.h.
Member Function Documentation
| bool read | ( | ) |
Read the input pin.
- Returns:
- The pin logical state 0 or 1
Definition at line 184 of file stmpe1600_class.h.
Generated on Fri Jul 15 2022 15:26:22 by
1.7.2