?? voip.inc
字號:
;-----------------------------------------------------------------------------
;
; Filename: voip.inc
;
; DESCRIPTION: General assembly globals for VOIP
;
;--------------------------------------------------------------------------
; $Archive:
; $Modtime:
; $Revision:
;--------------------------------------------------------------------------
;
; Copyright 2005-2006, Cypress Semiconductor Corporation.
;
; This software is owned by Cypress Semiconductor Corporation (Cypress)
; and is protected by and subject to worldwide patent protection (United
; States and foreign), United States copyright laws and international
; treaty provisions. Cypress hereby grants to licensee a personal,
; non-exclusive, non-transferable license to copy, use, modify, create
; derivative works of, and compile the Cypress Source Code and derivative
; works for the sole purpose of creating custom software in support of
; licensee product to be used only in conjunction with a Cypress integrated
; circuit as specified in the applicable agreement. Any reproduction,
; modification, translation, compilation, or representation of this
; software except as specified above is prohibited without the express
; written permission of Cypress.
;
; Disclaimer: CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
; WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
; WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
; Cypress reserves the right to make changes without further notice to the
; materials described herein. Cypress does not assume any liability arising
; out of the application or use of any product or circuit described herein.
; Cypress does not authorize its products for use as critical components in
; life-support systems where a malfunction or failure may reasonably be
; expected to result in significant injury to the user. The inclusion of
; Cypress' product in a life-support systems application implies that the
; manufacturer assumes all risk of such use and in doing so indemnifies
; Cypress against all charges.
;
; Use may be limited by and subject to the applicable Cypress software
; license agreement.
;
;--------------------------------------------------------------------------
;--------------------------------------------------------------------------
; INDENTATION NOTES:
; ASM files indent with HARD-TABs and assume standard 8-char/tab
; 'C' files indent with 4 SPACE characters
;--------------------------------------------------------------------------
CH_STEP_SIZE: EQU 3
CH_MIN: EQU 3 ; Inclusive (written to CHANNEL_ADR)
CH_MAX: EQU 90 ; Inclusive (written to CHANNEL_ADR)
CPU_MHZ: equ 24
MSB: EQU 0 ; Big-endian to match compiler
LSB: EQU 1 ; Big-endian to match compiler
macro LED_GRN_ON
AND REG[TEST_TMR_Data_ADDR], ~LED_GRN_1 ; GREEN LED LOW
endm
macro LED_GRN_OFF
OR REG[TEST_TMR_Data_ADDR], LED_GRN_1 ; GREEN LED HIGH
endm
macro LED_RED_ON
AND REG[TEST_TMR_Data_ADDR], ~LED_RED_2 ; RED LED LOW
endm
macro LED_RED_OFF
OR REG[TEST_TMR_Data_ADDR], LED_RED_2 ; RED LED HIGH
endm
macro TEST_LED_LO
AND REG[TEST_TMR_Data_ADDR], ~TEST_TMR_MASK ; TEST LED LOW
endm
macro TEST_LED_HI
OR REG[TEST_TMR_Data_ADDR], TEST_TMR_MASK ; TEST LED HIGH
endm
macro TEST_TIK_LO
AND REG[TEST_TIK_Data_ADDR], ~TEST_TIK_MASK ; TEST TICK LOW
endm
macro TEST_TIK_HI
OR REG[TEST_TIK_Data_ADDR], TEST_TIK_MASK ; TEST TICK HIGH
endm
macro TEST_SCOPE_HI
OR REG[TEST_SCOPE_Data_ADDR], TEST_SCOPE_MASK
endm
macro TEST_SCOPE_LO
AND REG[TEST_SCOPE_Data_ADDR], ~TEST_SCOPE_MASK
endm
; ###########################################################################
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -