b15f/firmware/global_vars.h

28 lines
610 B
C
Raw Normal View History

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-05-28 12:32:31 +02:00
#include "pwm.h"
2019-06-27 15:29:18 +02:00
#include "servo.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-05-28 12:32:31 +02:00
extern volatile PWM pwm;
2019-04-02 16:19:42 +02:00
extern volatile bool nextRequest;
2019-06-21 14:05:57 +02:00
extern volatile uint16_t interruptCounters[];
2019-06-27 15:29:18 +02:00
extern volatile Servo servo;
2019-03-25 16:15:00 +01:00
2019-03-26 08:44:30 +01:00
#endif // GLOBAL_VARS_H