Definition in file main.h.
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | cbi(port, bit) (port &= ~(1<<bit)) |
#define | sbi(port, bit) (port |= (1<<bit)) |
Enumerations | |
enum | input { KEY_NULL, KEY_ENTER, KEY_NEXT, KEY_PREV, KEY_PLUS, KEY_MINUS } |
Enumeration of key inputs. More... | |
enum | states { ST_AVR_IDLE = 10, ST_AVR_INIT_MODEM, ST_AVR_READY, ST_AVR_NO_ECHO, ST_AVR_WRONG_STORAGE, ST_AVR_WRONG_OPTION, ST_AVR_NEW_SMS, ST_AVR_NEW_SMS_function, ST_AVR_DELETE, ST_AVR_DELETE_function, ST_AVR_READ, ST_AVR_READ_function, ST_AVR_DISPLAY, ST_AVR_SEND, ST_AVR_SEND_function } |
Enumeration of states, starting at 10. More... | |
Functions | |
char | getInput (void) |
void | Initialization (void) |
This function setup the hardware. | |
unsigned char | StateMachine (char state, unsigned char stimuli) |
This function controls the state machine. |
|
Definition at line 26 of file main.h. Referenced by Button_Init(). |
|
|
|
Enumeration of key inputs.
Definition at line 59 of file main.h. Referenced by CHAR2BCD2(), CHAR2BCD3(), main(), and SetContrast().
|
|
Enumeration of states, starting at 10.
Definition at line 31 of file main.h.
|
|
|
|
This function setup the hardware.
Set up:
Definition at line 206 of file main.c. References Button_Init(), COM_init(), and LCD_Init(). Referenced by main().
Here is the call graph for this function: ![]() |
|
This function controls the state machine.
Definition at line 171 of file main.c. References MENU_NEXTSTATE::input, menu_nextstate, MENU_NEXTSTATE::nextstate, MENU_NEXTSTATE::state, and state. Referenced by main().
|