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.
Fork of X_NUCLEO_6180XA1 by
STMPE1600DigiIn Class Reference
Class representing a single stmpe1600 GPIO expander input pin. More...
#include <stmpe1600_class.h>
Public Member Functions | |
| STMPE1600DigiIn (DevI2C &i2c, ExpGpioPinName inpinname, uint8_t DevAddr=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 151 of file stmpe1600_class.h.
Constructor & Destructor Documentation
| STMPE1600DigiIn | ( | DevI2C & | i2c, |
| ExpGpioPinName | inpinname, | ||
| uint8_t | DevAddr = 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 159 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 173 of file stmpe1600_class.h.
Generated on Wed Jul 13 2022 03:00:34 by
1.7.2
