SNTPc_SetDfltCfg

Set default SNTPc Configuration.

Files

sntp-c.h/sntp-c.c

Prototype

          CPU_BOOLEAN  SNTPc_SetDfltCfg (const SNTPc_CFG  *p_cfg,
                                               SNTPc_ERR  *p_err);

Arguments

p_cfg

Pointer to SNTPc Configuration to use as default.

p_err

Pointer to variable that will receive the return error code from this function:

SNTPc_ERR_NONE
SNTPc_ERR_NULL_PTR
...

Returned Values

DEF_OK,     if configuration set up was successful.
DEF_FAIL, otherwise.

Required Configuration

Run-time Configuration

Notes / Warnings

None.