| |||||||||
Technical Support On-Line Manuals CARM User's Guide | __arm: ARM FunctionARM coded functions are defined using the __arm function attribute. This function attribute is useful when you must reference interrupt functions from Thumb code. <[>type<]> funcname (<[>args<]>) __arm Where:
For example:
void MyARMfunc (void) __arm { // use ARM code for following function
l = (l * u1) + (l * u2);
}
extern void IntrptFunc (void) __arm; . . . VICVectAddr0 = IntrptFunc; // initialize Vector Address with ARM entry Note | ||||||||
| |||||||||