You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
503 B
25 lines
503 B
/* 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
|
|
|