FreeRTOS-Kernel/FreeRTOS/Demo/ColdFire_MCF51CN128_CodeWarrior/Sources/derivative.h
2012-08-11 21:34:11 +00:00

16 lines
504 B
C

/*
* Note: This file is recreated by the project wizard whenever the MCU is
* changed and should not be edited by hand
*/
/* Include the derivative-specific header file */
#include <MCF51CN128.h>
#define _Stop asm ( mov3q #4,d0; bclr.b d0,SOPT1; stop #0x2000; )
/*!< Macro to enter stop modes, STOPE bit in SOPT1 register must be set prior to executing this macro */
#define _Wait asm ( mov3q #4,d0; bset.b d0,SOPT1; nop; stop #0x2000; )
/*!< Macro to enter wait mode */