Syntax
VMUINT32 vm_irq_mask();
ContentsIndex
PreviousUpNext
vm_irq_mask
Example
Syntax
VMUINT32 vm_irq_mask();
Description

Used in AP mode, it masks the I bit of the processor. This function must be used in pair with the vm_irq_restore(). The I bit mask time should not exceed 5ms.

Returns

The mask status of the current I bit.

Example
VMUIN32 savedMask;
savedMask = vm_irq_mask();
     ... // your code need to protect
vm_irq_restore(savedMask);
File

vmdcl.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.