...
clk.h
/ Application’s source file
Called from
Clk_Init()
Prototype
Code Block | ||
---|---|---|
| ||
void Clk_ExtTS_Init (void) |
...
; |
Arguments
None.
Returned Values
...
Required callback function that must be implemented in your application if CLK_CFG_EXT_EN
is DEF_ENABLED
in clk_cfg.h
(see section 3-1-1 Module Configuration) in order for the clock/calendar to be maintained by an external clock/timestamp mechanism.
...
External timestamp could come from another application (e.g., by SNTP).
Example Template
Anchor | ||||
---|---|---|---|---|
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
void Clk_ExtTS_Init (void)
{
BSP_ClockInitChip();
BSP_ClockStartTS();
} |