uMIDI
The swiss army knife for quick and easy developement of MIDI applications.
Macros | Variables
config.h File Reference

Device configuration header. More...

#include <stdint.h>
#include "lib/adc.h"
#include "lib/background_tasks.h"
#include "lib/gpio.h"
#include "lib/midi.h"
#include "lib/serial_communication.h"
Include dependency graph for config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ENABLE_SWITCH_PIN   gpio.header3.pin7
 The GPIO pin connected to the enable switch. More...
 
#define POWER_LED_PIN   gpio.header3.pin5
 The GPIO pin connected to the power led. More...
 
#define STATUS_LED_PIN   gpio.header3.pin6
 The GPIO pin connected to the status led. More...
 

Variables

struct adc_config adc_config
 
const struct adc_conversion_config expression_conversion
 
background_task_t high_frequency_tasks []
 
uint8_t high_frequency_tasks_size
 
background_task_t mid_frequency_tasks []
 
uint8_t mid_frequency_tasks_size
 
background_task_t low_frequency_tasks []
 
uint8_t low_frequency_tasks_size
 
struct gpio_mapping gpio_mappings []
 
uint8_t gpio_mappings_size
 
struct led power_led
 
struct led status_led
 
struct midi_config midi_config
 
struct serial_command serial_commands []
 
uint8_t serial_commands_size
 

Detailed Description

Device configuration header.

Macro Definition Documentation

◆ ENABLE_SWITCH_PIN

#define ENABLE_SWITCH_PIN   gpio.header3.pin7

The GPIO pin connected to the enable switch.

◆ POWER_LED_PIN

#define POWER_LED_PIN   gpio.header3.pin5

The GPIO pin connected to the power led.

◆ STATUS_LED_PIN

#define STATUS_LED_PIN   gpio.header3.pin6

The GPIO pin connected to the status led.

Variable Documentation

◆ adc_config

◆ expression_conversion

const struct adc_conversion_config expression_conversion

◆ gpio_mappings

struct gpio_mapping gpio_mappings[]

◆ gpio_mappings_size

uint8_t gpio_mappings_size

◆ high_frequency_tasks

background_task_t high_frequency_tasks[]

◆ high_frequency_tasks_size

uint8_t high_frequency_tasks_size

◆ low_frequency_tasks

background_task_t low_frequency_tasks[]

◆ low_frequency_tasks_size

uint8_t low_frequency_tasks_size

◆ mid_frequency_tasks

background_task_t mid_frequency_tasks[]

◆ mid_frequency_tasks_size

uint8_t mid_frequency_tasks_size

◆ midi_config

◆ power_led

struct led power_led

◆ serial_commands

struct serial_command serial_commands[]

◆ serial_commands_size

uint8_t serial_commands_size

◆ status_led

struct led status_led