Default configuration for srf08 devices. More...

Detailed Description

Default configuration for srf08 devices.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file srf08_params.h.

#include "board.h"
#include "srf08.h"
+ Include dependency graph for srf08_params.h:

Go to the source code of this file.

Macros

#define SRF08_NUMOF   ARRAY_SIZE(srf08_params)
 Number of SRF08 devices.
 

Variables

static const srf08_params_t srf08_params []
 SRF08 configuration. More...
 

Default configuration parameters for SRF08 device

#define SRF08_PARAM_I2C   I2C_DEV(0)
 
#define SRF08_PARAM_ADDR   (0x70) /* 0xE0 shifted by 1 */
 
#define SRF08_PARAMS
 

Macro Definition Documentation

◆ SRF08_PARAMS

#define SRF08_PARAMS
Value:
{ .i2c = SRF08_PARAM_I2C, \
.addr = SRF08_PARAM_ADDR }

Definition at line 41 of file srf08_params.h.

Variable Documentation

◆ srf08_params

const srf08_params_t srf08_params[]
static
Initial value:
= {
SRF08_PARAMS
}

SRF08 configuration.

Definition at line 49 of file srf08_params.h.