WE310F5  39.00.000
m2mb_rtc_mem.h File Reference

RTC module prototypes. More...

Go to the source code of this file.

#define M2MB_RTC_INVALID_BUFFER   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 1)))
 
#define M2MB_RTC_INVALID_POOL_ID   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 2)))
 
#define M2MB_RTC_INVALID_CLIENT_ID   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 3)))
 
#define M2MB_RTC_DRIVER_NOT_INITIALIZED   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 4)))
 
#define M2MB_RTC_POOL_NOT_INITIALIZED   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 5)))
 
#define M2MB_RTC_CLIENT_NOT_FOUND   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 6)))
 
#define M2MB_RTC_INVALID_CALL_SEQUENCE   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 7)))
 
#define M2MB_RTC_OUT_OF_MEMORY   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 8)))
 
#define M2MB_RTC_ERROR   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 9)))
 
#define M2MB_RTC_FATAL_ERROR   ((M2MB_STATUS_T)(__M2MB_ERROR(M2MB_MOD_BASE, 10)))
 
INT32 m2mb_rtc_mem_alloc (UINT16 client_id, UINT16 buffer_size, void **buffer_ptr)
 Allocate Buffer in RTC memory. More...
 
INT32 m2mb_rtc_mem_write (UINT16 client_id)
 Save data in RTC memory. More...
 
INT32 m2mb_rtc_mem_read (UINT16 client_id, UINT16 *buffer_size, void **buffer_ptr)
 Read data from RTC memory. More...
 
INT32 m2mb_rtc_mem_free (UINT16 client_id)
 Free the previously alloctaed buffer in RTC memory. More...
 

Detailed Description

RTC module prototypes.

we866e4/epl/inc/modules/m2mb_rtc_mem.h

Basic functions for RTC module are provided

Note
Dependencies:
"#include <m2mb_types.h>"
Author
Oshin Bhatia
Date
06/26/2019

Definition in file m2mb_rtc_mem.h.