Return to previous page Return to menu Go to next page

  Title  
Function specifications
  Function  
Get interrupt vector registration
Function Name
SYS_GETSINT
No
1.3

 format  void (*) () SYS_GETSINT (Uint32 Num);
 Input  Num: Vector number (0..7FH)
 Output  None
 Function value  Vector registration contents (interrupt processing routine address)
 Function  Returns the contents of the Num vector as a function value.
  Range check is not performed. Do not specify a value outside the range.
 Remarks  This routine can be used for both master and slave SH2, and the vector address based on each VBR
Refer to  . 

  Title  
Function specifications
  Function  
Get SCU interrupt routine registration
Function Name
SYS_GETUINT
No
1.4

 format  void (*) () SYS_GETUINT (Uint32 Num);
 Input  Num: Vector number (SCU vector number)
 Output  None
 Function value  Registered contents (function routine address)
 Function  Num Returns the registered contents of the corresponding SCU interrupt routine to the function value.
  Range check is not performed. Do not specify a value outside the range.
 Remarks  If this routine is called on slave SH2, the results are not guaranteed. 

  Title  
Function specifications
  Function  
Set SCU interrupt mask
Function Name
SYS_SETSCUIM
No
2.1

 format  void SYS_SETSCUIM (Uint32 MaskPat);
 Input  MaskPat: SCU interrupt mask value
 Output  None
 No function value 
 Function  Write MaskPat value to mask save memory and SCU interrupt mask register, then assign same value to SCU
 Write to the status register. However, if the A-Bus interrupt mask bit is enabled,
  Clears the upper word of the status register and clears the A-Bus interrupt acknowledge register.
 
 Remarks  This routine must not be used from (SCU interrupt) interrupt processing (during SCU interrupt processing)
  SYS_GETSCUIM value is undefined.)
  If an SCU interrupt occurs during processing, the interrupt may disappear (SCU specification). Its possible
  Use it in a situation where you avoid the ability or do not know.
  If this routine is called on slave SH2, the results are not guaranteed. 


Return to previous page Return to menu Go to next page