EFM32 Giant Gecko Software Documentation
efm32gg-doc-4.2.1
|
Low Energy Sensor (LESENSE) Peripheral API. More...
Go to the source code of this file.
Functions | |
void | LESENSE_Init (LESENSE_Init_TypeDef const *init, bool const reqReset) |
Initialize the LESENSE module. More... | |
uint32_t | LESENSE_ScanFreqSet (uint32_t refFreq, uint32_t const scanFreq) |
Set scan frequency for periodic scanning. More... | |
void | LESENSE_ScanModeSet (LESENSE_ScanMode_TypeDef const scanMode, bool const start) |
Set scan mode of the LESENSE channels. More... | |
void | LESENSE_StartDelaySet (uint8_t const startDelay) |
Set start delay of sensor interaction on each channel. More... | |
void | LESENSE_ClkDivSet (LESENSE_ChClk_TypeDef const clk, LESENSE_ClkPresc_TypeDef const clkDiv) |
Set clock division for LESENSE timers. More... | |
void | LESENSE_ChannelAllConfig (LESENSE_ChAll_TypeDef const *confChAll) |
Configure all (16) LESENSE sensor channels. More... | |
void | LESENSE_ChannelConfig (LESENSE_ChDesc_TypeDef const *confCh, uint32_t const chIdx) |
Configure a single LESENSE sensor channel. More... | |
void | LESENSE_AltExConfig (LESENSE_ConfAltEx_TypeDef const *confAltEx) |
Configure the LESENSE alternate excitation modes. More... | |
void | LESENSE_ChannelEnable (uint8_t const chIdx, bool const enaScanCh, bool const enaPin) |
Enable/disable LESENSE scan channel and the pin assigned to it. More... | |
void | LESENSE_ChannelEnableMask (uint16_t chMask, uint16_t pinMask) |
Enable/disable LESENSE scan channel and the pin assigned to it. More... | |
void | LESENSE_ChannelTimingSet (uint8_t const chIdx, uint8_t const exTime, uint8_t const sampleDelay, uint8_t const measDelay) |
Set LESENSE channel timing parameters. More... | |
void | LESENSE_ChannelThresSet (uint8_t const chIdx, uint16_t const acmpThres, uint16_t const cntThres) |
Set LESENSE channel threshold parameters. More... | |
void | LESENSE_DecoderStateAllConfig (LESENSE_DecStAll_TypeDef const *confDecStAll) |
Configure all LESENSE decoder states. More... | |
void | LESENSE_DecoderStateConfig (LESENSE_DecStDesc_TypeDef const *confDecSt, uint32_t const decSt) |
Configure a single LESENSE decoder state. More... | |
void | LESENSE_DecoderStateSet (uint32_t decSt) |
Set LESENSE decoder state. More... | |
uint32_t | LESENSE_DecoderStateGet (void) |
Get the current state of the LESENSE decoder. More... | |
void | LESENSE_ScanStart (void) |
Start scanning of sensors. More... | |
void | LESENSE_ScanStop (void) |
Stop scanning of sensors. More... | |
void | LESENSE_DecoderStart (void) |
Start LESENSE decoder. More... | |
void | LESENSE_ResultBufferClear (void) |
Clear result buffer. More... | |
void | LESENSE_Reset (void) |
Reset the LESENSE module. More... | |
(C) Copyright 2015 Silicon Labs, http://www.silabs.com
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
DISCLAIMER OF WARRANTY/LIMITATION OF REMEDIES: Silicon Labs has no obligation to support this Software. Silicon Labs is providing the Software "AS IS", with no express or implied warranties of any kind, including, but not limited to, any implied warranties of merchantability or fitness for any particular purpose or warranties against infringement of any proprietary rights of a third party.
Silicon Labs will not be liable for any consequential, incidental, or special damages, or any other relief, or for any claim by any third party, arising from your use of this Software.
Definition in file em_lesense.c.