1.2.14.3 1.3.14.3 1.4.12.3 1.5.13.3 1.6.15.3 1.7.16.3 1.8.12.3 1.9.13.3 1.29.14.3 1.30.9.3 1.31.9.3 1.32.15.3 1.33.9.3 1.34.9.3 1.35.7.3 1.36.10.3 1.37.9.3 1.38.12.3 1.39.9.3 1.40.12.3 1.41.11.3 1.42.9.3 NVIC_INT_Disable Function

C

bool NVIC_INT_Disable( void );

Summary

Disables all global interrupts and returns PRIMASK bit status

Description

This function disables all global interrupts and returns the Priority Mask Register (PRIMASK) bit status.

The bit status returned should be used with NVIC_INT_Restore() API

Precondition

None.

Parameters

None.

Returns

Priority Mask Register (PRIMASK) bit status (true or false)

Example

bool intState = NVIC_INT_Disable();

Remarks

None.