|
|||||||||||
|
Technical Support On-Line Manuals MCBSTR730 User's Guide |
MCBSTR730 User's GuideKeil ExamplesThe STMicroelectronics functions in the STR73x.LIB STR73x Software Library files are written for fast and efficient interrupt handling. They are defined with the standard __irq function attribute of the RealView Compiler as shown below:
// Timer3 IRQ: Executed each 10ms
__irq void T3TIMI_IRQHandler (void) {
TimeVal++; // Increment Tick Counter
TIM_FlagClear(TIM3, TIM_TO_IT);
EIC->IPR = 1 << T3TIMI_IRQChannel;
}
These "Keil-style" interrupt functions have the following requirements and benefits:
| ||||||||||
|
|||||||||||