haxmark/src/main.h

39 lines
1.1 KiB
C
Raw Normal View History

2015-05-05 18:49:42 +02:00
// -fruchti 2015
#ifndef MAIN_H_
#define MAIN_H_
#include "config.h"
typedef enum
{
PowerOnWait, // Power-on test state with all outputs
// enabled
Idle, // Waiting for print job
AlignFeed, // Initial pulling in for proper align-
// ment of the carrier
ClutchDelay, // Delay before main carrier feed
WaitingForFeed, // Waits for the end of the carrier
// alignment mark
WaitingForPaperIn, // Waits for the paper in mark on the
// carrier
ExitOnDelay, // Wait for print to be completed
ManualPaperFeedOffDelay, // Various delays
PaperInOffDelay, // for disabling the
ExitOffDelay // sensor signals again
2015-05-05 18:49:42 +02:00
} State_t;
int main(void);
ISR(TIMER0_COMPA_vect);
ISR(INT0_vect);
ISR(INT1_vect);
#endif