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

Shared default RTT configuration for nRF51-based boards. More...

Detailed Description

Shared default RTT configuration for nRF51-based boards.

Author
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de

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 39 of file cfg_rtt_default.h.

◆ RTT_DEV

#define RTT_DEV   (1) /* NRF_RTC1 */

Definition at line 33 of file cfg_rtt_default.h.

◆ RTT_FREQUENCY

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

Definition at line 42 of file cfg_rtt_default.h.

◆ RTT_MAX_FREQUENCY

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

Definition at line 37 of file cfg_rtt_default.h.

◆ RTT_MAX_VALUE

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

Definition at line 36 of file cfg_rtt_default.h.

◆ RTT_MIN_FREQUENCY

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

Definition at line 38 of file cfg_rtt_default.h.