/* config.h */

#ifndef _CONFIG_H_
#define _CONFIG_H_

#include "common.h"

/* So there's a total of 64 bytes of EEPROM.
 * This is going to be a squeeze. Unless we can
 * program the profiles into program flash or something.
 */
typedef struct config {
    uint8_t contrast;
    unsigned int beep:1;
    unsigned int thermocouple_type:3;
    unsigned int frequency:1;
    unsigned int units:4;
    signed int p:12;
    signed int i:12;
    signed int d:12;
} config_t;

extern config_t config;

#endif
