Update main.c

Add main function
This commit is contained in:
Uttam Bhavimani Bhavimani 2024-10-10 19:36:05 +05:30
parent 6779a04d69
commit 6cabffb9d2
1 changed files with 11 additions and 0 deletions

11
main.c
View File

@ -48,3 +48,14 @@ void GPIOF_interruptHandler(void) // Interrupt handler for GPIO Po
GPIO_PORTF_ICR_R = 0x01; // Clear interrupt flag for PF0 GPIO_PORTF_ICR_R = 0x01; // Clear interrupt flag for PF0
} }
} }
int main(void) // MAIN FUNCTION
{
GPIO_PORT_F_init(); // GPIO INITIALISATION FUNCTION
while (1)
{
}
}