Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor10581631058163 Clk_ExtTS_Init() Anchor10581641058164Initialize and start timestamp timer. Anchor10581651058165

Files

...

1058166clk.h / Application’s source file Anchor10584591058459

Called from

...

Clk_Init()

...

Prototype

void
HTML Tablecode
classCode_Listing
Table Row (tr)
Table Cell (td)
rowspan5
Anchor
10581691058169
languagecpp
void  Clk_ExtTS_Init (void);
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)

...


...

Arguments

Anchor10581821058182None. Anchor10581831058183

Returned Values

...

1058184None. Anchor10581851058185

Required Configuration

...

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. Anchor10581881058188

Notes / Warnings

...

1063508External timestamp should be an ‘up’ counter whose values increase at each second. It’s possible to use a ‘down’ counter, but a conversion must be applied when setting and getting the External timestamp.

Anchor10635121063512External timestamp could come from another application (e.g., by SNTP). Anchor10582141058214 Example Template

...

classCode_Listing

...

rowspan8

...

Example Template

Anchor
Listing - Clk_ExtTS_Init() Example Template
Listing - Clk_ExtTS_Init() Example Template

{

{
    BSP_ClockInitChip();

    BSP_ClockStartTS();
}tr

}
Code Block
languagecpp
titleListing - Clk_ExtTS_Init() Example Template
linenumberstrue
void  Clk_ExtTS_Init (void)
Anchor
10585011058501
Anchor
10585461058546
Anchor
10585771058577
Anchor
10581991058199
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)
Table Row (tr)