format void INT_SetScuFunc (Uint32 num, viod * hdr)
Input num: Vector number (only SCU vector number can be specified)
: : SCU function address
Output None
Function value None
Function Registers the SCU function address to the SCU interrupt function with the specified vector number. Registered SCU
The function function is executed when an SCU interrupt occurs. The specified interrupt routine address is NULL
In case of , register the SCU dummy function. The SCU dummy function is a function that performs only return processing.
Remarks This function can be used only for master SH2. Execute this function on master SH2. INT_
: If an interrupt function is registered with SetFunc, the SCU interrupt routine for that vector will be invalid,
Registration function is not called.
Title Function specifications
Function Get interrupt function address
Function name INT_GetFunc
No 10
format void * INT_GetFunc (Uint32 num)
Input num: Vector number
Output None
Function value Interrupt function address
Function Gets the interrupt function address registered in the specified vector number.
Remarks This function can be used for both master and slave SH2. Execute this function on the CPU you want to get
Please .
Title Function specifications
Function Get SCU function address
Function name INT_GetScuFunc
No 11
format void * INT_GetScuFunc (Uint32 num)
Input num: Vector number
(Only SCU vector number can be specified)
Output None
Function value SCU function address
Function Gets the SCU function address registered in the SCU interrupt function with the specified vector number.
Remarks This function can be used only for master SH2. Execute this function on master SH2.