In the inline code, I have to figure out if this line of code is:
*((void (**) ()) 0x01) = c_int01;
I can understand that you are setting an interrupt vector with the function pointer c_int01 , but I cannot understand what cast means (void (**) ()) . I know the standard function pointer notation (void (*)()) , but not the other.
I tried to reorganize the code so that it looked more readable as follows:
// header typedef void (*interrupt_handler)(); // prototype of an interruption handler
But the built-in compiler whines about non-object LHS.
Does anyone know what this designation means? (void (**)())
// EDIT:
For those who were interested, I would understand this much better:
*( (void (*)())* 0x01) = c_int01;
Gui13 source share