Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
cfg_rtt_default.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Inria
3
* 2019 Freie Universität Berlin
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
31
#ifndef RTT_DEV
32
#define RTT_DEV (1)
/* NRF_RTC1 */
33
#endif
34
35
#define RTT_MAX_VALUE (0x00ffffff)
/* 24bit */
36
#define RTT_MAX_FREQUENCY (32768U)
/* in Hz */
37
#define RTT_MIN_FREQUENCY (8U)
/* in Hz */
38
#define RTT_CLOCK_FREQUENCY (32768U)
/* in Hz, LFCLK*/
39
40
#ifndef RTT_FREQUENCY
41
#define RTT_FREQUENCY (1024U)
/* in Hz */
42
#endif
45
#ifdef __cplusplus
46
}
/* end extern "C" */
47
#endif
48
Generated on Mon Jun 30 2025 14:58:00 by
1.9.1