Initialization API

nRF5 SDK v14.2.0

API for initizalizing the system abstraction library. More...

Functions

void sys_init (void *p_start, size_t size)
Initializes every component of this stack. More...

Detailed Description

API for initizalizing the system abstraction library.

Function Documentation

void sys_init ( void * p_start ,
size_t size
)

Initializes every component of this stack.

This function must be called before using any of the components.

Parameters
[in] p_start Pool start address.
[in] size Size of the pool in bytes.

The pool start address must be aligned on the ALIGN_VALUE boundary, which is defined in sys_utils.h . The pool size should be multiple of an ALIGN_VALUE, which is defined in sys_utils.h .