Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Initialize Kernel Abstraction Layer (KAL).

Files

kal.h / kal.c

Prototype

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.

KAL_ERR_NONE

KAL_ERR_OS

KAL_ERR_ALREADY_INIT

KAL_ERR_MEM_ALLOC

KAL_ERR_POOL_INIT

Returned Value

None.

Callers

Application, if using specific memory segment.

Products, otherwise.

Notes / Warnings

  1. Mem_Init() must be called before calling KAL_Init().

Usage Example

Excerpt