Loading...
Searching...
No Matches
cfg_rtt_default.h File Reference

Default RTT configuration for nRF52 based boards. More...

Detailed Description

Default RTT configuration for nRF52 based boards.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file cfg_rtt_default.h.

Go to the source code of this file.

Real time counter configuration

#define RTT_DEV   (1) /* NRF_RTC1 */
 
#define RTT_MAX_VALUE   (0x00ffffff) /* 24bit */
 
#define RTT_MAX_FREQUENCY   (32768U) /* in Hz */
 
#define RTT_MIN_FREQUENCY   (8U) /* in Hz */
 
#define RTT_CLOCK_FREQUENCY   (32768U) /* in Hz, LFCLK*/
 
#define RTT_FREQUENCY   (1024U) /* in Hz */
 

Macro Definition Documentation

◆ RTT_CLOCK_FREQUENCY

#define RTT_CLOCK_FREQUENCY   (32768U) /* in Hz, LFCLK*/

Definition at line 38 of file cfg_rtt_default.h.

◆ RTT_DEV

#define RTT_DEV   (1) /* NRF_RTC1 */

Definition at line 32 of file cfg_rtt_default.h.

◆ RTT_FREQUENCY

#define RTT_FREQUENCY   (1024U) /* in Hz */

Definition at line 41 of file cfg_rtt_default.h.

◆ RTT_MAX_FREQUENCY

#define RTT_MAX_FREQUENCY   (32768U) /* in Hz */

Definition at line 36 of file cfg_rtt_default.h.

◆ RTT_MAX_VALUE

#define RTT_MAX_VALUE   (0x00ffffff) /* 24bit */

Definition at line 35 of file cfg_rtt_default.h.

◆ RTT_MIN_FREQUENCY

#define RTT_MIN_FREQUENCY   (8U) /* in Hz */

Definition at line 37 of file cfg_rtt_default.h.