IO Core API#

IO_Init()#

Description#

Initializes the IO submodules.

Files#

io.h/io.c

Prototype#

void  IO_Init (RTOS_ERR  *p_err)

Arguments#

p_err

Pointer to the variable that will receive one of the following error code(s) from this function:

  • RTOS_ERR_NONE

  • RTOS_ERR_BLK_ALLOC_CALLBACK

  • RTOS_ERR_SEG_OVF

Returned Value#

None.

Notes / Warnings#

  1. This function is NOT thread-safe and should be called ONCE during system initialization, before multi-threading has begun.

  2. This function will not return an error -- any error conditions will trigger a failed assertion.