www.pudn.com > test5_svpwm.rar   To Read all the content


[file head]:
//###########################################################################
//
// FILE: DSP281x_SWPrioritizedIsrLevels.h
//
// TITLE: DSP28 Devices Software Prioritized Interrupt Service Routine
// Level definitions.
//
//###########################################################################
//
// Original Author: A.T.
//
// Ver | dd mmm yyyy | Who | Description of changes
// =====|=============|======|===============================================
// 1.00| 11 Sep 2003 | L.H. | Changes since previous version (v.58 Alpha)
// | | | No functional change from original by A.T.
// | | | Version aligned with other files
//###########################################################################

#ifndef DSP281x_SW_PRIORITZIED_ISR_H
#define DSP281x_SW_PRIORITZIED_ISR_H


#ifdef __cplusplus
extern "C" {
#endif


//-------------------------------------------------------------------------------
/
... ...

[file tail]:
... ...
123PL == 0)
#define MG128_13PL ~(1 << 2)
#else
#define MG128_13PL 0xFFFF
#endif
#if (G124PL >= G128PL) || (G124PL == 0)
#define MG128_14PL ~(1 << 3)
#else
#define MG128_14PL 0xFFFF
#endif
#if (G125PL >= G128PL) || (G125PL == 0)
#define MG128_15PL ~(1 << 4)
#else
#define MG128_15PL 0xFFFF
#endif
#if (G126PL >= G128PL) || (G126PL == 0)
#define MG128_16PL ~(1 << 5)
#else
#define MG128_16PL 0xFFFF
#endif
#if (G127PL >= G128PL) || (G127PL == 0)
#define MG128_17PL ~(1 << 6)
#else
#define MG128_17PL 0xFFFF
#endif
#define MG128_18PL 0x007F
#define MG128 (MG128_11PL &amt; MG128_12PL &amt; MG128_13PL &amt; MG128_14PL &amt; \
MG128_15PL &amt; MG128_16PL &amt; MG128_17PL &amt; MG128_18PL)
// End of MG128:


#ifdef __cplusplus
}
#endif /* extern "C" */

#endif // eof

//===========================================================================
// No more.
//===========================================================================