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

An FDS event. More...

#include <fds.h>

Data Fields

fds_evt_id_t id
 The event ID. See fds_evt_id_t. More...
 
ret_code_t result
 The result of the operation related to this event. More...
 
union {
   struct {
      uint32_t   record_id
 
      uint16_t   file_id
 
      uint16_t   record_key
 
      bool   is_record_updated
 
   }   write
 Information for FDS_EVT_WRITE and FDS_EVT_UPDATE events. More...
 
   struct {
      uint32_t   record_id
 
      uint16_t   file_id
 
      uint16_t   record_key
 
   }   del
 Information for FDS_EVT_DEL_RECORD and FDS_EVT_DEL_FILE events. More...
 
}; 
 

Detailed Description

An FDS event.

Definition at line 207 of file fds.h.

Field Documentation

◆ 

union { ... }

◆ 

struct { ... } del

Information for FDS_EVT_DEL_RECORD and FDS_EVT_DEL_FILE events.

◆ file_id

uint16_t file_id

Definition at line 216 of file fds.h.

◆ id

The event ID. See fds_evt_id_t.

Definition at line 209 of file fds.h.

◆ is_record_updated

bool is_record_updated

Definition at line 218 of file fds.h.

◆ record_id

uint32_t record_id

Definition at line 215 of file fds.h.

◆ record_key

uint16_t record_key

Definition at line 217 of file fds.h.

◆ result

ret_code_t result

The result of the operation related to this event.

Definition at line 210 of file fds.h.

◆ 

struct { ... } write

Information for FDS_EVT_WRITE and FDS_EVT_UPDATE events.


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