Solaris Software
Loading...
Searching...
No Matches
core.c File Reference

SPP core initialisation and port registry implementation. More...

Include dependency graph for core.c:

Go to the source code of this file.

Functions

static void coreLogOutput (const char *p_tag, SPP_LogLevel_t level, const char *p_message)
SPP_RetVal_t SPP_CORE_init ()
 Initialise the core software stack. Must be called before any other SPP function. It starts the databank and the log systems.

Variables

static spp_uint16_t s_logSeq = 0U
static spp_bool_t s_logBusy = false

Detailed Description

SPP core initialisation and port registry implementation.

Definition in file core.c.

Function Documentation

◆ coreLogOutput()

void coreLogOutput ( const char * p_tag,
SPP_LogLevel_t level,
const char * p_message )
static

References coreLogOutput().

Referenced by coreLogOutput().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SPP_CORE_init()

SPP_RetVal_t SPP_CORE_init ( void )

Initialise the core software stack. Must be called before any other SPP function. It starts the databank and the log systems.

Definition at line 34 of file core.c.

References K_SPP_ERROR_ALREADY_INITIALIZED, K_SPP_ERROR_NULL_POINTER, K_SPP_OK, K_SPP_VERSION_MAJOR, K_SPP_VERSION_MINOR, K_SPP_VERSION_PATCH, SPP_CORE_COMMONBIT_getBit(), SPP_CORE_init(), SPP_LOGI, SPP_SERVICES_DATABANK_init(), SPP_SERVICES_LOG_init(), and SPP_SERVICES_PUBSUB_init().

Referenced by guard_startInitializationOfModules(), and SPP_CORE_init().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ s_logSeq

spp_uint16_t s_logSeq = 0U
static

Definition at line 21 of file core.c.

◆ s_logBusy

spp_bool_t s_logBusy = false
static

Definition at line 22 of file core.c.