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

📄 gio.h62

📁 SEED的VPM642测试程序-板级支持库
💻 H62
字号:
;
;  Copyright 2003 by Texas Instruments Incorporated.
;  All rights reserved. Property of Texas Instruments Incorporated.
;  Restricted rights to use, duplicate or disclose this code are
;  granted through contract.
;  
;
; "@(#) DSP/BIOS 4.90.270 12-18-03 (barracuda-o04)"
;
;  ======== gio.h62 ========
;
;

	.if ($isdefed("GIO_") = 0)  ; prevent multiple includes of this file
GIO_	.set	1

	.include std.h62

;
;# ======== GIO_Obj ========
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;

	.asg    "", GIO_Obj$regs
GIO_Obj	.macro
	.endm

;
;# ======== GIO_config ========
;  Static configuration of the GIO module
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;
	.asg    "", GIO_config$regs
GIO_config	.macro _createfxn, _deletefxn, _pendfxn, _postfxn
	.if (GIO$ = 1)

	    .global _GIO
	    .global GIO$config

GIO$config:	.usect	".gio", 4 * STD_TARGWORDMAUS, STD_TARGWORDMAUS

	    .sect	".cinit"
	    .align	STD_TARGALIGN
	    .word	4 * STD_TARGWORDMAUS
	    .word	GIO$config
            .word   :_createfxn:
            .word   :_deletefxn:
            .word   :_pendfxn:
            .word   :_postfxn:

;
;  Set up pointer to GIO configuration parameters
;
	    .bss    _GIO, 1 * STD_TARGWORDMAUS, STD_TARGWORDMAUS

	    .sect   ".cinit"
	    .align  STD_TARGALIGN
	    .word   1 * STD_TARGWORDMAUS
	    .word   _GIO
	    .word   GIO$config

	.endif
	.endm

;
;# ======== GIO_end ========
;  Invoked at the end of all other configuration
;  declarations.
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
;
        .asg    "", GIO_end$regs
GIO_end .macro
        .endm

;
;# ======== GIO_init ========
;  Runtime initialization of the GIO module
;
;#
;# Preconditions: 
;#	none
;#
;# Postconditions:
;#	none
;#
;
	.asg    "", GIO_init$regs
GIO_init	.macro

	; only expand if the GIO module is configured
	.if (GIO$ = 1)
	.endif

	.endm

;
;# ======== GIO_startup ========
;
;#
;# Preconditions:
;#      none
;#
;# Postconditions:
;#      none
;#
	.asg    "", GIO_startup$regs
GIO_startup        .macro
	.endm

	.endif		; if GIO_ is not defined
    

⌨️ 快捷键说明

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