Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52_bitfields.h TIMER_PRESCALER_PRESCALER_Msk is incorrect

Just stumbled upon this:

#define TIMER_PRESCALER_PRESCALER_Msk (0xFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */

Should be

#define TIMER_PRESCALER_PRESCALER_Msk (0x7FFUL << TIMER_PRESCALER_PRESCALER_Pos) /*!< Bit mask of PRESCALER field. */

What say thee?

Related