add main function

This commit is contained in:
Sanyog Nevase Nevase 2024-09-20 21:38:29 +05:30
parent fa41ddb977
commit 896914490e
1 changed files with 19 additions and 10 deletions

9
main.c
View File

@ -54,3 +54,12 @@ void GPIOF_interruptHandler(void) // Interrupt handler for GPIO Port
GPIO_PORTF_ICR_R = 0x01; // CLEAR INTERRUPT FLAG FOR SWITCH 1 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
}
}