Loading...
Searching...
No Matches
sm_pwm_01c_params.h File Reference

Default configuration for SM_PWM_01C driver. More...

Detailed Description

Default configuration for SM_PWM_01C driver.

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file sm_pwm_01c_params.h.

#include "board.h"
#include "saul_reg.h"
#include "sm_pwm_01c.h"
+ Include dependency graph for sm_pwm_01c_params.h:

Go to the source code of this file.

Macros

#define SM_PWM_01C_NUMOF   ARRAY_SIZE(sm_pwm_01c_params)
 The number of configured sensors.
 

Variables

static const sm_pwm_01c_params_t sm_pwm_01c_params []
 Configure SM_PWM_01C.
 
static const saul_reg_info_t sm_pwm_01c_saul_info []
 Additional meta information to keep in the SAUL registry.
 

Set default configuration parameters for the SM_PWM_01C

#define SM_PWM_01C_TSP_PIN   GPIO_PIN(0, 13)
 
#define SM_PWM_01C_TLP_PIN   GPIO_PIN(0, 28)
 
#define SM_PWM_01C_SAUL_INFO   { .name = "sm-pwm-01c" }
 
#define SM_PWM_01C_PARAMS_DEFAULT
 

Macro Definition Documentation

◆ SM_PWM_01C_NUMOF

#define SM_PWM_01C_NUMOF   ARRAY_SIZE(sm_pwm_01c_params)

The number of configured sensors.

Definition at line 73 of file sm_pwm_01c_params.h.

◆ SM_PWM_01C_PARAMS_DEFAULT

#define SM_PWM_01C_PARAMS_DEFAULT
Value:
{ .tsp_pin = SM_PWM_01C_TSP_PIN, \
.tlp_pin = SM_PWM_01C_TLP_PIN }

Definition at line 45 of file sm_pwm_01c_params.h.

◆ SM_PWM_01C_SAUL_INFO

#define SM_PWM_01C_SAUL_INFO   { .name = "sm-pwm-01c" }

Definition at line 41 of file sm_pwm_01c_params.h.

◆ SM_PWM_01C_TLP_PIN

#define SM_PWM_01C_TLP_PIN   GPIO_PIN(0, 28)

Definition at line 38 of file sm_pwm_01c_params.h.

◆ SM_PWM_01C_TSP_PIN

#define SM_PWM_01C_TSP_PIN   GPIO_PIN(0, 13)

Definition at line 35 of file sm_pwm_01c_params.h.

Variable Documentation

◆ sm_pwm_01c_params

const sm_pwm_01c_params_t sm_pwm_01c_params[]
static
Initial value:
=
{
SM_PWM_01C_PARAMS_DEFAULT
}

Configure SM_PWM_01C.

Definition at line 53 of file sm_pwm_01c_params.h.

◆ sm_pwm_01c_saul_info

const saul_reg_info_t sm_pwm_01c_saul_info[]
static
Initial value:
=
{
SM_PWM_01C_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 65 of file sm_pwm_01c_params.h.