libDaisy
Hardware Library for Daisy
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
mpr121.h File Reference

Go to the source code of this file.

Classes

class  daisy::Mpr121I2CTransport
 
struct  daisy::Mpr121I2CTransport::Config
 
class  daisy::Mpr121< Transport >
 Device support for MPR121 12x Capacitive Touch Sensor. More...
 
struct  daisy::Mpr121< Transport >::Config
 

Namespaces

namespace  daisy
 Hardware defines and helpers for daisy field platform.
 

Macros

#define DSY_MPR121_H
 
#define MPR121_I2CADDR_DEFAULT   0x5A
 default I2C address
 
#define MPR121_TOUCH_THRESHOLD_DEFAULT   12
 default touch threshold value
 
#define MPR121_RELEASE_THRESHOLD_DEFAULT   6
 default relese threshold value
 

Typedefs

using daisy::Mpr121I2C = Mpr121<Mpr121I2CTransport>
 

Macro Definition Documentation

◆ DSY_MPR121_H

#define DSY_MPR121_H

◆ MPR121_I2CADDR_DEFAULT

#define MPR121_I2CADDR_DEFAULT   0x5A

default I2C address

◆ MPR121_RELEASE_THRESHOLD_DEFAULT

#define MPR121_RELEASE_THRESHOLD_DEFAULT   6

default relese threshold value

◆ MPR121_TOUCH_THRESHOLD_DEFAULT

#define MPR121_TOUCH_THRESHOLD_DEFAULT   12

default touch threshold value