2.58.12 INTC_Disable Function
C
void INTC_Disable( void )
Summary
Saves the current state of global interrupts and then disables all global interrupts.
Description
This function saves the current state of global interrupts and then disables all global interrupts, preventing further interrupts until they are explicitly re-enabled. The interrupt status is returned to allow restoring the previous interrupt state.
Precondition
None.
Parameters
None.
Returns
The interrupt status, which indicates the previous state of the global interrupts..
Example
bool prevStatus = INTC_Disable();
Remarks
None.