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

📄 adc10.inc

📁 cypress cy3721做的外部无线结点。感知温度后将温度值反给中心结点。
💻 INC
字号:
;;*****************************************************************************
;;*****************************************************************************
;;  FILENAME:   ADC10.inc
;;  Version: 1.0, Updated on 2006/05/10 at 07:18:37
;;  Generated by PSoC Designer ???
;;
;;  DESCRIPTION:
;;    Assembler declarations for the ACDINC12 user module interface
;;    for the 22/24/27xxx PSoC family of devices.
;;-----------------------------------------------------------------------------
;;  Copyright (c) Cypress MicroSystems 2000-2003. All Rights Reserved.
;;*****************************************************************************
;;*****************************************************************************

;--------------------------------------------------
; Constants for ADC10 API's
;--------------------------------------------------

PWM_High:      equ 20h
PWM_Low:       equ 2h

ADC10_ADCIntReg:                            equ  0e0h
ADC10_ADCClrIntReg:                         equ  0dah
ADC10_ADCMask:                              equ  04h
ADC10_CNTIntReg:                            equ  0e1h
ADC10_CNTClrIntReg:                         equ  0dbh
ADC10_CNTMask:                              equ  01h

ADC10_OFF:                             equ  0
ADC10_ON:                              equ  1

;--------------------------------------------------
; Registers Address Constants for ADC10
;--------------------------------------------------

ADC10_LOWRANGE:                        equ  01h
ADC10_FULLRANGE:                       equ  03h

;--------------------------------------------------
; Deprecated:
ADC10_LOWPOWER:                        equ  01h
ADC10_FULLPOWER:                       equ  03h
;--------------------------------------------------

ADC10_CAL_VBG:                         equ  03h
ADC10_CAL_AMUXBUS:                     equ  07h
ADC10_CAL_P0_0:                        equ  10h
ADC10_CAL_P0_1:                        equ  90h
ADC10_CAL_P0_2:                        equ  14h
ADC10_CAL_P0_3:                        equ  91h
ADC10_CAL_P0_4:                        equ  18h
ADC10_CAL_P0_5:                        equ  92h
ADC10_CAL_P0_6:                        equ  1Ch
ADC10_CAL_P0_7:                        equ  93h


ADC10_ASE_CR0:  equ 84h
ADC10_ACE_CR1:  equ 76h
ADC10_ACE_CR2:  equ 77h
ADC10_ADC_CR:   equ 69h
ADC10_ADC_TR:   equ e6h

ADC10_CNT_FN:   equ 20h
ADC10_CNT_IN:   equ 21h
ADC10_CNT_OUT:  equ 22h
ADC10_CNT_DR0:  equ 20h
ADC10_CNT_DR1:  equ 21h
ADC10_CNT_DR2:  equ 22h
ADC10_CNT_CR0:  equ 23h


⌨️ 快捷键说明

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