Default configuration for PULSE_COUNTER devices. More...

Detailed Description

Default configuration for PULSE_COUNTER devices.

Author
Hyung-Sin Kim hs.ki.nosp@m.m@cs.nosp@m..berk.nosp@m.eley.nosp@m..edu

Definition in file pulse_counter_params.h.

#include "board.h"
#include "pulse_counter.h"
#include "saul_reg.h"
+ Include dependency graph for pulse_counter_params.h:

Go to the source code of this file.

#define PULSE_COUNTER_GPIO   GPIO_PIN(0,18)
 
#define PULSE_COUNTER_GPIO_FLANK   GPIO_FALLING
 
#define PULSE_COUNTER_PARAMS
 
#define PULSE_COUNTER_SAUL_INFO   { .name = "pulse counter" }
 
static const pulse_counter_params_t pulse_counter_params []
 PULSE_COUNTER configuration. More...
 
static const saul_reg_info_t pulse_counter_saul_info []
 Additional meta information to keep in the SAUL registry. More...
 

Macro Definition Documentation

◆ PULSE_COUNTER_PARAMS

#define PULSE_COUNTER_PARAMS
Value:
{ .gpio = PULSE_COUNTER_GPIO, \
.gpio_flank = PULSE_COUNTER_GPIO_FLANK }

Definition at line 39 of file pulse_counter_params.h.

Variable Documentation

◆ pulse_counter_params

const pulse_counter_params_t pulse_counter_params[]
static
Initial value:
=
{
PULSE_COUNTER_PARAMS,
}

PULSE_COUNTER configuration.

Definition at line 50 of file pulse_counter_params.h.

◆ pulse_counter_saul_info

const saul_reg_info_t pulse_counter_saul_info[]
static
Initial value:
=
{
PULSE_COUNTER_SAUL_INFO
}

Additional meta information to keep in the SAUL registry.

Definition at line 58 of file pulse_counter_params.h.