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

control API for communication via outside world More...

#include <ruuvi_interface_communication.h>

Data Fields

ri_comm_xfer_fp_t send
 Asynchronous send function. More...
 
ri_comm_xfer_fp_t read
 Asynchronous read function. More...
 
ri_comm_init_fp_t init
 Initialize and populate channel api control. More...
 
ri_comm_init_fp_t uninit
 Uninitialize and depopulate channel api control. More...
 
ri_comm_evt_handler_fp_t on_evt
 Callback to application-level event handler, must be set in application. More...
 

Detailed Description

control API for communication via outside world

Definition at line 157 of file ruuvi_interface_communication.h.

Field Documentation

◆ init

Initialize and populate channel api control.

Definition at line 161 of file ruuvi_interface_communication.h.

◆ on_evt

Callback to application-level event handler, must be set in application.

Definition at line 164 of file ruuvi_interface_communication.h.

◆ read

Asynchronous read function.

Definition at line 160 of file ruuvi_interface_communication.h.

◆ send

Asynchronous send function.

Definition at line 159 of file ruuvi_interface_communication.h.

◆ uninit

Uninitialize and depopulate channel api control.

Definition at line 162 of file ruuvi_interface_communication.h.


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