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

📄 psd_reg.h

📁 三星ic 9980的源代码. 718版.
💻 H
字号:
/******************************************************************************
 * File name  : PSD_reg.h
 * Start date : 2002.09.05
 * By         : Chongkun Lee
 * Contact    : bach1004@samsung.com
 * Description: Header file of Program Stream Demux Registers
 * $Log:$
 *    Rev0.0
 ******************************************************************************
 */    

#ifndef _PSD_REG_H_
#define _PSD_REG_H_

#ifdef	__cplusplus
extern	"C" {
#endif


/******************************************************************************
 *   Registers of PSD
 ******************************************************************************/
#define PSD_BASE					0x324000
#define rPSD_CLC_H					(*(volatile unsigned *)(PSD_BASE + 0x00) )
#define rPSD_CLC_L					(*(volatile unsigned *)(PSD_BASE + 0x02) )
 
#define rPSD_ID_H					(*(volatile unsigned *)(PSD_BASE + 0x04) )
#define rPSD_ID_L					(*(volatile unsigned *)(PSD_BASE + 0x06) )

#define rPSD_RESET_H				(*(volatile unsigned *)(PSD_BASE + 0x08) )
#define rPSD_RESET_L				(*(volatile unsigned *)(PSD_BASE + 0x0A) )

#define rPSD_CONFIG0_H				(*(volatile unsigned *)(PSD_BASE + 0x0C) )
#define rPSD_CONFIG0_L				(*(volatile unsigned *)(PSD_BASE + 0x0E) )

#define rPSD_IRQ_H					(*(volatile unsigned *)(PSD_BASE + 0x10) )
#define rPSD_IRQ_L					(*(volatile unsigned *)(PSD_BASE + 0x12) )

#define rPSD_IRQ_MASK_H			(*(volatile unsigned *)(PSD_BASE + 0x14) )
#define rPSD_IRQ_MASK_L			(*(volatile unsigned *)(PSD_BASE + 0x16) )

#define rPSD_EXT_IRQ_H				(*(volatile unsigned *)(PSD_BASE + 0x2C) )
#define rPSD_EXT_IRQ_L				(*(volatile unsigned *)(PSD_BASE + 0x2E) )

#define rPSD_EXT_IRQ_MASK_H		(*(volatile unsigned *)(PSD_BASE + 0x30) )
#define rPSD_EXT_IRQ_MASK_L		(*(volatile unsigned *)(PSD_BASE + 0x32) )

/* filter0 ~ 3 */
#define rPSD_FILTER_MODE0_H		(*(volatile unsigned *)(PSD_BASE + 0x300) )
#define rPSD_FILTER_MODE0_L 		(*(volatile unsigned *)(PSD_BASE + 0x302) )

/* filter4 ~ 7 */
#define rPSD_FILTER_MODE1_H 		(*(volatile unsigned *)(PSD_BASE + 0x304) )
#define rPSD_FILTER_MODE1_L 		(*(volatile unsigned *)(PSD_BASE + 0x306) )

/* filter0 ~ 7 */
#define rPSD_FILT_CFG0_H			(*(volatile unsigned *)(PSD_BASE + 0x308) )
#define rPSD_FILT_CFG0_L			(*(volatile unsigned *)(PSD_BASE + 0x30A) )

#define rPSD_FILT_CFG1_H			(*(volatile unsigned *)(PSD_BASE + 0x30C) )
#define rPSD_FILT_CFG1_L			(*(volatile unsigned *)(PSD_BASE + 0x30E) )

#define rPSD_FILT_CFG2_H			(*(volatile unsigned *)(PSD_BASE + 0x310) )
#define rPSD_FILT_CFG2_L			(*(volatile unsigned *)(PSD_BASE + 0x312) )

#define rPSD_FILT_CFG3_H			(*(volatile unsigned *)(PSD_BASE + 0x314) )
#define rPSD_FILT_CFG3_L			(*(volatile unsigned *)(PSD_BASE + 0x316) )

#define rPSD_FILT_CFG4_H			(*(volatile unsigned *)(PSD_BASE + 0x318) )
#define rPSD_FILT_CFG4_L			(*(volatile unsigned *)(PSD_BASE + 0x31A) )

#define rPSD_FILT_CFG5_H			(*(volatile unsigned *)(PSD_BASE + 0x31C) )
#define rPSD_FILT_CFG5_L			(*(volatile unsigned *)(PSD_BASE + 0x31E) )

#define rPSD_FILT_CFG6_H			(*(volatile unsigned *)(PSD_BASE + 0x320) )
#define rPSD_FILT_CFG6_L			(*(volatile unsigned *)(PSD_BASE + 0x322) )

#define rPSD_FILT_CFG7_H			(*(volatile unsigned *)(PSD_BASE + 0x324) )
#define rPSD_FILT_CFG7_L			(*(volatile unsigned *)(PSD_BASE + 0x326) )

/* status and control */
#define rPSD_STATUS0_H				(*(volatile unsigned *)(PSD_BASE + 0x328) )
#define rPSD_STATUS0_L				(*(volatile unsigned *)(PSD_BASE + 0x32A) )

#define rPSD_BUFFER_ENABLE_H 		(*(volatile unsigned *)(PSD_BASE + 0x104) )
#define rPSD_BUFFER_ENABLE_L 		(*(volatile unsigned *)(PSD_BASE + 0x106) )

/* Input and output buffer pointers */
#define rPSD_TRACK_BUF_RD_PT_H 	(*(volatile unsigned *)(PSD_BASE + 0x108) )
#define rPSD_TRACK_BUF_RD_PT_L 	(*(volatile unsigned *)(PSD_BASE + 0x10A) )

#define rPSD_TRACK_BUF_STOP_H 		(*(volatile unsigned *)(PSD_BASE + 0x10C) )
#define rPSD_TRACK_BUF_STOP_L 		(*(volatile unsigned *)(PSD_BASE + 0x10E) )

#define rPSD_BUF_WR_PT0_H 			(*(volatile unsigned *)(PSD_BASE + 0x110) )
#define rPSD_BUF_WR_PT0_L			(*(volatile unsigned *)(PSD_BASE + 0x112) )

#define rPSD_BUF_STOP0_H 			(*(volatile unsigned *)(PSD_BASE + 0x114) )
#define rPSD_BUF_STOP0_L 			(*(volatile unsigned *)(PSD_BASE + 0x116) )

#define rPSD_BUF_WR_PT1_H 			(*(volatile unsigned *)(PSD_BASE + 0x118) )
#define rPSD_BUF_WR_PT1_L 			(*(volatile unsigned *)(PSD_BASE + 0x11A) )

#define rPSD_BUF_STOP1_H 			(*(volatile unsigned *)(PSD_BASE + 0x11C) )
#define rPSD_BUF_STOP1_L 			(*(volatile unsigned *)(PSD_BASE + 0x11E) )

#define rPSD_BUF_WR_PT2_H 			(*(volatile unsigned *)(PSD_BASE + 0x120) )
#define rPSD_BUF_WR_PT2_L 			(*(volatile unsigned *)(PSD_BASE + 0x122) )

#define rPSD_BUF_STOP2_H 			(*(volatile unsigned *)(PSD_BASE + 0x124) )
#define rPSD_BUF_STOP2_L 			(*(volatile unsigned *)(PSD_BASE + 0x126) )

#define rPSD_BUF_WR_PT3_H 			(*(volatile unsigned *)(PSD_BASE + 0x128) )
#define rPSD_BUF_WR_PT3_L      	 	(*(volatile unsigned *)(PSD_BASE + 0x12A) )

#define rPSD_BUF_STOP3_H 			(*(volatile unsigned *)(PSD_BASE + 0x12C) )
#define rPSD_BUF_STOP3_L			(*(volatile unsigned *)(PSD_BASE + 0x12E) )

#define rPSD_BUF_WR_PT4_H 			(*(volatile unsigned *)(PSD_BASE + 0x130) )
#define rPSD_BUF_WR_PT4_L 			(*(volatile unsigned *)(PSD_BASE + 0x132) )

#define rPSD_BUF_STOP4_H 			(*(volatile unsigned *)(PSD_BASE + 0x134) )
#define rPSD_BUF_STOP4_L 			(*(volatile unsigned *)(PSD_BASE + 0x136) )

#define rPSD_BUF_WR_PT5_H 			(*(volatile unsigned *)(PSD_BASE + 0x138) )
#define rPSD_BUF_WR_PT5_L 			(*(volatile unsigned *)(PSD_BASE + 0x13A) )

#define rPSD_BUF_STOP5_H 			(*(volatile unsigned *)(PSD_BASE + 0x13C) )
#define rPSD_BUF_STOP5_L 			(*(volatile unsigned *)(PSD_BASE + 0x13E) )

#define rPSD_BUF_WR_PT6_H 			(*(volatile unsigned *)(PSD_BASE + 0x140) )
#define rPSD_BUF_WR_PT6_L 			(*(volatile unsigned *)(PSD_BASE + 0x142) )

#define rPSD_BUF_STOP6_H 			(*(volatile unsigned *)(PSD_BASE + 0x144) ) 
#define rPSD_BUF_STOP6_L 			(*(volatile unsigned *)(PSD_BASE + 0x146) )

#define rPSD_BUF_WR_PT7_H 			(*(volatile unsigned *)(PSD_BASE + 0x148) )
#define rPSD_BUF_WR_PT7_L 			(*(volatile unsigned *)(PSD_BASE + 0x14A) )

#define rPSD_BUF_STOP7_H 			(*(volatile unsigned *)(PSD_BASE + 0x14C) )
#define rPSD_BUF_STOP7_L 			(*(volatile unsigned *)(PSD_BASE + 0x14E) )

//#define rPSD_SYS_BUF_BASE_H		(*(volatile unsigned *)(PSD_BASE + 0x100) )
//#define rPSD_SYS_BUF_BASE_L		(*(volatile unsigned *)(PSD_BASE + 0x102) )

#define rPSD_SYS_BUF_BASE_H		(*(unsigned *)(PSD_BASE + 0x100) )
#define rPSD_SYS_BUF_BASE_L		(*(unsigned *)(PSD_BASE + 0x102) )

/* PSD Ring Buffer */
#define rPSD_UNDER_FLO_GAP0_H		(*(volatile unsigned *)(PSD_BASE + 0x164) )
#define rPSD_UNDER_FLO_GAP0_L		(*(volatile unsigned *)(PSD_BASE + 0x166) )

#define rPSD_OVER_FLO_GAP0_H		(*(volatile unsigned *)(PSD_BASE + 0x168) )
#define rPSD_OVER_FLO_GAP0_L		(*(volatile unsigned *)(PSD_BASE + 0x16A) )

#define rPSD_UNDER_FLO_GAP1_H		(*(volatile unsigned *)(PSD_BASE + 0x16C) )
#define rPSD_UNDER_FLO_GAP1_L		(*(volatile unsigned *)(PSD_BASE + 0x16E) )

#define rPSD_OVER_FLO_GAP1_H		(*(volatile unsigned *)(PSD_BASE + 0x170) )
#define rPSD_OVER_FLO_GAP1_L		(*(volatile unsigned *)(PSD_BASE + 0x172) )

#define rPSD_UNDER_FLO_TOL0_H		(*(volatile unsigned *)(PSD_BASE + 0x174) )
#define rPSD_UNDER_FLO_TOL0_L		(*(volatile unsigned *)(PSD_BASE + 0x176) )

#define rPSD_UNDER_FLO_TOL1_H		(*(volatile unsigned *)(PSD_BASE + 0x178) )
#define rPSD_UNDER_FLO_TOL1_L		(*(volatile unsigned *)(PSD_BASE + 0x17A) )

#define rPSD_RING_BUFF_STAT_H		(*(volatile unsigned *)(PSD_BASE + 0x17C) )
#define rPSD_RING_BUFF_STAT_L		(*(volatile unsigned *)(PSD_BASE + 0x17E) )

/*address 甫 困茄 沥狼    */
#define PSD_CLC_H					(PSD_BASE + 0x00) 
#define PSD_CLC_L					(PSD_BASE + 0x02) 

#define PSD_ID_H					(PSD_BASE + 0x04) 
#define PSD_ID_L						(PSD_BASE + 0x06) 

#define PSD_RESET_H					(PSD_BASE + 0x08) 
#define PSD_RESET_L					(PSD_BASE + 0x0A) 


#define PSD_CONFIG0_H				(PSD_BASE + 0x0C) 
#define PSD_CONFIG0_L				(PSD_BASE + 0x0E) 

#define PSD_IRQ_H					(PSD_BASE + 0x10) 
#define PSD_IRQ_L					(PSD_BASE + 0x12) 

#define PSD_IRQ_MASK_H				(PSD_BASE + 0x14) 
#define PSD_IRQ_MASK_L				(PSD_BASE + 0x16) 

#define PSD_EXT_IRQ_H				(PSD_BASE + 0x2C) 
#define PSD_EXT_IRQ_L				(PSD_BASE + 0x2E) 

#define PSD_EXT_IRQ_MASK_H		(PSD_BASE + 0x30) 
#define PSD_EXT_IRQ_MASK_L			(PSD_BASE + 0x32) 

/* filter0 ~ 3 */
#define PSD_FILTER_MODE0_H			(PSD_BASE + 0x300) 
#define PSD_FILTER_MODE0_L 		(PSD_BASE + 0x302)

/* filter4 ~ 7 */
#define PSD_FILTER_MODE1_H 		(PSD_BASE + 0x304) 
#define PSD_FILTER_MODE1_L 		(PSD_BASE + 0x306) 

/* filter0 ~ 7 */
#define PSD_FILT_CFG0_H			(PSD_BASE + 0x308) 
#define PSD_FILT_CFG0_L				(PSD_BASE + 0x30A) 

#define PSD_FILT_CFG1_H			(PSD_BASE + 0x30C) 
#define PSD_FILT_CFG1_L				(PSD_BASE + 0x30E) 

#define PSD_FILT_CFG2_H			(PSD_BASE + 0x310) 
#define PSD_FILT_CFG2_L				(PSD_BASE + 0x312)

#define PSD_FILT_CFG3_H			(PSD_BASE + 0x314) 
#define PSD_FILT_CFG3_L				(PSD_BASE + 0x316) 

#define PSD_FILT_CFG4_H			(PSD_BASE + 0x318) 
#define PSD_FILT_CFG4_L				(PSD_BASE + 0x31A) 

#define PSD_FILT_CFG5_H			(PSD_BASE + 0x31C) 
#define PSD_FILT_CFG5_L				(PSD_BASE + 0x31E) 

#define PSD_FILT_CFG6_H			(PSD_BASE + 0x320) 
#define PSD_FILT_CFG6_L				(PSD_BASE + 0x322) 

#define PSD_FILT_CFG7_H			(PSD_BASE + 0x324) 
#define PSD_FILT_CFG7_L				(PSD_BASE + 0x326) 

/* status and control */
#define PSD_STATUS0_H				(PSD_BASE + 0x328) 
#define PSD_STATUS0_L				(PSD_BASE + 0x32A) 

#define PSD_BUFFER_ENABLE_H 		(PSD_BASE + 0x104) 
#define PSD_BUFFER_ENABLE_L 		(PSD_BASE + 0x106) 

/* Input and output buffer pointers */
#define PSD_TRACK_BUF_RD_PT_H 	(PSD_BASE + 0x108) 
#define PSD_TRACK_BUF_RD_PT_L 		(PSD_BASE + 0x10A) 

#define PSD_TRACK_BUF_STOP_H 		(PSD_BASE + 0x10C) 
#define PSD_TRACK_BUF_STOP_L 		(PSD_BASE + 0x10E) 

#define PSD_BUF_WR_PT0_H 			(PSD_BASE + 0x110) 
#define PSD_BUF_WR_PT0_L			(PSD_BASE + 0x112) 

#define PSD_BUF_STOP0_H 			(PSD_BASE + 0x114) 
#define PSD_BUF_STOP0_L 			(PSD_BASE + 0x116) 

#define PSD_BUF_WR_PT1_H 			(PSD_BASE + 0x118) 
#define PSD_BUF_WR_PT1_L 			(PSD_BASE + 0x11A) 

#define PSD_BUF_STOP1_H 			(PSD_BASE + 0x11C) 
#define PSD_BUF_STOP1_L 			(PSD_BASE + 0x11E) 
#define PSD_BUF_WR_PT2_H 			(PSD_BASE + 0x120) 
#define PSD_BUF_WR_PT2_L 			(PSD_BASE + 0x122) 

#define PSD_BUF_STOP2_H 			(PSD_BASE + 0x124) 
#define PSD_BUF_STOP2_L 			(PSD_BASE + 0x126) 

#define PSD_BUF_WR_PT3_H 			(PSD_BASE + 0x128) 
#define PSD_BUF_WR_PT3_L       		(PSD_BASE + 0x12A) 

#define PSD_BUF_STOP3_H 			(PSD_BASE + 0x12C) 
#define PSD_BUF_STOP3_L			(PSD_BASE + 0x12E) 

#define PSD_BUF_WR_PT4_H 			(PSD_BASE + 0x130) 
#define PSD_BUF_WR_PT4_L 			(PSD_BASE + 0x132) 

#define PSD_BUF_STOP4_H 			(PSD_BASE + 0x134) 
#define PSD_BUF_STOP4_L 			(PSD_BASE + 0x136) 

#define PSD_BUF_WR_PT5_H 			(PSD_BASE + 0x138) 
#define PSD_BUF_WR_PT5_L 			(PSD_BASE + 0x13A) 

#define PSD_BUF_STOP5_H 			(PSD_BASE + 0x13C) 
#define PSD_BUF_STOP5_L 			(PSD_BASE + 0x13E) 

#define PSD_BUF_WR_PT6_H 			(PSD_BASE + 0x140) 
#define PSD_BUF_WR_PT6_L 			(PSD_BASE + 0x142) 

#define PSD_BUF_STOP6_H 			(PSD_BASE + 0x144)
#define PSD_BUF_STOP6_L 			(PSD_BASE + 0x146) 

#define PSD_BUF_WR_PT7_H 			(PSD_BASE + 0x148) 
#define PSD_BUF_WR_PT7_L 			(PSD_BASE + 0x14A) 

#define PSD_BUF_STOP7_H 			(PSD_BASE + 0x14C) 
#define PSD_BUF_STOP7_L 			(PSD_BASE + 0x14E) 

#define PSD_SYS_BUF_BASE_H		(PSD_BASE + 0x100) 
#define PSD_SYS_BUF_BASE_L			(PSD_BASE + 0x102) 


/* PSD Ring Buffer */
#define PSD_UNDER_FLO_GAP0_H		(PSD_BASE + 0x164)
#define PSD_UNDER_FLO_GAP0_L		(PSD_BASE + 0x166)

#define PSD_OVER_FLO_GAP0_H		(PSD_BASE + 0x168)
#define PSD_OVER_FLO_GAP0_L		(PSD_BASE + 0x16A)

#define PSD_UNDER_FLO_GAP1_H		(PSD_BASE + 0x16C)
#define PSD_UNDER_FLO_GAP1_L		(PSD_BASE + 0x16E)

#define PSD_OVER_FLO_GAP1_H		(PSD_BASE + 0x170)
#define PSD_OVER_FLO_GAP1_L		(PSD_BASE + 0x172)

#define PSD_UNDER_FLO_TOL0_H		(PSD_BASE + 0x174)
#define PSD_UNDER_FLO_TOL0_L		(PSD_BASE + 0x176)

#define PSD_UNDER_FLO_TOL1_H		(PSD_BASE + 0x178)
#define PSD_UNDER_FLO_TOL1_L		(PSD_BASE + 0x17A)

#define PSD_RING_BUFF_STAT_H		(PSD_BASE + 0x17C)
#define PSD_RING_BUFF_STAT_L		(PSD_BASE + 0x17E)

#ifdef	__cpluscplus
}
#endif

#endif /* _PSD_REG_H_ */

⌨️ 快捷键说明

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