Microchip® Advanced Software Framework

qs_tsens_callback.c File Reference

SAM TSENS Quick Start.

Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.

#include <asf.h>

Functions

static void configure_tsens (void)
 [job_complete_callback] More...
 
static void configure_tsens_callbacks (void)
 
int main (void)
 [setup] More...
 
static void tsens_complete_callback (enum tsens_callback i)
 

Variables

struct tsens_module tsens_instance
 [result] More...
 
volatile bool tsens_read_done = false
 [module_inst] More...
 
int32_t tsens_result
 [result] More...
 

static void configure_tsens ( void  )
static

[job_complete_callback]

[setup]

[setup_config]

[setup_config] [setup_config_defaults]

[setup_config_defaults]

[setup_set_config]

[setup_set_config]

[setup_enable]

[setup_enable]

References tsens_enable(), tsens_get_config_defaults(), and tsens_init().

static void configure_tsens_callbacks ( void  )
static

[setup_register_callback]

[setup_register_callback] [setup_enable_callback]

[setup_enable_callback]

References TSENS_CALLBACK_RESULT_READY, tsens_complete_callback(), tsens_enable_callback(), tsens_instance, and tsens_register_callback().

Referenced by main().

int main ( void  )

[setup]

[setup_init]

[setup_init]

[main] [enable_interrupts]

[enable_interrupts]

[start_tsens_job]

[start_tsens_job]

[job_complete_poll]

[job_complete_poll]

[inf_loop]

[inf_loop] [main]

References configure_tsens(), configure_tsens_callbacks(), system_init(), system_interrupt_enable(), system_interrupt_enable_global(), tsens_instance, tsens_read_done, tsens_read_job(), and tsens_result.

static void tsens_complete_callback ( enum tsens_callback  i)
static

References tsens_read_done.

Referenced by configure_tsens_callbacks().

struct tsens_module tsens_instance

[result]

[module_inst]

Referenced by configure_tsens_callbacks(), and main().

volatile bool tsens_read_done = false

[module_inst]

[job_complete_callback]

Referenced by main(), and tsens_complete_callback().

int32_t tsens_result

[result]

Referenced by main().