1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards/nrf51: Defined TIMER_x_MAX_VALUE

This commit is contained in:
MrKevinWeiss 2023-12-13 13:45:43 +01:00
parent 7b80348f31
commit 0d31432cb3
No known key found for this signature in database
GPG Key ID: C26684F1C0767FFF
2 changed files with 12 additions and 0 deletions

View File

@ -49,6 +49,11 @@ static const timer_conf_t timer_config[] = {
#define TIMER_0_ISR isr_timer0
#define TIMER_1_ISR isr_timer1
/** See @ref timer_init */
#define TIMER_0_MAX_VALUE 0xffffffff
/** See @ref timer_init */
#define TIMER_1_MAX_VALUE 0xffffffff
#define TIMER_NUMOF ARRAY_SIZE(timer_config)
/** @} */

View File

@ -56,6 +56,13 @@ static const timer_conf_t timer_config[] = {
#define TIMER_1_ISR isr_timer1
#define TIMER_2_ISR isr_timer2
/** See @ref timer_init */
#define TIMER_0_MAX_VALUE 0xffffffff
/** See @ref timer_init */
#define TIMER_1_MAX_VALUE 0xffffffff
/** See @ref timer_init */
#define TIMER_2_MAX_VALUE 0xffffffff
#define TIMER_NUMOF ARRAY_SIZE(timer_config)
/** @} */