nRF5 SDK v17.1.0
Functions
Initialization API

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_startPool start address.
[in]sizeSize 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.


Documentation feedback | Developer Zone | Subscribe | Updated