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.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Dependents: Display_53L0A1_IntSatelites Display_53L0A1_InterruptMode
Fork of X_NUCLEO_53L0A1 by
STMPE1600DigiOut Class Reference
Class representing a single stmpe1600 GPIO expander output pin. More...
#include <stmpe1600_class.h>
Public Member Functions | |
| STMPE1600DigiOut (DevI2C &i2c, ExpGpioPinName outpinname, uint8_t DevAddr=STMPE1600_DEF_DEVICE_ADDRESS, bool lvl=STMPE1600_DEF_DIGIOUT_LVL) | |
| Constructor. | |
| void | write (int lvl) |
| Write on the out pin. | |
| STMPE1600DigiOut & | operator= (int lvl) |
| Overload assignement operator. | |
Detailed Description
Class representing a single stmpe1600 GPIO expander output pin.
Definition at line 95 of file stmpe1600_class.h.
Constructor & Destructor Documentation
| STMPE1600DigiOut | ( | DevI2C & | i2c, |
| ExpGpioPinName | outpinname, | ||
| uint8_t | DevAddr = STMPE1600_DEF_DEVICE_ADDRESS, |
||
| bool | lvl = STMPE1600_DEF_DIGIOUT_LVL |
||
| ) |
Constructor.
- Parameters:
-
[in] &i2c device I2C to be used for communication [in] outpinname the desired out pin name to be created [in] DevAddr the stmpe1600 I2C device addres (deft STMPE1600_DEF_DEVICE_ADDRESS) [in] lvl the default ot pin level
Definition at line 104 of file stmpe1600_class.h.
Member Function Documentation
| STMPE1600DigiOut& operator= | ( | int | lvl ) |
Overload assignement operator.
Definition at line 136 of file stmpe1600_class.h.
| void write | ( | int | lvl ) |
Write on the out pin.
- Parameters:
-
[in] lvl level to write
- Returns:
- 0 on Success
Definition at line 122 of file stmpe1600_class.h.
Generated on Tue Jul 12 2022 21:41:59 by
1.7.2
