Sample Definition Code Generated ISR Entry Function Style(nameid) @interrupt void $<nameid>() Defines the style in which an ISR (OS Object) entry function is generated. Used when generating the code for the definition of an ISR's code frame.Defines the ISR's code frame function's prototype and return type.This code is generated in the file <module>.c For an Activity defined to be an ISR, named T1:@interrupt
void $<T1>()
Declare ISR(nameid) extern void $<nameid>(); Defines the code for declaring an ISR (OS Object). Used when generating the code for declaring an ISR.This code is generated in the file type_def.h For an Activity named T1, defined to be an ISR:extern void
$<T1>();
Define ISR(nameid) DEFINE_ISR($nameid); Defines the code for defining an ISR (OS Object). Used when generating the code for defining an ISR.This code is generated in the file glob_dat.c For an Activity named T1, defined to be an ISR: Create ISR(nameid) CREATE_ISR($nameid); Defines the code for creating an ISR (OS Object). Used when generating the code for creating an ISR. For an Activity named T1, defined to be an ISR: Destroy ISR(nameid) DESTROY_ISR($nameid); Defines the code for destroying an ISR (OS Object). Used when generating the code for destroying an ISR.The functionon_exit_code
is called at the end of the generated application. For an Activity named T1, defined to be an ISR: Defines the code for entering an ISR (OS Object). Defines the code that is put at the beginning of the ISR's code frame.This code is generated just after the code from the API: Task/ISR Beginning Code(nameid, profileName)The definition of this API will be generated in the file <module>.c For an Activity named T1, defined to be an ISR: Defines the code for leaving an ISR (OS Object). This API defines the code that is put at the end of the ISR's code frame.The definition of this API will be generated in the file <module>.c For an Activity named T1, defined to be an ISR: Disable Interrupt(mask) Defines the code for disabling an ISR (OS Object). Enable Interrupt(mask) Defines the code for Enabling an ISR (OS Object). Interrupt Mask Data Type Defines the type for an ISR interrupt mask.