1.2.8.8 SYS_INT_SourceIsEnabled Function
1.2.8.8 C
bool SYS_INT_SourceIsEnabled( INT_SOURCE source )
1.2.8.8 Summary
Gets the enable/disable status of the specified interrupt source.
1.2.8.8 Description
This function returns the enable/disable status of the specified interrupt source/line at the interrupt controller level.
1.2.8.8 Precondition
None.
1.2.8.8 Parameters
| Parameters | Description |
|---|---|
| source | Interrupt source/line available at interrupt controller |
1.2.8.8 Returns
- True - Interrupt line is enabled
- False - Interrupt line is disabled
1.2.8.8 Example
bool usart0Int = false; usart0Int = SYS_INT_SourceIsEnabled(USART0_IRQn);
1.2.8.8 Remarks
Unlike SYS_INT_Disable, this function just returns the status and does not disable the interrupt line.
