diff --git a/Include/burn.h b/Include/burn.h new file mode 100644 --- /dev/null +++ b/Include/burn.h @@ -0,0 +1,29 @@ +#ifndef BURN_H +#define BURN_H +#include "stm32f0xx_hal.h" + + + +// Number of burn outputs +#define NUM_BURNS 3 + + +enum burn +{ + BURN_NONE = 0, + BURN_1, + BURN_2, +}; + + +enum burn_status +{ + BURN_IDLE = 0, + BURN_BURNING, +}; + + +void burn_queue(uint8_t burn_id, uint8_t delaytime, uint8_t resttime); +void burn_process(void); + +#endif