diff options
Diffstat (limited to 'chip/npcx/hwtimer_chip.h')
-rw-r--r-- | chip/npcx/hwtimer_chip.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/chip/npcx/hwtimer_chip.h b/chip/npcx/hwtimer_chip.h index 52b17c7dee..08cf8e278f 100644 --- a/chip/npcx/hwtimer_chip.h +++ b/chip/npcx/hwtimer_chip.h @@ -12,6 +12,11 @@ #define ITIM_EVENT_NO ITIM16_1 #define ITIM_WDG_NO ITIM16_5 +/* Use ITIM32 as main hardware timer */ +#define TICK_ITIM32_MAX_CNT 0xFFFFFFFF +/* Maximum deadline of event */ +#define EVT_MAX_EXPIRED_US TICK_ITIM32_MAX_CNT + /* Clock source for ITIM16 */ enum ITIM_SOURCE_CLOCK_T { ITIM_SOURCE_CLOCK_APB2 = 0, |