Real-time, ultra-low-latency audio and sensor processing system for BeagleBone Black
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | List of all members
I2C_MPR121 Class Reference
Inheritance diagram for I2C_MPR121:

Public Member Functions

boolean begin (uint8_t bus=1, uint8_t i2caddr=0x5A)
uint16_t filteredData (uint8_t t)
uint16_t baselineData (uint8_t t)
uint8_t readRegister8 (uint8_t reg)
uint16_t readRegister16 (uint8_t reg)
void writeRegister (uint8_t reg, uint8_t value)
 Writes 8-bits to the specified destination register.
uint16_t touched (void)
void setThresholds (uint8_t touch, uint8_t release)
int readI2C ()
- Public Member Functions inherited from I2c
ssize_t readBytes (void *buf, size_t count)
ssize_t writeBytes (const void *buf, size_t count)
 I2c (I2c &&)=delete
int initI2C_RW (int bus, int address, int file)
int closeI2C ()

Additional Inherited Members

- Protected Attributes inherited from I2c
int i2C_bus
int i2C_address
int i2C_file

Detailed Description


The documentation for this class was generated from the following files: