Description
Initialize Kernel Abstraction Layer (KAL).
Files
kal.h / kal.c
Prototype
Code Block | ||
---|---|---|
| ||
void KAL_Init (KAL_CFG *p_cfg,
RTOS_ERR *p_err) |
Arguments
p_cfg
Pointer to KAL configuration structure. DEF_NULL
can be used.
p_err
Pointer to variable that will receive the return error code from this function.
RTOS_ERR_NONE
RTOS_ERR_OS
RTOS_ERR_ALREADY_INIT
RTOS_ERR_ALLOC
RTOS_ERR_INIT
Returned Value
None.
Callers
Application, if using specific memory segment.
Products, otherwise.
Notes / Warnings
- Mem_Init() must be called before calling
KAL_Init()
.
Usage Example
Excerpt | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|