EFM32 Leopard Gecko Software Documentation  efm32lg-doc-4.2.1
caplesense.h File Reference

Capacitive sense driver. More...

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

Go to the source code of this file.

Functions

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

Detailed Description

Version
4.2.1

License

(C) Copyright 2014 Silicon Labs, 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.