All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches

Default configuration for HSC. More...

Detailed Description

Default configuration for HSC.

Author
Quang Pham phhr_.nosp@m.quan.nosp@m.g@liv.nosp@m.e.co.nosp@m.m

Definition in file hsc_params.h.

#include "board.h"
#include "hsc.h"
#include "hsc_internals.h"
#include "saul_reg.h"
+ Include dependency graph for hsc_params.h:

Go to the source code of this file.

Variables

static const hsc_params_t hsc_params []
 Configure HSC.
 
static const saul_reg_info_t hsc_saul_info []
 Configure SAUL registry entries.
 

Set default configuration parameters for the HSC

#define HSC_PARAM_I2C_DEV   I2C_DEV(0)
 
#define HSC_PARAM_I2C_ADDR   CONFIG_HSC_I2C_ADDR
 
#define HSC_PARAM_RANGE   CONFIG_HSC_RANGE
 
#define HSC_PARAMS
 
#define HSC_SAUL_INFO   { .name = "hsc" }
 

Macro Definition Documentation

◆ HSC_PARAM_I2C_ADDR

#define HSC_PARAM_I2C_ADDR   CONFIG_HSC_I2C_ADDR

Definition at line 39 of file hsc_params.h.

◆ HSC_PARAM_I2C_DEV

#define HSC_PARAM_I2C_DEV   I2C_DEV(0)

Definition at line 36 of file hsc_params.h.

◆ HSC_PARAM_RANGE

#define HSC_PARAM_RANGE   CONFIG_HSC_RANGE

Definition at line 42 of file hsc_params.h.

◆ HSC_PARAMS

#define HSC_PARAMS
Value:
{ .i2c_dev = HSC_PARAM_I2C_DEV, \
.i2c_addr = HSC_PARAM_I2C_ADDR, \
.hsc_range = HSC_PARAM_RANGE, }

Definition at line 46 of file hsc_params.h.

◆ HSC_SAUL_INFO

#define HSC_SAUL_INFO   { .name = "hsc" }

Definition at line 51 of file hsc_params.h.

Variable Documentation

◆ hsc_params

const hsc_params_t hsc_params[]
static
Initial value:
=
{
HSC_PARAMS
}

Configure HSC.

Definition at line 58 of file hsc_params.h.

◆ hsc_saul_info

const saul_reg_info_t hsc_saul_info[]
static
Initial value:
=
{
HSC_SAUL_INFO
}

Configure SAUL registry entries.

Definition at line 66 of file hsc_params.h.