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 
9 #pragma once
10 
21 #include "board.h"
22 #include "ir_nec.h"
23 #include "ir_nec_constants.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
33 #ifndef IR_NEC_PARAM_PIN
34 #define IR_NEC_PARAM_PIN GPIO_UNDEF
35 #endif
36 
37 #ifndef IR_NEC_PARAMS
38 #define IR_NEC_PARAMS { .pin = IR_NEC_PARAM_PIN }
39 #endif
46 {
47  IR_NEC_PARAMS
48 };
49 
50 #ifdef __cplusplus
51 }
52 #endif
53 
Internal addresses, registers and constants.
static const ir_nec_params_t ir_nec_params[]
Configuration struct.
Definition: ir_nec_params.h:45
Device initialization parameters.
Definition: ir_nec.h:43