CSEN_Init_TypeDef Struct Reference

CSEN initialization structure, common for all measurement modes.

#include <em_csen.h>

Data Fields

bool cpAccuracyHi
Requests system charge pump high accuracy mode.
bool localSense
Disables external kelvin connection and senses capacitor locally.
bool keepWarm
Keeps the converter warm allowing continuous conversions.
uint8_t warmUpCount
Converter warm-up time is warmUpCount + 3 converter clock cycles.
uint8_t pcReload
Period counter reload value.
CSEN_PCPrescale_TypeDef pcPrescale
Period counter pre-scaler.
CSEN_PRSSel_TypeDef prsSel
Peripheral reflex system trigger selection.
CSEN_InputSel_TypeDef input0To7
CSEN input to APORT channel mapping.
CSEN_InputSel_TypeDef input8To15
CSEN input select 0-7.
CSEN_InputSel_TypeDef input16To23
CSEN input select 8-15.
CSEN_InputSel_TypeDef input24To31
CSEN input select 6-23.
CSEN_InputSel_TypeDef input32To39
CSEN input select 24-31.
CSEN_InputSel_TypeDef input40To47
CSEN input select 32-39.
CSEN_InputSel_TypeDef input48To55
CSEN input select 40-47.
CSEN_InputSel_TypeDef input56To63
CSEN input select 48-55.

CSEN initialization structure, common for all measurement modes.

Field Documentation

cpAccuracyHi

bool CSEN_Init_TypeDef::cpAccuracyHi

Requests system charge pump high accuracy mode.

localSense

bool CSEN_Init_TypeDef::localSense

Disables external kelvin connection and senses capacitor locally.

keepWarm

bool CSEN_Init_TypeDef::keepWarm

Keeps the converter warm allowing continuous conversions.

warmUpCount

uint8_t CSEN_Init_TypeDef::warmUpCount

Converter warm-up time is warmUpCount + 3 converter clock cycles.

pcReload

uint8_t CSEN_Init_TypeDef::pcReload

Period counter reload value.

pcPrescale

CSEN_PCPrescale_TypeDef CSEN_Init_TypeDef::pcPrescale

Period counter pre-scaler.

prsSel

CSEN_PRSSel_TypeDef CSEN_Init_TypeDef::prsSel

Peripheral reflex system trigger selection.

input0To7

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input0To7

CSEN input to APORT channel mapping.

input8To15

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input8To15

CSEN input select 0-7.

input16To23

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input16To23

CSEN input select 8-15.

input24To31

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input24To31

CSEN input select 6-23.

input32To39

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input32To39

CSEN input select 24-31.

input40To47

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input40To47

CSEN input select 32-39.

input48To55

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input48To55

CSEN input select 40-47.

input56To63

CSEN_InputSel_TypeDef CSEN_Init_TypeDef::input56To63

CSEN input select 48-55.