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 | BUFSIZE 20 |
| #define | CODE_ACCESS_LENGTH 4 |
| #define | CODE_ADMIN_LENGTH 8 |
| #define | CODE_MAX_LENGTH 8 |
| #define | LOCK_PIN PINA7 |
| #define | LOOPS_PER_MS 143 |
Functions | |
| void | Beep (unsigned int tone) |
| void | CheckAccess (void) |
| void | ClearInputBuffer (void) |
| void | Delay (unsigned int ms) |
| void | DelayBar (unsigned char sec) |
| void | Initialise (void) |
| void | main (void) |
| void | OpenLock (void) |
| __interrupt void | WDT_ISR (void) |
Variables | |
| unsigned char | KPD_KeyPressed |
| unsigned char | KPD_LastKey |
| unsigned char | messageBuf [BUFSIZE] |
|
|
|
|
|
Definition at line 25 of file main.h. Referenced by CheckAccess(). |
|
|
|
|
|
Definition at line 24 of file main.h. Referenced by ClearInputBuffer(), and main(). |
|
|
Definition at line 28 of file main.h. Referenced by Initialise(), and OpenLock(). |
|
|
|
|
|
Definition at line 197 of file main.c. Referenced by main(), and OpenLock(). |
|
|
Definition at line 137 of file main.c. References CODE_ACCESS, CODE_ACCESS_LENGTH, Delay(), KeyBuffer, KPD_Init(), LCD_PutXY(), OpenLock(), and STRING_CLOSE. Referenced by main(). |
|
|
Definition at line 129 of file main.c. References CODE_MAX_LENGTH, and KeyBuffer. |
|
|
Definition at line 216 of file main.c. Referenced by CheckAccess(), DelayBar(), and main(). |
|
|
Definition at line 172 of file main.c. References Delay(), LCD_PutXY(), and LCD_PutXY_Raw(). Referenced by OpenLock(). |
|
|
Definition at line 113 of file main.c. References KPD_Init(), LCD_Init(), LOCK_PIN, and USI_TWI_Master_Initialise(). Referenced by main(). |
|
|
Definition at line 77 of file main.c. References Beep(), CheckAccess(), ClearInputBuffer(), CODE_MAX_LENGTH, Delay(), Initialise(), KeyBuffer, KPD_GetKey(), KPD_KeyPressed, LCD_ClearDisplay(), LCD_PutXY(), and STRING_WELCOME. |
|
|
Definition at line 154 of file main.c. References Beep(), DelayBar(), LCD_PutXY(), LOCK_PIN, and STRING_OPEN. Referenced by CheckAccess(). |
|
|
Definition at line 230 of file main.c. References ClearInputBuffer(), and LCD_ClearLine(). |
|
|
Definition at line 25 of file KPD.c. Referenced by KPD_GetKey(), KPD_Init(), main(), and PCINT1_ISR(). |
|
|
Definition at line 26 of file KPD.c. Referenced by KPD_GetKey(), KPD_Init(), and PCINT1_ISR(). |
|
|
Definition at line 43 of file main.h. Referenced by LCD_Init(), LCD_PutXY_Raw(), and LCD_WriteLine(). |
1.4.4