mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/ztimer: add defaults for ztimer_periph_lptimer
This commit is contained in:
parent
b8a4aa9ce1
commit
159749e1f0
@ -61,6 +61,13 @@ extern "C" {
|
||||
#define CONFIG_ZTIMER_USEC_DEV (TIMER_DEV(0))
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Default width of ZTIMER_LPTIMER
|
||||
*/
|
||||
#ifndef CONFIG_ZTIMER_LPTIMER_WIDTH
|
||||
#define CONFIG_ZTIMER_LPTIMER_WIDTH (32)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief ZTIMER_USEC optimal minimum value for ztimer_set()
|
||||
*
|
||||
@ -114,6 +121,13 @@ extern "C" {
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The minimum pm mode required for ZTIMER_LPTIMER to run
|
||||
*/
|
||||
#ifndef CONFIG_ZTIMER_LPTIMER_BLOCK_PM_MODE
|
||||
# define CONFIG_ZTIMER_LPTIMER_BLOCK_PM_MODE ZTIMER_CLOCK_NO_REQUIRED_PM_MODE
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief The minimum pm mode required for ZTIMER_RTT to run
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user