typedef enum { /* Application's state machine's initial state. */ APP_STATE_INIT=0, /* TODO: Define states used by the application state machine. */ APP_STATE_TX, // USART transmit state APP_STATE_RX // USART receive state } APP_STATES;