add main function
This commit is contained in:
parent
fa41ddb977
commit
896914490e
9
main.c
9
main.c
|
@ -54,3 +54,12 @@ void GPIOF_interruptHandler(void) // Interrupt handler for GPIO Port
|
|||
GPIO_PORTF_ICR_R = 0x01; // CLEAR INTERRUPT FLAG FOR SWITCH 1
|
||||
}
|
||||
}
|
||||
|
||||
int main(void) // MAIN FUNCTION
|
||||
{
|
||||
GPIO_PORT_F_init(); // GPIO INITIALISATION FUNCTION
|
||||
systick_setting(); // SYSTICK SETUP
|
||||
while (1)
|
||||
{ // DO NOTHING
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue