Return to previous page Return to menu Go to next page

2.4 Function specification

[Interrupt register access management]

  Title  
Function specifications
  Function  
Get interrupt mask register
  Function name  
INT_GetMsk
No
1

 
format Uint32 INT_GetMsk (void) Input None Output None Function value Interrupt mask bit value (0: Do not mask, 1: Mask) Function Acquires the mask save memory to the interrupt mask bit value.

  Title  
Function specifications
  Function  
Set interrupt mask register
  Function name  
INT_SetMsk
No
2

 
format void INT_SetMsk (Uint32 msk_bit) Input msk_bit: Interrupt mask bit value (0: Do not mask, 1: Mask) Output None Function value None Function Sets the interrupt mask bit value in the interrupt mask register and mask storage memory.

  Title  
Function specifications
  Function  
Interrupt mask register change
  Function name  
INT_ChgMsk
No
3

 
format void INT_ChgMsk (Uint32 ena_msk_bit, Uint32 dis_msk_bit) Input ena_msk_bit: Interrupt mask bit value (enable) : dis_msk_bit: Interrupt mask bit value (disabled) Output None Function value None Function Changes the interrupt mask register and mask save memory only for the specified bits. finger . Undefined bits retain their values. : Interrupt mask bit value (enable) 1 bit is set not to be masked and interrupt : Set the mask bit value (disabled) to mask 1 bit. Which Bits for which is not specified retain their values. . Interrupts are temporarily prohibited during this process. Also, the interrupt mask bit value (enable Resets the interrupt status register corresponding to the 1 bit of ( Bull). A-Bus split If the mask is enabled, the interrupt acknowledge register is enabled. Remarks If you do not specify any interrupt mask bits, specify INT_MSK_NULL.


Return to previous page Return to menu Go to next page