CSEN_InitMode_TypeDef Struct ReferenceEMLIB > CSEN
Measurement mode initialization structure.
Definition at line
393
of file
em_csen.h
.
#include <
em_csen.h
>
Data Fields |
|
CSEN_AccMode_TypeDef | accMode |
bool | autoGnd |
CSEN_CmpMode_TypeDef | cmpMode |
uint16_t | cmpThr |
CSEN_ConvSel_TypeDef | convSel |
uint8_t | dmCycles |
uint8_t | dmDelta |
bool | dmFixedDelta |
uint8_t | dmIterPerCycle |
CSEN_DMRes_TypeDef | dmRes |
CSEN_DriveSel_TypeDef | driveSel |
CSEN_EMASample_TypeDef | emaSample |
bool | enableDma |
CSEN_GainSel_TypeDef | gainSel |
uint32_t | inputMask0 |
uint32_t | inputMask1 |
CSEN_ResetPhaseSel_TypeDef | resetPhase |
CSEN_SampleMode_TypeDef | sampleMode |
CSEN_SARRes_TypeDef | sarRes |
CSEN_SingleSel_TypeDef | singleSel |
bool | sumOnly |
CSEN_TrigSel_TypeDef | trigSel |
Field Documentation
CSEN_AccMode_TypeDef CSEN_InitMode_TypeDef::accMode |
Selects the number of samples to accumulate per conversion.
Definition at line
407
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
bool CSEN_InitMode_TypeDef::autoGnd |
Ground inactive inputs during a conversion.
Definition at line
434
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_CmpMode_TypeDef CSEN_InitMode_TypeDef::cmpMode |
Enables the comparator and selects the comparison type.
Definition at line
413
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint16_t CSEN_InitMode_TypeDef::cmpThr |
Comparator threshold value. Meaning depends on
cmpMode
.
Definition at line
416
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_ConvSel_TypeDef CSEN_InitMode_TypeDef::convSel |
Selects the converter type.
Definition at line
437
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint8_t CSEN_InitMode_TypeDef::dmCycles |
Sets number of DM converter cycles. Only applies to the Delta Modulation converter.
Definition at line
451
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint8_t CSEN_InitMode_TypeDef::dmDelta |
Sets the DM converter initial delta value. Only applies to the Delta Modulation converter.
Definition at line
455
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
bool CSEN_InitMode_TypeDef::dmFixedDelta |
Disables DM automatic delta size reduction per cycle. Only applies to the Delta Modulation converter.
Definition at line
459
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint8_t CSEN_InitMode_TypeDef::dmIterPerCycle |
Sets the number of DM iterations (comparisons) per cycle. Only applies to the Delta Modulation converter.
Definition at line
447
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_DMRes_TypeDef CSEN_InitMode_TypeDef::dmRes |
Selects the Delta Modulation (DM) converter resolution.
Definition at line
443
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_DriveSel_TypeDef CSEN_InitMode_TypeDef::driveSel |
Selects the output drive strength. Most measurements should use the default value. See reference manual for details on when to adjust.
Definition at line
467
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_EMASample_TypeDef CSEN_InitMode_TypeDef::emaSample |
Selects the Exponential Moving Average sample weighting.
Definition at line
410
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
bool CSEN_InitMode_TypeDef::enableDma |
CSEN_GainSel_TypeDef CSEN_InitMode_TypeDef::gainSel |
Selects the converter gain.
Definition at line
470
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint32_t CSEN_InitMode_TypeDef::inputMask0 |
Mask selects inputs 0 to 31. Effect depends on
sampleMode
. If sample mode is bonded, then mask selects inputs to short together. If sample mode is scan, then mask selects which inputs will be scanned. If sample mode is single and auto-ground is on (
autoGnd
is true), mask selects which pins are grounded.
Definition at line
428
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
uint32_t CSEN_InitMode_TypeDef::inputMask1 |
Mask selects inputs 32 to 63. See
inputMask0
for more information.
Definition at line
431
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_ResetPhaseSel_TypeDef CSEN_InitMode_TypeDef::resetPhase |
Selects the reset phase timing. Most measurements should use the default value. See reference manual for details on when to adjust.
Definition at line
463
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_SampleMode_TypeDef CSEN_InitMode_TypeDef::sampleMode |
Selects the conversion sample mode.
Definition at line
395
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_SARRes_TypeDef CSEN_InitMode_TypeDef::sarRes |
Selects the Successive Approximation (SAR) converter resolution.
Definition at line
440
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_SingleSel_TypeDef CSEN_InitMode_TypeDef::singleSel |
Selects an APORT channel for a single conversion.
Definition at line
419
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
bool CSEN_InitMode_TypeDef::sumOnly |
Disables dividing the accumulated result.
Definition at line
404
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
CSEN_TrigSel_TypeDef CSEN_InitMode_TypeDef::trigSel |
Selects the conversion trigger source.
Definition at line
398
of file
em_csen.h
.
Referenced by CSEN_InitMode() .
The documentation for this struct was generated from the following file:
-
C:/repos/super_h1/platform/emlib/inc/
em_csen.h