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
22extern "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
52};
53
54#ifdef __cplusplus
55}
56#endif
57
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
static const tm1637_params_t tm1637_params[]
see tm1637_params_t