Loading...
Searching...
No Matches
ir_nec_params.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2022 Dario Petrillo
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
19#ifndef IR_NEC_PARAMS_H
20#define IR_NEC_PARAMS_H
21
22#include "board.h"
23#include "ir_nec.h"
24#include "ir_nec_constants.h"
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
34#ifndef IR_NEC_PARAM_PIN
35#define IR_NEC_PARAM_PIN GPIO_UNDEF
36#endif
37
38#ifndef IR_NEC_PARAMS
39#define IR_NEC_PARAMS { .pin = IR_NEC_PARAM_PIN }
40#endif
47{
48 IR_NEC_PARAMS
49};
50
51#ifdef __cplusplus
52}
53#endif
54
55#endif /* IR_NEC_PARAMS_H */
Internal addresses, registers and constants.
static const ir_nec_params_t ir_nec_params[]
Configuration struct.
Device initialization parameters.
Definition ir_nec.h:44