![]() ![]() STMPE1600DigiIn (DevI2C &i2c, ExpGpioPinName inpinname, uint8_t DevAddr=STMPE1600_DEF_DEVICE_ADDRESS): dev_i2c(i2c), expdevaddr(DevAddr), exppinname(inpinname) * inpinname the desired input pin name to be created * &i2c device I2C to be used for communication ** Class representing a single stmpe1600 GPIO expander input pin + /* set the exp_pin_name state to lvl */ dev_i2c.i2c_write(data, expdevaddr, GPSR_0_7, 2) dev_i2c.i2c_read(data, expdevaddr, GPSR_0_7, 2) dev_i2c.i2c_write(data, expdevaddr, GPDR_0_7, 1) dev_i2c.i2c_read(data, expdevaddr, GPDR_0_7, 1) + bool lvl = STMPE1600_DEF_DIGIOUT_LVL) : dev_i2c(i2c), exp_dev_addr(dev_addr), exp_pin_name(out_pin_name) + Stmpe1600DigiOut(DevI2C &i2c, ExpGpioPinName out_pin_name, uint8_t dev_addr = STMPE1600_DEF_DEVICE_ADDRESS, + * DevAddr the stmpe1600 I2C device address (deft STMPE1600_DEF_DEVICE_ADDRESS) STMPE1600DigiOut (DevI2C &i2c, ExpGpioPinName outpinname, uint8_t DevAddr=STMPE1600_DEF_DEVICE_ADDRESS, bool lvl=STMPE1600_DEF_DIGIOUT_LVL): dev_i2c(i2c), expdevaddr(DevAddr), exppinname(outpinname) * DevAddr the stmpe1600 I2C device addres (deft STMPE1600_DEF_DEVICE_ADDRESS) * outpinname the desired out pin name to be created ** Class representing a single stmpe1600 GPIO expander output pin *This information is for general informational purposes only, we will not be liable for any loss or damage caused by the above information.Diff: Components/STMPE1600/stmpe1600_class.h Revision: 14:8320b5ff96fa Parent: 9:367d1f390cb2 Child: 15:44e6c9013bff - a/Components/STMPE1600/stmpe1600_class.h Thu Jun 15 13:33:35 2017 +0000 The company offers a wide range of products including microcontrollers, sensors, power amplifiers, and integrated circuits for various applications in the automotive, industrial, and consumer markets.įounded in 1987, STMicroelectronics has operations in over 100 countries and is one of the largest semiconductor companies in the world. STMicroelectronics is a multinational electronics and semiconductor manufacturer based in Geneva, Switzerland. Xpander Logic?18-bit enhanced port expander with keypad controllerĢ4-bit Enhanced port expander with Keypad and PWM controller Xpander logicĨ-bit Xpander Logic?with touchkey controller 16-bit port expander with ultra-low power consumptionġ6-bit enhanced port expander with keypad and PWM controller Xpander Logic ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |