Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
tm1637_params.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2024 Nico Behrens <nifrabe@outlook.de>
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
17
18
#include "board.h"
19
#include "
periph/gpio.h
"
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
25
#ifndef TM1637_PARAM_CLK
29
# define TM1637_PARAM_CLK GPIO_UNDEF
30
#endif
31
32
#ifndef TM1637_PARAM_DIO
36
# define TM1637_PARAM_DIO GPIO_UNDEF
37
#endif
38
39
#ifndef TM1637_PARAMS
43
# define TM1637_PARAMS { .clk = TM1637_PARAM_CLK, \
44
.dio = TM1637_PARAM_DIO }
45
#endif
46
50
static
const
tm1637_params_t
tm1637_params
[] = {
51
TM1637_PARAMS
52
};
53
54
#ifdef __cplusplus
55
}
56
#endif
57
gpio.h
Low-level GPIO peripheral driver interface definitions.
tm1637_params_t
Pin configuration parameters for the tm1637 display.
Definition
tm1637.h:34
TM1637_PARAMS
#define TM1637_PARAMS
see tm1637_params_t
Definition
tm1637_params.h:43
tm1637_params
static const tm1637_params_t tm1637_params[]
see tm1637_params_t
Definition
tm1637_params.h:50
Generated on Wed Apr 15 2026 07:36:49 by
1.13.2