RKH
Loading...
Searching...
No Matches
Related to software timer facility

Configuration options related to software timer facility (TMR) More...

Macros

#define RKH_CFG_TMR_EN   RKH_ENABLED
 If the RKH_CFG_QUE_EN is set to 1 then RKH will include the native software timer facility.
 
#define RKH_CFG_TMR_SIZEOF_NTIMER   8u
 Specify the dynamic range of the time delays measured in clock ticks (maximum number of ticks). The valid values [in bits] are 8, 16 or 32. Default is 8.
 
#define RKH_CFG_TMR_HOOK_EN   RKH_ENABLED
 If the RKH_CFG_TMR_HOOK_EN is set to 1 then RKH will invoke a hook function when a timer expires. When this is set the application must provide the hook function.
 
#define RKH_CFG_TMR_GET_INFO_EN   RKH_ENABLED
 If the RKH_CFG_TMR_GET_INFO_EN is set to 1 then RKH will include the rkh_tmr_get_info() function that retrieves performance information for a particular software timer. See rkh_tmr_get_info() function.
 

Detailed Description

Configuration options related to software timer facility (TMR)

Macro Definition Documentation

◆ RKH_CFG_TMR_EN

#define RKH_CFG_TMR_EN   RKH_ENABLED

If the RKH_CFG_QUE_EN is set to 1 then RKH will include the native software timer facility.

Type value Boolean
Range value
Default configuration: RKH_ENABLED

Definition at line 1272 of file rkhcfg.h.

◆ RKH_CFG_TMR_SIZEOF_NTIMER

#define RKH_CFG_TMR_SIZEOF_NTIMER   8u

Specify the dynamic range of the time delays measured in clock ticks (maximum number of ticks). The valid values [in bits] are 8, 16 or 32. Default is 8.

Type value Integer
Range value [8, 16, 32]
Default configuration: 8

Definition at line 1284 of file rkhcfg.h.

◆ RKH_CFG_TMR_HOOK_EN

#define RKH_CFG_TMR_HOOK_EN   RKH_ENABLED

If the RKH_CFG_TMR_HOOK_EN is set to 1 then RKH will invoke a hook function when a timer expires. When this is set the application must provide the hook function.

Type value Boolean
Range value
Default configuration: RKH_ENABLED

Definition at line 1296 of file rkhcfg.h.

◆ RKH_CFG_TMR_GET_INFO_EN

#define RKH_CFG_TMR_GET_INFO_EN   RKH_ENABLED

If the RKH_CFG_TMR_GET_INFO_EN is set to 1 then RKH will include the rkh_tmr_get_info() function that retrieves performance information for a particular software timer. See rkh_tmr_get_info() function.

Type value Boolean
Range value
Default configuration: RKH_ENABLED

Definition at line 1308 of file rkhcfg.h.