Microchip® Advanced Software Framework

sam0-sensors.c File Reference
#include <stdio.h>
#include "contiki.h"
#include "asf.h"
#include "temp-sensor.h"
#include "voltage-sensor.h"
#include "button-sensor.h"
#include "battery-sensor.h"
#include "sam0-sensors.h"

Functions

void sam0_sensors_init (void)
 Initiate the sensors and ADC on the SAM D20/D21/R21 X-plained board. More...
 

Variables

SENSORSbutton_sensor
 

void sam0_sensors_init ( void  )

Initiate the sensors and ADC on the SAM D20/D21/R21 X-plained board.

References adc_get_config_defaults(), adc_init(), adc_instance, and GCLK_GENERATOR_2.

SENSORS& button_sensor