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... | |
__STATIC_INLINE void | Cy_SysClk_CalibSetInterrupt (void) |
Set interrupt for clock calibration counter done. More... | |
__STATIC_INLINE void | Cy_SysClk_CalibClearInterrupt (void) |
Clears the interrupt status. More... | |
__STATIC_INLINE bool | Cy_SysClk_CalibGetInterruptStatus (void) |
Returns the interrupt status. More... | |
__STATIC_INLINE bool | Cy_SysClk_CalibGetInterruptStatusMasked (void) |
Returns an interrupt request register masked by an interrupt mask. More... | |
__STATIC_INLINE void | Cy_SysClk_CalibSetInterruptMask (bool enable) |
Sets the clock calibration interrupt mask. More... | |
__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptStatus | ( | void | ) |
Returns the interrupt status.
__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.
__STATIC_INLINE void Cy_SysClk_ClearInterrupt | ( | uint32_t | intrMask | ) |
Clears the interrupt status.
intrMask | The 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. |
__STATIC_INLINE void Cy_SysClk_SetInterrupt | ( | uint32_t | intrMask | ) |
Sets the specified interrupt status.
Intended mostly for debugging.
intrMask | The mask of interrupts to set. Select one or more values from Interrupt Masks and "OR" them together. |
__STATIC_INLINE uint32_t Cy_SysClk_GetInterruptMask | ( | void | ) |
Returns the interrupt mask value.
__STATIC_INLINE void Cy_SysClk_SetInterruptMask | ( | uint32_t | intrMask | ) |
Sets the specified interrupt mask value.
intrMask | The mask of interrupts. Select one or more values from Interrupt Masks and "OR" them together. |
__STATIC_INLINE void Cy_SysClk_CalibSetInterrupt | ( | void | ) |
Set interrupt for clock calibration counter done.
Can be used to set interrupts for firmware testing. This field is reset during DeepSleep mode.
__STATIC_INLINE void Cy_SysClk_CalibClearInterrupt | ( | void | ) |
Clears the interrupt status.
__STATIC_INLINE bool Cy_SysClk_CalibGetInterruptStatus | ( | void | ) |
Returns the interrupt status.
__STATIC_INLINE bool Cy_SysClk_CalibGetInterruptStatusMasked | ( | void | ) |
Returns an interrupt request register masked by an interrupt mask.
Returns the result of the bitwise AND operation between the corresponding interrupt request and mask bits.
__STATIC_INLINE void Cy_SysClk_CalibSetInterruptMask | ( | bool | enable | ) |
Sets the clock calibration interrupt mask.
enable |
|