Microchip® Advanced Software Framework

event_mem.h File Reference

Event memory declarations.

Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.

Data Structures

struct  _event_fifo_t
 
struct  event_msg_t
 
struct  event_t
 

Typedefs

typedef struct _event_fifo_t event_fifo_t
 

Enumerations

enum  event_status_t {
  BLE_EVENT_SUCCESS,
  BLE_EVENT_Q_OVERFLOW,
  BLE_EVENT_Q_EMPTY,
  BLE_EVENT_Q_INSUFFICIENT_MEMORY
}
 

Functions

event_status_t ble_event_get (event_t *event_param)
 
bool event_fifo_empty (void)
 
bool event_fifo_full (void)
 
bool event_fifo_init (event_t *event_mem, uint16_t event_mem_size)
 
event_status_t event_fifo_read (event_t *event)
 
event_status_t event_fifo_write (event_t *event)
 

typedef struct _event_fifo_t event_fifo_t

Enumerator
BLE_EVENT_SUCCESS 
BLE_EVENT_Q_OVERFLOW 
BLE_EVENT_Q_EMPTY 
BLE_EVENT_Q_INSUFFICIENT_MEMORY 

bool event_fifo_empty ( void  )
bool event_fifo_full ( void  )
bool event_fifo_init ( event_t event_mem,
uint16_t  event_mem_size 
)