]> begriffs open source - cmsis-freertos/blob - Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/derivative.h
Update cmsis_os2.c
[cmsis-freertos] / Demo / ColdFire_MCF51CN128_CodeWarrior / Sources / derivative.h
1 /*
2  * Note: This file is recreated by the project wizard whenever the MCU is
3  *       changed and should not be edited by hand
4  */
5
6 /* Include the derivative-specific header file */
7 #include <MCF51CN128.h>
8
9 #define _Stop asm ( mov3q #4,d0; bclr.b d0,SOPT1; stop #0x2000; )
10   /*!< Macro to enter stop modes, STOPE bit in SOPT1 register must be set prior to executing this macro */
11
12 #define _Wait asm ( mov3q #4,d0; bset.b d0,SOPT1; nop; stop #0x2000; )
13   /*!< Macro to enter wait mode */
14
15