⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 portasm.h

📁 DSP中使用PWM模块对电机进行控制
💻 H
字号:
;/** ###################################################################
;**
;**     (c) Freescale Semiconductor
;**     2004 All Rights Reserved
;**
;**
;**     (c) Copyright UNIS, spol. s r.o. 1997-2004
;**     UNIS, spol. s r.o.
;**     Jundrovska 33
;**     624 00 Brno
;**     Czech Republic
;**     http      : www.processorexpert.com
;**     mail      : info@processorexpert.com
;** ###################################################################*/

; File: port.asm

;/*******************************************************
;* Conditional assembly
;*******************************************************/

;/* Change the following define to '0' to eliminate asserts */
  define  ASSERT_ON_INVALID_PARAMETER   '1'

;/* For V1 compatibility */
   define debug    'debughlt'

;/*
;   These defines permit the same ASM source code to be
;   used for Large and Small Memory Models
;*/
    define PORT_LARGE_MEMORY_MODEL '1'

    define CODEWARRIOR_WORKAROUND '0'

;   IF @DEF(F__CW_M56800E_LMM)
;   Small Memory Model defines

   define LoadRx   'moveu.w'
   define StoreRx  'move.w'
   define TestRx   'tst.w'

   define PTR_SIZE  '1'

;  endif

;/*******************************************************
;* Constants
;*******************************************************/

;/* Function Result Values */
PASS      equ     0
FAIL      equ     -1

true      equ     1
false     equ     0

;/*******************************************************
;* Implementation Limits
;*******************************************************/

PORT_MAX_VECTOR_LEN  equ 65535

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -