Need expalantion of Code STM32 Discovery F4

Status
Not open for further replies.

adnan012

Advanced Member level 1
Joined
Oct 6, 2006
Messages
468
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,923
hi,

I am new to ARM processors. I am using Discovery F4 Kit. I need the explanation if this code.

#if defined(TM_DELAY_TIM)
void TM_DELAY_INT_InitTIM(void);
#endif

#if defined(TM_DELAY_TIM)
void TM_DELAY_TIM_IRQ_HANDLER(void) { // this bracket is confusing me i can't find itS closing end i the compiled code
TIM_ClearITPendingBit(TM_DELAY_TIM, TIM_IT_Update);
#elif defined(KEIL_IDE)
void TimingDelay_Decrement(void) {
#else
void SysTick_Handler(void) {
#endif
TM_Time++;
if (TM_Time2 != 0x00) {
TM_Time2--;
}

/* Call user function */
TM_DELAY_1msHandler();
}
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…