CAT2 Peripheral Driver Library

Functions

__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptStatus (void)
 Returns the interrupt status. More...
 
__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptStatusMasked (void)
 Returns the logical AND of the corresponding INTR and INTR_MASK registers in a single-load operation. More...
 
__STATIC_INLINE void Cy_SysClk_ClearInterrupt (uint32_t intrMask)
 Clears the interrupt status. More...
 
__STATIC_INLINE void Cy_SysClk_SetInterrupt (uint32_t intrMask)
 Sets the specified interrupt status. More...
 
__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptMask (void)
 Returns the interrupt mask value. More...
 
__STATIC_INLINE void Cy_SysClk_SetInterruptMask (uint32_t intrMask)
 Sets the specified interrupt mask value. More...
 

Detailed Description

Function Documentation

◆ Cy_SysClk_GetInterruptStatus()

__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptStatus ( void  )

Returns the interrupt status.

This API is available only for PSoC 4500S and 4100S Max devices.

Returns
The interrupt status, see Interrupt Masks :

◆ Cy_SysClk_GetInterruptStatusMasked()

__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptStatusMasked ( void  )

Returns the logical AND of the corresponding INTR and INTR_MASK registers in a single-load operation.

This API is available only for PSoC 4500S and 4100S Max devices.

Returns
The masked interrupt status, see Interrupt Masks :
Function Usage
uint32_t csvIntr = 0UL;
void Csv_Isr(void)
{
}
Also refer to Functions

◆ Cy_SysClk_ClearInterrupt()

__STATIC_INLINE void Cy_SysClk_ClearInterrupt ( uint32_t  intrMask)

Clears the interrupt status.

This API is available only for PSoC 4500S and 4100S Max devices.

Parameters
intrMaskThe mask of interrupts to clear. Typically this is the value returned by Cy_SysClk_GetInterruptStatusMasked or Cy_SysClk_GetInterruptStatus. Alternately, select one or more values from Interrupt Masks and "OR" them together.
Function Usage
uint32_t csvIntr = 0UL;
void Csv_Isr(void)
{
}
Also refer to Functions

◆ Cy_SysClk_SetInterrupt()

__STATIC_INLINE void Cy_SysClk_SetInterrupt ( uint32_t  intrMask)

Sets the specified interrupt status.

Intended mostly for debugging.

This API is available only for PSoC 4500S and 4100S Max devices.

Parameters
intrMaskThe mask of interrupts to set. Select one or more values from Interrupt Masks and "OR" them together.

◆ Cy_SysClk_GetInterruptMask()

__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptMask ( void  )

Returns the interrupt mask value.

This API is available only for PSoC 4500S and 4100S Max devices.

Returns
The interrupt mask value, see Interrupt Masks :
Function Usage
/* Scenario: Check whether a specific interrupt source is enabled. */
uint32_t intrMask = Cy_SysClk_GetInterruptMask();
{
/* The PLL unlock interrupt was enabled. */
}

◆ Cy_SysClk_SetInterruptMask()

__STATIC_INLINE void Cy_SysClk_SetInterruptMask ( uint32_t  intrMask)

Sets the specified interrupt mask value.

This API is available only for PSoC 4500S and 4100S Max devices.

Parameters
intrMaskThe mask of interrupts. Select one or more values from Interrupt Masks and "OR" them together.
Function Usage