EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
caplesense.h File Reference

Detailed Description

Capacitive sense driver.

Version
5.1.1

License

Copyright 2015 Silicon Labs, Inc. http://www.silabs.com

This file is licensed under the Silabs License Agreement. See the file "Silabs_License_Agreement.txt" for details. Before using this software for any purpose, you must agree to the terms of that agreement.

Definition in file caplesense.h.

#include <stdint.h>
#include <stdbool.h>

Go to the source code of this file.

Functions

uint32_t CAPLESENSE_getNormalizedVal (uint8_t channel)
 Get the current normalized channelValue for a channel. More...
 
uint8_t CAPLESENSE_getSegmentChannel (uint8_t capSegment)
 Get the channelValue for a sensor segment. More...
 
int32_t CAPLESENSE_getSliderPosition (void)
 Get the position of the slider. More...
 
uint32_t CAPLESENSE_getVal (uint8_t channel)
 Get the current channelValue for a channel. More...
 
void CAPLESENSE_Init (bool sleep)
 Initializes the capacative sense system without LESENSE. More...
 
void CAPLESENSE_setupCallbacks (void(*scanCb)(void), void(*chCb)(void))
 LESENSE callback setup. More...
 
void CAPLESENSE_setupLESENSE (bool sleep)
 Setup the LESENSE for capavitive sensing. More...
 
void CAPLESENSE_Sleep (void)
 Send the capacative sense system to sleep mode.