| ??? 11/19/04 11:52 Read: times |
#81499 - Re: Interrupt Function Prototype & Keil Responding to: ???'s previous message |
hi,
With ANSI 'C' it is necessary to use function declaration/prototype before the main() function. This declaration helps compiler determine the parameter & return types and number of parameters. Does the interrupt function need protyping? You have answered the question: interrupt service routine does not accept parameters and does not return a result. So what is the prototype needed for? Regards, Oleg |
| Topic | Author | Date |
| Interrupt Function Prototype & Keil | 01/01/70 00:00 | |
| Re: Interrupt Function Prototype & Keil | 01/01/70 00:00 | |
| No Parameters | 01/01/70 00:00 | |
| ASM vs 'C' | 01/01/70 00:00 | |
| Interrupt Routines | 01/01/70 00:00 | |
| Assembly code no better than keil | 01/01/70 00:00 | |
| efficient C | 01/01/70 00:00 | |
| Hardware IIC | 01/01/70 00:00 | |
| I2C(C) = I2C(asm) | 01/01/70 00:00 | |
| C-asm delay | 01/01/70 00:00 | |
OSC_FREQ | 01/01/70 00:00 | |
| no need for prototypes! | 01/01/70 00:00 | |
| Same | 01/01/70 00:00 |



