13.07.2015 Views

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

TASKING VX-toolset for ARM User Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> <strong>User</strong> <strong>Guide</strong>CMSIS intrinsicsThe <strong>TASKING</strong> <strong>VX</strong>-<strong>toolset</strong> <strong>for</strong> <strong>ARM</strong> supports the Cortex Micro-controller Software Interface Standard(CMSIS). You can find details about this standard on www.onarm.com.The required functions as defined in the CMSIS are supported by the compiler as intrinsic functions anddo not have any implementation in the CMSIS header files core_cm0.h and core_cm3.h. Theimplemented intrinsic functions are:__enable_irqvoid volatile __enable_irq( void );Global Interrupt enable (using the instruction CPSIE i).__disable_irqvoid volatile __disable_irq( void );Global Interrupt disable (using the instruction CPSID i).__set_PRIMASKvoid volatile __set_PRIMASK( unsigned int value );Assign value to Priority Mask Register (using the instruction MSR).__get_PRIMASKunsigned int __get_PRIMASK( void );Return Priority Mask Register (using the instruction MRS).__enable_fault_irqvoid volatile __enable_fault_irq( void );Global Fault exception and Interrupt enable (using the instruction CPSIE f).__disable_fault_irqvoid volatile __disable_fault_irq( void );Global Fault exception and Interrupt disable (using the instruction CPSID f).__set_FAULTMASKvoid volatile __set_FAULTMASK( unsigned int value );Assign value to Fault Mask Register (using the instruction MSR).30

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!