Title |
Function |
Function Name |
No |
format void SYS_CHGSCUIM (Uint32 AndMask, Uint32 OrMask); Input AndMask: Mask value for permission : OrMask: Mask value for rejection Output None No function value Function Mask storage memory contents are ANDed with AndMask and ORed with Or-Mask. Writes to the disk storage memory and SCU interrupt mask register. Next, the logic of AndMask and OrMask Write sum to the SCU status register. However, the A-Bus interrupt mask bit is enabled In case of , the upper word of the status register is cleared, and the A-Bus interrupt acknowledge register Clear . Perform these operations atomically. Remarks This routine must not be used from interrupt processing (for SCU interrupts) 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.
Title |
Function |
Function Name |
No |
format Uint32 SYS_GETSCUIM; Input None Output None Function value Mask save memory value Function Reads the value of the mask storage memory. This value is set / changed in the SCU interrupt mask register. If is performed with the above function, it is the same as the value actually set in the SCU interrupt mask register. Remarks During SCU interrupt processing, the application uses SYS_SETSCUIM () and SYS_CHGSCUIM () to set The mask value for each interrupt factor (if the application uses SYS_CHGUIPR () as the value of . The corresponding value in the table of changes to a logical sum. However, when interrupts are multiplexed, the argument is further increased. Changes Riwa. Therefore, this value is undefined during SCU interrupt processing. Processing that depends on the referenced value during processing Do not .