ruuvi.drivers.c  ${PROJECT_VERSION}
Drivers for external sensors and peripherals on embedded systems.
rt_button_init_t Struct Reference

Struct for initializing buttons. More...

#include <ruuvi_task_button.h>

Data Fields

const ri_gpio_id_tp_button_pins
 Array of button pins. More...
 
const ri_gpio_state_tp_button_active
 Array of button active states. More...
 
const rt_button_fp_tp_button_handlers
 Array of button handlers. More...
 
const size_t num_buttons
 Number of buttons to initialize. More...
 

Detailed Description

Struct for initializing buttons.

Definition at line 31 of file ruuvi_task_button.h.

Field Documentation

◆ num_buttons

const size_t num_buttons

Number of buttons to initialize.

Definition at line 36 of file ruuvi_task_button.h.

◆ p_button_active

const ri_gpio_state_t* p_button_active

Array of button active states.

Definition at line 34 of file ruuvi_task_button.h.

◆ p_button_handlers

const rt_button_fp_t* p_button_handlers

Array of button handlers.

Definition at line 35 of file ruuvi_task_button.h.

◆ p_button_pins

const ri_gpio_id_t* p_button_pins

Array of button pins.

Definition at line 33 of file ruuvi_task_button.h.


The documentation for this struct was generated from the following file: