b15f/firmware/global_vars.h

23 lines
469 B
C
Raw Normal View History

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