EZR32 Leopard Gecko Software Documentation  ezr32lg-doc-4.2.1
capsense.h File Reference

Capacitive sense driver. More...

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

Go to the source code of this file.

Functions

uint32_t CAPSENSE_getVal (uint8_t channel)
 Get the current channelValue for a channel. More...
 
uint32_t CAPSENSE_getNormalizedVal (uint8_t channel)
 Get the current normalized channelValue for a channel. More...
 
bool CAPSENSE_getPressed (uint8_t channel)
 Get the state of the Gecko Button. More...
 
int32_t CAPSENSE_getSliderPosition (void)
 Get the position of the slider. More...
 
void CAPSENSE_Sense (void)
 This function iterates through all the capsensors and reads and initiates a reading. Uses EM1 while waiting for the result from each sensor.
 
void CAPSENSE_Init (void)
 Initializes the capacitive sense system. More...
 

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 capsense.h.