cfg_rtt_default.h File Reference

Common configuration for STM32 RTT. More...

Detailed Description

Common configuration for STM32 RTT.

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.

#include "periph_cpu.h"
+ Include dependency graph for cfg_rtt_default.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

RTT configuration

On the STM32Lx platforms, we always utilize the LPTIM1.

#define RTT_NUMOF   (1)
 
#define RTT_FREQUENCY   (1024U) /* 32768 / 2^n */
 
#define RTT_MAX_VALUE   (0x0000ffff) /* 16-bit timer */