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 #pragma once
10 
21 #include "board.h"
22 #include "periph/gpio.h"
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #ifndef TM1637_PARAM_CLK
32 # define TM1637_PARAM_CLK GPIO_UNDEF
33 #endif
34 
35 #ifndef TM1637_PARAM_DIO
39 # define TM1637_PARAM_DIO GPIO_UNDEF
40 #endif
41 
42 #ifndef TM1637_PARAMS
46 # define TM1637_PARAMS { .clk = TM1637_PARAM_CLK, \
47  .dio = TM1637_PARAM_DIO }
48 #endif
49 
53 static const tm1637_params_t tm1637_params[] = {
55 };
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
Low-level GPIO peripheral driver interface definitions.
Pin configuration parameters for the tm1637 display.
Definition: tm1637.h:34
#define TM1637_PARAMS
see tm1637_params_t
Definition: tm1637_params.h:46
static const tm1637_params_t tm1637_params[]
see tm1637_params_t
Definition: tm1637_params.h:53