2019-03-26 08:44:30 +01:00
|
|
|
#ifndef GLOBAL_VARS_H
|
|
|
|
#define GLOBAL_VARS_H
|
2019-03-25 16:15:00 +01:00
|
|
|
|
|
|
|
#include "mcp23s17.h"
|
|
|
|
#include "tlc5615.h"
|
|
|
|
#include "adu.h"
|
2019-03-26 11:35:41 +01:00
|
|
|
#include "usart.h"
|
2019-03-25 16:15:00 +01:00
|
|
|
|
2019-04-03 09:34:22 +02:00
|
|
|
|
|
|
|
#define WDT_TIMEOUT WDTO_15MS
|
|
|
|
|
2019-04-02 10:59:37 +02:00
|
|
|
extern volatile SPI spi;
|
2019-04-03 08:40:14 +02:00
|
|
|
extern volatile MCP23S17 dio0;
|
|
|
|
extern volatile MCP23S17 dio1;
|
|
|
|
extern volatile MCP23S17 dsw;
|
2019-04-02 10:59:37 +02:00
|
|
|
extern volatile TLC5615 dac0;
|
|
|
|
extern volatile TLC5615 dac1;
|
|
|
|
extern volatile ADU adu;
|
|
|
|
extern volatile USART usart;
|
2019-04-02 16:19:42 +02:00
|
|
|
extern volatile bool nextRequest;
|
2019-03-25 16:15:00 +01:00
|
|
|
|
2019-03-26 08:44:30 +01:00
|
|
|
#endif // GLOBAL_VARS_H
|