Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Clk_SignalClk()

Signal the clock task when one second has elapsed in order to increment the Clock module’s tick counter.

Files

clk.h/clk.c

Prototype

Arguments

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

CLK_ERR_NONE
CLK_OS_ERR_SIGNAL

Returned Values

None.

Required Configuration

When CLK_CFG_EXT_EN is DEF_DISABLED and CLK_CFG_SIGNAL_EN is DEF_ENABLED in clk_cfg.h (see section 3-1-1), this function must be periodically called by application/BSP functions in order to increment the internal clock ticker. CLK_CFG_SIGNAL_FREQ_HZ must be configured to the number of times this function gets called every second.

Notes / Warnings

None.

Example Usage

  • No labels