Atmel Software Framework

sensor_funcs_t Struct Reference

Sensor Driver Entry Point Table.

#include <sensor.h>

Data Fields

bool(* calibrate )(sensor_t *, sensor_calibration_t, int, void *)
 
bool(* event )(sensor_t *, sensor_event_t, sensor_event_callback_t *, bool)
 
bool(* ioctl )(sensor_t *, sensor_command_t, void *)
 
bool(* read )(sensor_t *, sensor_read_t, sensor_data_t *)
 
bool(* selftest )(sensor_t *, int *, void *)
 

bool(* sensor_funcs_t::calibrate)(sensor_t *, sensor_calibration_t, int, void *)
bool(* sensor_funcs_t::event)(sensor_t *, sensor_event_t, sensor_event_callback_t *, bool)
bool(* sensor_funcs_t::ioctl)(sensor_t *, sensor_command_t, void *)
bool(* sensor_funcs_t::selftest)(sensor_t *, int *, void *)