add vector table and external declaration

This commit is contained in:
Sanyog Nevase Nevase 2024-09-20 21:55:34 +05:30
parent 7169a51106
commit 05b2429641
1 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ void ResetISR(void);
static void NmiSR(void); static void NmiSR(void);
static void FaultISR(void); static void FaultISR(void);
static void IntDefaultHandler(void); static void IntDefaultHandler(void);
void GPIOF_interruptHandler(void);
//***************************************************************************** //*****************************************************************************
// //
// External declaration for the reset handler that is to be called when the // External declaration for the reset handler that is to be called when the
@ -55,7 +55,7 @@ extern uint32_t __STACK_TOP;
// //
//***************************************************************************** //*****************************************************************************
// To be added by user // To be added by user
void GPIOF_interruptHandler(void);
//***************************************************************************** //*****************************************************************************
// //
// The vector table. Note that the proper constructs must be placed on this to // The vector table. Note that the proper constructs must be placed on this to
@ -113,7 +113,7 @@ void (* const g_pfnVectors[])(void) =
IntDefaultHandler, // Analog Comparator 2 IntDefaultHandler, // Analog Comparator 2
IntDefaultHandler, // System Control (PLL, OSC, BO) IntDefaultHandler, // System Control (PLL, OSC, BO)
IntDefaultHandler, // FLASH Control IntDefaultHandler, // FLASH Control
IntDefaultHandler, // GPIO Port F GPIOF_interruptHandler, // GPIO Port F
IntDefaultHandler, // GPIO Port G IntDefaultHandler, // GPIO Port G
IntDefaultHandler, // GPIO Port H IntDefaultHandler, // GPIO Port H
IntDefaultHandler, // UART2 Rx and Tx IntDefaultHandler, // UART2 Rx and Tx