Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
tm1637_params.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2024 Nico Behrens <nifrabe@outlook.de>
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
9
#ifndef TM1637_PARAMS_H
10
#define TM1637_PARAMS_H
11
22
#include "board.h"
23
#include "
periph/gpio.h
"
24
25
#ifdef __cplusplus
26
extern
"C"
{
27
#endif
28
29
#ifndef TM1637_PARAM_CLK
33
# define TM1637_PARAM_CLK GPIO_UNDEF
34
#endif
35
36
#ifndef TM1637_PARAM_DIO
40
# define TM1637_PARAM_DIO GPIO_UNDEF
41
#endif
42
43
#ifndef TM1637_PARAMS
47
# define TM1637_PARAMS { .clk = TM1637_PARAM_CLK, \
48
.dio = TM1637_PARAM_DIO }
49
#endif
50
54
static
const
tm1637_params_t
tm1637_params
[] = {
55
TM1637_PARAMS
56
};
57
58
#ifdef __cplusplus
59
}
60
#endif
61
63
#endif
/* TM1637_PARAMS_H */
gpio.h
Low-level GPIO peripheral driver interface definitions.
tm1637_params_t
Pin configuration parameters for the tm1637 display.
Definition:
tm1637.h:35
TM1637_PARAMS
#define TM1637_PARAMS
see tm1637_params_t
Definition:
tm1637_params.h:47
tm1637_params
static const tm1637_params_t tm1637_params[]
see tm1637_params_t
Definition:
tm1637_params.h:54
Generated on Thu Mar 27 2025 18:20:55 by
1.9.1