uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
config.h
Go to the documentation of this file.
1 
4 /*
5  * Copyright 2015 Sebastian Neuser
6  *
7  * This file is part of the uMIDI firmware.
8  *
9  * The MIDI volume controller firmware is free software: you can redistribute it and/or modify
10  * it under the terms of the GNU General Public License as published by
11  * the Free Software Foundation, either version 3 of the License, or
12  * (at your option) any later version.
13  *
14  * The uMIDI firmware is distributed in the hope that it will be useful,
15  * but WITHOUT ANY WARRANTY; without even the implied warranty of
16  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  * GNU General Public License for more details.
18  *
19  * You should have received a copy of the GNU General Public License
20  * along with the uMIDI firmware. If not, see <http://www.gnu.org/licenses/>.
21  */
22 
23 #ifndef _CONFIG_H
24 #define _CONFIG_H
25 
26 
27 //---------------- includes ----------------//
28 #include <stdint.h>
29 
30 #include "lib/adc.h"
31 #include "lib/background_tasks.h"
32 #include "lib/gpio.h"
33 #include "lib/midi.h"
34 
35 
36 //---------------- constant declarations ----------------//
37 extern struct gpio_mapping gpio_mappings[];
38 extern uint8_t gpio_mappings_size;
39 
40 extern struct midi_config midi_config;
41 
43 extern uint8_t high_frequency_tasks_size;
45 extern uint8_t mid_frequency_tasks_size;
47 extern uint8_t low_frequency_tasks_size;
48 
49 //---------------- EOF ----------------//
50 #endif // _CONFIG_H
51 
struct gpio_mapping gpio_mappings[]
Definition: config.c:101
uint8_t high_frequency_tasks_size
Definition: config.c:57
MIDI transceiver module configuration.
Definition: midi.h:135
GPIO configuration and service functions.
background_task_t high_frequency_tasks[]
Definition: config.c:54
uint8_t low_frequency_tasks_size
Definition: config.c:69
void(* background_task_t)(void)
Data type for background task pointers.
Definition: background_tasks.h:49
ADC configuration and service functions.
MIDI message transceiver.
uint8_t mid_frequency_tasks_size
Definition: config.c:63
uint8_t gpio_mappings_size
Definition: config.c:107
Background task scheduler.
background_task_t mid_frequency_tasks[]
Definition: config.c:59
background_task_t low_frequency_tasks[]
Definition: config.c:65
Maps a GPIO pin to its designated type / function.
Definition: gpio.h:65