Skip to content

Commit

Permalink
boards/nrf51: Defined TIMER_x_MAX_VALUE
Browse files Browse the repository at this point in the history
  • Loading branch information
MrKevinWeiss committed Dec 13, 2023
1 parent 0c8c41a commit c588712
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions boards/common/nrf51/include/cfg_timer_01.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
/** @} */

Expand Down
7 changes: 7 additions & 0 deletions boards/common/nrf51/include/cfg_timer_012.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
/** @} */

Expand Down

0 comments on commit c588712

Please sign in to comment.