Common configuration for STM32 RTT. More...
Common configuration for STM32 RTT.
Definition in file cfg_rtt_default.h.
#include "periph_cpu.h"
Go to the source code of this file.
RTT configuration | |
On the STM32Lx platforms, we always utilize the LPTIM1. | |
#define | RTT_CLOCK_FREQUENCY (32768U) /* in Hz */ |
#define | RTT_MAX_VALUE (0x0000ffff) /* 16-bit timer */ |
#define | RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY) /* 32768Hz at @32768Hz */ |
#define | RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 128) /* 256Hz at @32768Hz */ |
#define | RTT_FREQUENCY (RTT_MAX_FREQUENCY) /* in Hz */ |
#define RTT_CLOCK_FREQUENCY (32768U) /* in Hz */ |
Definition at line 34 of file cfg_rtt_default.h.
#define RTT_FREQUENCY (RTT_MAX_FREQUENCY) /* in Hz */ |
Definition at line 41 of file cfg_rtt_default.h.
#define RTT_MAX_FREQUENCY (RTT_CLOCK_FREQUENCY) /* 32768Hz at @32768Hz */ |
Definition at line 37 of file cfg_rtt_default.h.
#define RTT_MAX_VALUE (0x0000ffff) /* 16-bit timer */ |
Definition at line 36 of file cfg_rtt_default.h.
#define RTT_MIN_FREQUENCY (RTT_CLOCK_FREQUENCY / 128) /* 256Hz at @32768Hz */ |
Definition at line 38 of file cfg_rtt_default.h.