isp_stk500_interface.inc

来自「AVR053 校正内部RC振荡器」· INC 代码 · 共 57 行

INC
57
字号
;*****************************************************************
;*
;* - Description:  STK500 interface definition file for RC
;*                 Calibration
;*
;* - File:         isp_STK500_interface.inc
;* - AppNote:      AVR053 - Production calibration of the
;*                          RC oscillator
;*
;* - Author:       Atmel Corporation: http://www.atmel.com
;*                 Support email: avr@atmel.com
;*
;* $Name: AVR053_RELEASE_1_1 $
;* $Revision: 1.2 $
;* $RCSfile: isp_STK500_interface.inc,v $
;* $Date: 2006/02/16 16:44:45 $
;*****************************************************************


;*****************************************************************
;* Description: Interface definition file for RC Calibration
;*
;* $Revision: 1.2 $	
;* $Author: rksnilsberg $
;* $Date: 2006/02/16 16:44:45 $
;*
;*****************************************************************


;*****************************************************************
;*	Specify Calibration clock frequency
;*****************************************************************
.EQU	CALIB_CLOCK_FREQ	= 32623	;Calibration Clock frequency 
						;in Hz. 7.3728MHz/(2*113) CHANGE WITH CARE

;*****************************************************************
;*	Pin and port definitions
;*****************************************************************
.EQU	MISO 		= ISP_CAL_MISO
.EQU	MOSI		= ISP_CAL_MOSI

.EQU	CAL_PORT	= ISP_CAL_PORT_REG
.EQU	CAL_DDR		= ISP_CAL_DDR_REG
.EQU	CAL_PIN		= ISP_CAL_PIN_REG

;*****************************************************************
;*	Macro used to disable and enable JTAG functions as these 
;*	override IO functions. Macro contains nop if not using JTAG.
;*****************************************************************
.MACRO	OPEN_INTERFACE_ACCESS
	nop
.ENDMACRO

.MACRO	CLOSE_INTERFACE_ACCESS
	nop
.ENDMACRO

⌨️ 快捷键说明

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