capsense.h

Go to the documentation of this file.
00001 /**************************************************************************/
00018 #ifndef __CAPSENSE_H_
00019 #define __CAPSENSE_H_
00020 
00021 #include <stdint.h>
00022 #include <stdbool.h>
00023 #include "capsenseconfig.h"
00024 
00025 /***************************************************************************/
00030 /***************************************************************************/
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038 
00039 uint32_t CAPSENSE_getVal(uint8_t channel);
00040 uint32_t CAPSENSE_getNormalizedVal(uint8_t channel);
00041 bool CAPSENSE_getPressed(uint8_t channel);
00042 int32_t CAPSENSE_getSliderPosition(void);
00043 void CAPSENSE_Sense(void);
00044 void CAPSENSE_Init(void);
00045 
00046 #ifdef __cplusplus
00047 }
00048 #endif
00049 
00053 #endif /* __CAPSENSE_H_ */