litex/software/videomixer/config.h

22 lines
420 B
C
Raw Normal View History

#ifndef __CONFIG_H
#define __CONFIG_H
enum {
CONFIG_KEY_RESOLUTION = 0,
CONFIG_KEY_BLEND_USER1,
CONFIG_KEY_BLEND_USER2,
CONFIG_KEY_BLEND_USER3,
CONFIG_KEY_BLEND_USER4,
CONFIG_KEY_COUNT
};
#define CONFIG_DEFAULTS { 6, 1, 2, 3, 4 }
void config_init(void);
void config_write_all(void);
unsigned char config_get(unsigned char key);
void config_set(unsigned char key, unsigned char value);
#endif /* __CONFIG_H */