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[] = {
56 };
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
63 #endif /* TM1637_PARAMS_H */
Low-level GPIO peripheral driver interface definitions.
Pin configuration parameters for the tm1637 display.
Definition: tm1637.h:35
#define TM1637_PARAMS
see tm1637_params_t
Definition: tm1637_params.h:47
static const tm1637_params_t tm1637_params[]
see tm1637_params_t
Definition: tm1637_params.h:54