Microchip® Advanced Software Framework

tsens_config Struct Reference

TSENS configuration structure.

Configuration structure for an TSENS instance. This structure should be initialized by the tsens_get_config_defaults() function before being modified by the user application.

#include <tsens.h>

Data Fields

struct tsens_calibration calibration
 Calibration value. More...
 
enum gclk_generator clock_source
 GCLK generator used to clock the peripheral. More...
 
enum tsens_event_action event_action
 Event action to take on incoming event. More...
 
bool free_running
 Enables free running mode if true. More...
 
bool run_in_standby
 Enables TSENS in standby sleep mode if true. More...
 
struct tsens_window_config window
 Window monitor configuration structure. More...
 

struct tsens_calibration tsens_config::calibration

Calibration value.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().

enum gclk_generator tsens_config::clock_source

GCLK generator used to clock the peripheral.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().

enum tsens_event_action tsens_config::event_action

Event action to take on incoming event.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().

bool tsens_config::free_running

Enables free running mode if true.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().

bool tsens_config::run_in_standby

Enables TSENS in standby sleep mode if true.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().

struct tsens_window_config tsens_config::window

Window monitor configuration structure.

Referenced by _tsens_set_config(), and tsens_get_config_defaults().