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

📄 6205.h

📁 基于TIc6205DSP上开发的MeanShift结合Kalman滤波的代码
💻 H
字号:
//**********************************************************************
//	File Name: 6205.h
//	Descriptions: This file contains some definitions of CONTROL 
//                REGISTERS in TMS320C6205. All register names are
//                denoted in uppercase.
//**********************************************************************

//some registers about GPIO in McBSP
#define 	DRR0		(*((volatile unsigned int*)0x018c0000))
#define 	DXR0		(*((volatile unsigned int*)0x018c0004))
#define		SPCR0		(*((volatile unsigned int*)0x018c0008))
#define 	RCR0		(*((volatile unsigned int*)0x018c000c))
#define 	XCR0		(*((volatile unsigned int*)0x018c0010))
#define     PCR0		(*((volatile unsigned int*)0x018c0024))

#define 	DRR1		(*((volatile unsigned int*)0x01900000))
#define 	DXR1		(*((volatile unsigned int*)0x01900004))
#define		SPCR1		(*((volatile unsigned int*)0x01900008))
#define 	RCR1		(*((volatile unsigned int*)0x0190000C))
#define 	XCR1		(*((volatile unsigned int*)0x01900010))
#define     PCR1		(*((volatile unsigned int*)0x01900024))

//EMIF control registers
#define 	GBLCTL		(*((volatile unsigned int*)0x01800000))
#define 	CE1CTL		(*((volatile unsigned int*)0x01800004))
#define 	CE0CTL		(*((volatile unsigned int*)0x01800008))
#define 	CE3CTL		(*((volatile unsigned int*)0x01800014))
#define 	CE2CTL		(*((volatile unsigned int*)0x01800010))
#define 	SDCTL		(*((volatile unsigned int*)0x01800018))
#define 	SDTIM		(*((volatile unsigned int*)0x0180001C))

//peripheral interrupt control
#define 	EXTPOL		(*((volatile unsigned int*)0x019C0008))

//DMA control registers
#define 	PRICTL0		(*((volatile unsigned int*)0x01840000))
#define 	SECCTL0		(*((volatile unsigned int*)0x01840008))
#define 	SRC0		(*((volatile unsigned int*)0x01840010))
#define 	DST0		(*((volatile unsigned int*)0x01840018))
#define 	XFRCNT0		(*((volatile unsigned int*)0x01840020))
#define 	GBLCNTA		(*((volatile unsigned int*)0x01840028))
#define 	GBLCNTB		(*((volatile unsigned int*)0x0184002C))
#define 	GBLIDXA		(*((volatile unsigned int*)0x01840030))
#define 	GBLIDXB		(*((volatile unsigned int*)0x01840034))
#define 	GBLADDRA	(*((volatile unsigned int*)0x01840038))
#define 	GBLADDRB	(*((volatile unsigned int*)0x0184003C))
#define 	GBLADDRC	(*((volatile unsigned int*)0x01840068))
#define 	GBLADDRD	(*((volatile unsigned int*)0x0184006C))

#define 	PRICTL1		(*((volatile unsigned int*)0x01840040))
#define 	SECCTL1		(*((volatile unsigned int*)0x01840048))
#define 	SRC1		(*((volatile unsigned int*)0x01840050))
#define 	DST1		(*((volatile unsigned int*)0x01840058))
#define 	XFRCNT1		(*((volatile unsigned int*)0x01840060))



// Timer registers
#define 	TMR0CTL		(*((volatile unsigned int*)0x01940000))
#define 	TMR0PRD		(*((volatile unsigned int*)0x01940004))
#define 	TMR0CNT		(*((volatile unsigned int*)0x01940008))

//core registers
extern cregister volatile unsigned int AMR;
extern cregister volatile unsigned int CSR;
extern cregister volatile unsigned int IFR;
extern cregister volatile unsigned int ISR;
extern cregister volatile unsigned int ICR;
extern cregister volatile unsigned int IER;
extern cregister volatile unsigned int ISTP;

⌨️ 快捷键说明

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