firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
feram.h
Go to the documentation of this file.
1
8
9
#ifndef FERAM_H
10
#define FERAM_H
11
12
#include "cy15_driver.h"
13
#include "lfs.h"
14
15
#ifdef USE_FREERTOS
16
#include "
FreeRTOS.h
"
17
#include "
semphr.h
"
18
19
struct
feram_lfs_cxt
{
20
Feram_Hdl_t
feram_hdl
;
21
SemaphoreHandle_t
mutex_hdl;
22
};
23
24
#else
25
struct
feram_lfs_cxt
{
26
Feram_Hdl_t
feram_hdl
;
27
};
28
#endif
29
30
extern
lfs_t
g_lfs
;
31
32
int
feram_init
(
struct
feram_lfs_cxt
* feram_cxt_ptr);
33
34
#endif
/* FERAM_H */
FreeRTOS.h
g_lfs
lfs_t g_lfs
Definition
feram.c:32
feram_init
int feram_init(struct feram_lfs_cxt *feram_cxt_ptr)
Definition
feram.c:96
semphr.h
SemaphoreHandle_t
QueueHandle_t SemaphoreHandle_t
Definition
semphr.h:38
feram_lfs_cxt
Definition
feram.h:25
feram_lfs_cxt::feram_hdl
Feram_Hdl_t feram_hdl
Definition
feram.h:26
common
lib
nvm
inc
feram.h
Generated by
1.14.0