Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
21
#ifndef CFG_RTT_DEFAULT_H
22
#define CFG_RTT_DEFAULT_H
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#ifndef RTT_DEV
33
#define RTT_DEV (1)
/* NRF_RTC1 */
34
#endif
35
36
#define RTT_MAX_VALUE (0x00ffffff)
/* 24bit */
37
#define RTT_MAX_FREQUENCY (32768U)
/* in Hz */
38
#define RTT_MIN_FREQUENCY (8U)
/* in Hz */
39
#define RTT_CLOCK_FREQUENCY (32768U)
/* in Hz, LFCLK*/
40
41
#ifndef RTT_FREQUENCY
42
#define RTT_FREQUENCY (1024U)
/* in Hz */
43
#endif
46
#ifdef __cplusplus
47
}
/* end extern "C" */
48
#endif
49
50
#endif
/* CFG_RTT_DEFAULT_H */
Generated on Tue Dec 17 2024 19:41:18 by
1.9.8