The friendly Operating System for the Internet of Things
io1_xplained.h File Reference

Device driver interface for the IO1 Xplained extention. More...

Detailed Description

#include "saul.h"
#include "at30tse75x.h"
+ Include dependency graph for io1_xplained.h:

Go to the source code of this file.

Data Structures

struct  io1_xplained_t
 Device descriptor for the IO1 Xplained extension. More...
 
struct  io1_xplained_params_t
 Device initialization parameters. More...
 

Functions

void io1_xplained_auto_init (void)
 auto-initialize all configured IO1 Xplained extensions
 
int io1_xplained_init (io1_xplained_t *dev, uint8_t addr)
 Initialize the given IO1 Xplained extension. More...
 
int io1_xplained_read_temperature (io1_xplained_t *dev, float *temperature)
 Read temperature value from the given IO1 Xplained extension, returned in °C. More...
 
int io1_xplained_set_led (void)
 Set the on-board led of the IO1 Xplained extension. More...
 
int io1_xplained_clear_led (void)
 Clear the on-board led of the IO1 Xplained extension. More...
 
int io1_xplained_toggle_led (void)
 Toggle the on-board led of the IO1 Xplained extension. More...
 

Variables

const saul_driver_t io1_xplained_temperature_saul_driver
 export SAUL endpoints