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

📄 stb0899_init.h

📁 DVB-S STB0899 source code
💻 H
📖 第 1 页 / 共 5 页
字号:
#ifndef STB0899_INIT_H
#define STB0899_INIT_H
	
#include "stb0899_chip.h"
#include "stb0899_common.h"

/*	ID	*/
#define RSTB0899_ID			0
#define FSTB0899_CHIP_IDENT		0
#define FSTB0899_RELEASE		1

/*	TDISCNTRL1	*/
#define RSTB0899_TDISCNTRL1		1
#define FSTB0899_TIMOFF			2
#define FSTB0899_DISEQC_RESET		3
#define FSTB0899_TIMCMD			4
#define FSTB0899_TDISCNTRL1_RESERVED	5
#define FSTB0899_DISPRECHARGE		6
#define FSTB0899_DISEQCMODE		7

/*	DISCNTRL2	*/
#define RSTB0899_DISCNTRL2		2
#define FSTB0899_RECEIVER_ON		8
#define FSTB0899_IGNO_SHORT22K		9
#define FSTB0899_ONECHIPTRX		10
#define FSTB0899_EXTENVELOP		11
#define FSTB0899_PINSELECT		12
#define FSTB0899_IRQRXEND		13
#define FSTB0899_IRQ4NBYTES		14

/*	DISRX_ST0	*/
#define RSTB0899_DISRX_ST0		3
#define FSTB0899_RXEND			15
#define FSTB0899_RXACTIVE		16
#define FSTB0899_SHORT22K		17
#define FSTB0899_CONTTONE		18
#define FSTB0899_DIS_4BFIFORDY		19
#define FSTB0899_FIFOEMPTY		20
#define FSTB0899_DISRX_ST0_RESERVED	21
#define FSTB0899_ABORTRX		22

/*	DISRX_ST1	*/
#define RSTB0899_DISRX_ST1		4
#define FSTB0899_RXFAIL			23
#define FSTB0899_FIFOPFAIL		24
#define FSTB0899_RXNONBYTE		25
#define FSTB0899_FIFOOVF		26
#define FSTB0899_FIFOBYTENBR		27

/*	DISPARITY	*/
#define RSTB0899_DISPARITY		5
#define FSTB0899_DISEQC_PARITY		28

/*	DISFIFO	*/
#define RSTB0899_DISFIFO		6
#define FSTB0899_DISEQCFIFO		29

/*	DISSTATUS	*/
#define RSTB0899_DISSTATUS		7
#define FSTB0899_TXFAIL			30
#define FSTB0899_FIFOPARITYFAIL		31
#define FSTB0899_DISS_RXNONBYTE		32
#define FSTB0899_GAPBURST		33
#define FSTB0899_TXFIFOBYTES		34

/*	DISF22	*/
#define RSTB0899_DISF22			8
#define FSTB0899_F22			35

/*	DISF22RX	*/
#define RSTB0899_DISF22RX		9
#define FSTB0899_F22RX			36

/*	SYSREG	*/
#define RSTB0899_SYSREG			10
#define FSTB0899_SYS_MODE		37
#define FSTB0899_DUPLMODE_IN		38
#define FSTB0899_DUPLIN_3CK		39
#define FSTB0899_DUPLMODE_OUT		40
#define FSTB0899_SYSREG_1		41
#define FSTB0899_RST_IQLSB_IN		42

/*	ACRPRESC	*/
#define RSTB0899_ACRPRESC		11
#define FSTB0899_ACRPRESC_RESERVED	43
#define FSTB0899_ACRPRESC		44
#define FSTB0899_ACRPRESC_RESERVED2	45
#define FSTB0899_ACRPRESC2		46

/*	ACRDIV1	*/
#define RSTB0899_ACRDIV1		12
#define FSTB0899_ACRDIV1		47

/*	ACRDIV2	*/
#define RSTB0899_ACRDIV2		13
#define FSTB0899_ACRDIV2		48

/*	DACR1	*/
#define RSTB0899_DACR1			14
#define FSTB0899_DACMODE		49
#define FSTB0899_DACHZ			50
#define FSTB0899_DAC_MSB		51

/*	DACR2	*/
#define RSTB0899_DACR2			15
#define FSTB0899_DAC_LSB		52

/*	OUTCFG	*/
#define RSTB0899_OUTCFG			16
#define FSTB0899_TSSEROUTHZ		53
#define FSTB0899_TSPOUTHZ		54
#define FSTB0899_OUTCFG_RESERVED	55

/*	MODECFG	*/
#define RSTB0899_MODECFG		17
#define FSTB0899_INV_DATA		56
#define FSTB0899_INV_DATA6		57
#define FSTB0899_MODECFG_RESERVED	58
#define FSTB0899_INV_ERROR		59
#define FSTB0899_INV_STROUT		60
#define FSTB0899_INV_DP			61

/*	IRQSTATUS3	*/
#define RSTB0899_IRQSTATUS3		18
#define FSTB0899_SIP1			62
#define FSTB0899_NSIP1			63
#define FSTB0899_SCF_SYNC		64
#define FSTB0899_NSCF_SYNC		65
#define FSTB0899_SAGC0_LOCK		66
#define FSTB0899_NSAGC0_LOCK		67
#define FSTB0899_SDISEQCTX_IRQ		68
#define FSTB0899_SDISEQCRX_IRQ		69

/*	IRQSTATUS2	*/
#define RSTB0899_IRQSTATUS2		19
#define FSTB0899_SEND_LOOPTC		70
#define FSTB0899_SOV_RSFIFO		71
#define FSTB0899_SLOCKEDBW		72
#define FSTB0899_NSLOCKEDBW		73
#define FSTB0899_SPRFBW			74
#define FSTB0899_NSPRFBW		75
#define FSTB0899_SINPUTX		76
#define FSTB0899_NSINPUTX		77

/*	IRQSTATUS1	*/
#define RSTB0899_IRQSTATUS1		20
#define FSTB0899_SEND_LOOPVIT		78
#define FSTB0899_SDMON_ELOOP		79
#define FSTB0899_SLOCKED		80
#define FSTB0899_NSLOCKED		81
#define FSTB0899_SPRF			82
#define FSTB0899_NSPRF			83
#define FSTB0899_SSMOTIF_LOCKED		84
#define FSTB0899_NSSMOTIF_LOCD		85

/*	IRQSTATUS0	*/
#define RSTB0899_IRQSTATUS0		21
#define FSTB0899_SFIFOFULL_CODIN	86
#define FSTB0899_SCOD_NEAR_EMPTY	87
#define FSTB0899_SCOD_FIFO_READY	88
#define FSTB0899_SDECIN_OVER		89
#define FSTB0899_SRSSYNC_OK		90
#define FSTB0899_SLNBTX_IRQ		91
#define FSTB0899_SSPY_ENDSIM		92
#define FSTB0899_SSPY_VALIDSI		93

/*	IRQMSK3	*/
#define RSTB0899_IRQMSK3		22
#define FSTB0899_MIP1			94
#define FSTB0899_NMIP1		 	95
#define FSTB0899_MCF_SYNC		96
#define FSTB0899_NMCF_SYNC		97
#define FSTB0899_MAGC0_LOCK		98
#define FSTB0899_NMAGC0_LOCK		99
#define FSTB0899_MDISEQCTX_IRQ		100
#define FSTB0899_MDISEQCRX_IRQ		101

/*	IRQMSK2	*/
#define RSTB0899_IRQMSK2		23
#define FSTB0899_MEND_LOOPTC		102
#define FSTB0899_MOV_RSFIFO		103
#define FSTB0899_MLOCKEDBW		104
#define FSTB0899_NMLOCKEDBW		105
#define FSTB0899_MPRFBW			106
#define FSTB0899_NMPRFBW		107
#define FSTB0899_MINPUTX		108
#define FSTB0899_NMINPUTX		109

/*	IRQMSK1	*/
#define RSTB0899_IRQMSK1		24
#define FSTB0899_MEND_LOOPVIT		110
#define FSTB0899_MDMON_ELOOP		111
#define FSTB0899_MLOCKED		112
#define FSTB0899_NMLOCKED		113
#define FSTB0899_MPRF			114
#define FSTB0899_NMPRF			115
#define FSTB0899_MSMOTIF_LOCKED		116
#define FSTB0899_NMSMOTIF_LOCD		117

/*	IRQMSK0	*/
#define RSTB0899_IRQMSK0		25
#define FSTB0899_NFIFOFULL_CODIN	118
#define FSTB0899_NCOD_NEAR_EMPTY	119
#define FSTB0899_MCOD_FIFO_READY	120
#define FSTB0899_MDECIN_OVER		121
#define FSTB0899_MRSSYNC_OK		122
#define FSTB0899_MLNBTX_IRQ		123
#define FSTB0899_MSPY_ENDSIM		124
#define FSTB0899_MSPY_VALIDSI		125

/*	IRQCFG	*/
#define RSTB0899_IRQCFG			26
#define FSTB0899_NINV_IRQ17		126
#define FSTB0899_SEL_IRQ17		127
#define FSTB0899_INV_IRQ16		128
#define FSTB0899_SEL_IRQ16		129

/*	I2CCFG	*/
#define RSTB0899_I2CCFG			27
#define FSTB0899_I2CCFG_RESERVED	130
#define FSTB0899_I2CCFG_RESERVED2	131
#define FSTB0899_I2CCFG_RESERVED3	132
#define FSTB0899_I2CCFG_RESERVED4	133
#define FSTB0899_I2CFASTMODE		134
#define FSTB0899_STATUSWR		135
#define FSTB0899_I2CADDRINC		136

/*	I2CRPT	*/
#define RSTB0899_I2CRPT			28
#define FSTB0899_I2CTON			137
#define FSTB0899_ENARPTLEVEL		138
#define FSTB0899_SCLTDELAY		139
#define FSTB0899_STOPENA		140
#define FSTB0899_STOPSDAT2SDA		141
#define FSTB0899_I2CRPT_RESERVED	142

/*	IOPVALUE8	*/
#define RSTB0899_IOPVALUE8		29
#define FSTB0899_VTIME_COHERENT		143
#define FSTB0899_IOPVALUE8_6		144
#define FSTB0899_IOPVALUE8_5		145
#define FSTB0899_VIOP37			146
#define FSTB0899_VIOP36			147
#define FSTB0899_VIOP35			148
#define FSTB0899_VIOP34			149
#define FSTB0899_VIOP33			150

/*	IOPVALUE7	*/
#define RSTB0899_IOPVALUE7		30
#define FSTB0899_VIOP32			151
#define FSTB0899_VIOP31			152
#define FSTB0899_VIOP30			153
#define FSTB0899_VIOP27			154
#define FSTB0899_VIOP26			155
#define FSTB0899_VIOP25			156
#define FSTB0899_VIOP24			157
#define FSTB0899_VIOP23			158

/*	IOPVALUE6	*/
#define RSTB0899_IOPVALUE6		31
#define FSTB0899_VIOP22			159
#define FSTB0899_VIOP21			160
#define FSTB0899_VIOP20			161
#define FSTB0899_VIOP17			162
#define FSTB0899_VIOP16			163
#define FSTB0899_VIOP15			164
#define FSTB0899_VIOP14			165
#define FSTB0899_VIOP13			166

/*	IOPVALUE5	*/
#define RSTB0899_IOPVALUE5		32
#define FSTB0899_VIOP12			167
#define FSTB0899_VIOP11			168
#define FSTB0899_VIOP10			169
#define FSTB0899_VPACKDP		170
#define FSTB0899_VDEC_DATA6		171
#define FSTB0899_VDEC_DATA5		172
#define FSTB0899_VDEC_DATA4		173
#define FSTB0899_VDEC_DATA3		174

/*	IOPVALUE4	*/
#define RSTB0899_IOPVALUE4		33
#define FSTB0899_VDEC_DATA2		175
#define FSTB0899_VDEC_DATA1		176
#define FSTB0899_VDEC_DATA0		177
#define FSTB0899_VDISEQC_IN		178
#define FSTB0899_VIP2			179
#define FSTB0899_VIP1_4			180
#define FSTB0899_VPACKSYNC_4		181
#define FSTB0899_VSDAT			182

/*	IOPVALUE3	*/
#define RSTB0899_IOPVALUE3		34
#define FSTB0899_VIOP5_3		183
#define FSTB0899_VIOP4			184
#define FSTB0899_VSCLT			185
#define FSTB0899_VAGCRF			186
#define FSTB0899_VAGCQ			187
#define FSTB0899_VAGCIQ			188
#define FSTB0899_VSDA			189
#define FSTB0899_VOP2			190

/*	IOPVALUE2	*/
#define RSTB0899_IOPVALUE2		35
#define FSTB0899_VOP1			191
#define FSTB0899_VOP0			192
#define FSTB0899_VERR_FLAG		193
#define FSTB0899_VSYNC_CLK		194
#define FSTB0899_VPACK_CLK		195
#define FSTB0899_VDEC_DATA7		196
#define FSTB0899_IOP4			197
#define FSTB0899_BYTE_CLK		198

/*	IOPVALUE1	*/
#define RSTB0899_IOPVALUE1		36
#define FSTB0899_VDISEQC		199
#define FSTB0899_VSCL			200
#define FSTB0899_VAUX_CK		201
#define FSTB0899_VDAC			202
#define FSTB0899_VIP1_1			203
#define FSTB0899_VIOP5_1		204
#define FSTB0899_VATT			205
#define FSTB0899_VT7_CS0		206

/*	IOPVALUE0	*/
#define RSTB0899_IOPVALUE0		37
#define FSTB0899_VT12_CS1		207
#define FSTB0899_VT6_DIRCLK		208
#define FSTB0899_VENAFIFOI		209
#define FSTB0899_VPACKSYNC_0		210
#define FSTB0899_VDATACK		211
#define FSTB0899_VDATA7			212
#define FSTB0899_VT1_STDBY		213
#define FSTB0899_VIP0			214

/*	GPIO0CFG	*/
#define RSTB0899_GPIO0CFG		38
#define FSTB0899_GPIO0_OPDRAIN		215
#define FSTB0899_GPIO0_CONFIG		216
#define FSTB0899_GPIO0_XOR		217

/*	GPIO1CFG	*/
#define RSTB0899_GPIO1CFG		39
#define FSTB0899_GPIO1_OPDRAIN		218
#define FSTB0899_GPIO1_CONFIG		219
#define FSTB0899_GPIO1_XOR		220

/*	GPIO2CFG	*/
#define RSTB0899_GPIO2CFG		40
#define FSTB0899_GPIO2_OPDRAIN		221
#define FSTB0899_GPIO2_CONFIG		222
#define FSTB0899_GPIO2_XOR		223

/*	GPIO3CFG	*/
#define RSTB0899_GPIO3CFG		41
#define FSTB0899_GPIO3_OPDRAIN		224
#define FSTB0899_GPIO3_CONFIG		225
#define FSTB0899_GPIO3_XOR		226

/*	GPIO4CFG	*/
#define RSTB0899_GPIO4CFG		42
#define FSTB0899_GPIO4_OPDRAIN		227
#define FSTB0899_GPIO4_CONFIG		228
#define FSTB0899_GPIO4_XOR		229

/*	GPIO5CFG	*/
#define RSTB0899_GPIO5CFG		43
#define FSTB0899_GPIO5_OPDRAIN		230
#define FSTB0899_GPIO5_CONFIG		231
#define FSTB0899_GPIO5_XOR		232

/*	GPIO6CFG	*/
#define RSTB0899_GPIO6CFG		44
#define FSTB0899_GPIO6_OPDRAIN		233
#define FSTB0899_GPIO6_CONFIG		234
#define FSTB0899_GPIO6_XOR		235

/*	GPIO7CFG	*/
#define RSTB0899_GPIO7CFG		45
#define FSTB0899_GPIO7_OPDRAIN		236
#define FSTB0899_GPIO7_CONFIG		237
#define FSTB0899_GPIO7_XOR		238

/*	GPIO8CFG	*/
#define RSTB0899_GPIO8CFG		46
#define FSTB0899_GPIO8_OPDRAIN		239
#define FSTB0899_GPIO8_CONFIG		240
#define FSTB0899_GPIO8_XOR		241

/*	GPIO9CFG	*/
#define RSTB0899_GPIO9CFG		47
#define FSTB0899_GPIO9_OPDRAIN		242
#define FSTB0899_GPIO9_CONFIG		243
#define FSTB0899_GPIO9_XOR		244

/*	GPIO10CFG	*/
#define RSTB0899_GPIO10CFG		48
#define FSTB0899_GPIO10_OPDRAIN		245
#define FSTB0899_GPIO10_CONFIG		246
#define FSTB0899_GPIO10_XOR		247

/*	GPIO11CFG	*/
#define RSTB0899_GPIO11CFG		49
#define FSTB0899_GPIO11_OPDRAIN		248
#define FSTB0899_GPIO11_CONFIG		249
#define FSTB0899_GPIO11_XOR		250

/*	GPIO12CFG	*/
#define RSTB0899_GPIO12CFG		50
#define FSTB0899_GPIO12_OPDRAIN		251
#define FSTB0899_GPIO12_CONFIG		252
#define FSTB0899_GPIO12_XOR		253

/*	GPIO13CFG	*/
#define RSTB0899_GPIO13CFG		51
#define FSTB0899_GPIO13_OPDRAIN		254
#define FSTB0899_GPIO13_CONFIG		255
#define FSTB0899_GPIO13_XOR		256

/*	GPIO14CFG	*/
#define RSTB0899_GPIO14CFG		52
#define FSTB0899_GPIO14_OPDRAIN		257
#define FSTB0899_GPIO14_CONFIG		258
#define FSTB0899_GPIO14_XOR		259

/*	GPIO15CFG	*/
#define RSTB0899_GPIO15CFG		53
#define FSTB0899_GPIO15_OPDRAIN		260
#define FSTB0899_GPIO15_CONFIG		261
#define FSTB0899_GPIO15_XOR		262

/*	GPIO16CFG	*/
#define RSTB0899_GPIO16CFG		54
#define FSTB0899_GPIO16_OPDRAIN		263
#define FSTB0899_GPIO16_CONFIG		264
#define FSTB0899_GPIO16_XOR		265

/*	GPIO17CFG	*/
#define RSTB0899_GPIO17CFG		55
#define FSTB0899_GPIO17_OPDRAIN		266
#define FSTB0899_GPIO17_CONFIG		267
#define FSTB0899_GPIO17_XOR		268

/*	GPIO18CFG	*/
#define RSTB0899_GPIO18CFG		56
#define FSTB0899_GPIO18_OPDRAIN		269
#define FSTB0899_GPIO18_CONFIG		270
#define FSTB0899_GPIO18_XOR		271

/*	GPIO19CFG	*/
#define RSTB0899_GPIO19CFG		57
#define FSTB0899_GPIO19_OPDRAIN		272
#define FSTB0899_GPIO19_CONFIG		273
#define FSTB0899_GPIO19_XOR		274

/*	GPIO20CFG	*/
#define RSTB0899_GPIO20CFG		58
#define FSTB0899_GPIO20_OPDRAIN		275
#define FSTB0899_GPIO20_CONFIG		276
#define FSTB0899_GPIO20_XOR		277

/*	SDATCFG	*/
#define RSTB0899_SDATCFG		59
#define FSTB0899_SDAT_OPDRAIN		278
#define FSTB0899_SDAT_CONFIG		279
#define FSTB0899_SDAT_XOR		280

/*	SCLTCFG	*/
#define RSTB0899_SCLTCFG		60
#define FSTB0899_SCLT_OPDRAIN		281
#define FSTB0899_SCLT_CONFIG		282
#define FSTB0899_SCLT_XOR		283

/*	AGCRFCFG	*/
#define RSTB0899_AGCRFCFG		61
#define FSTB0899_AGCRF_OPDRAIN		284
#define FSTB0899_AGCRF_CONFIG		285
#define FSTB0899_AGCRF_XOR		286

/*	AGCBB2CFG	*/
#define RSTB0899_AGCBB2CFG		62
#define FSTB0899_AGCBB2_OPDRAIN		287
#define FSTB0899_AGCBB2_CONFIG		288
#define FSTB0899_AGCBB2_XOR		289

/*	AGCBB1CFG	*/
#define RSTB0899_AGCBB1CFG		63
#define FSTB0899_AGCBB1_OPDRAIN		290
#define FSTB0899_AGCBB1_CONFIG		291
#define FSTB0899_AGCBB1_XOR		292

/*	DIRCLKCFG	*/
#define RSTB0899_DIRCLKCFG		64
#define FSTB0899_DIRCLK_OPDRAIN		293
#define FSTB0899_DIRCLK_CONFIG		294
#define FSTB0899_DIRCLK_XOR		295

/*	CKOUT27CFG	*/
#define RSTB0899_CKOUT27CFG		65
#define FSTB0899_CKOUT27_OPDRAIN	296
#define FSTB0899_CKOUT27_CONFIG		297
#define FSTB0899_CKOUT27_XOR		298

/*	STDBYCFG	*/
#define RSTB0899_STDBYCFG		66
#define FSTB0899_STDBY_OPDRAIN		299
#define FSTB0899_STDBY_CONFIG		300
#define FSTB0899_STDBY_XOR		301

/*	CS0CFG	*/
#define RSTB0899_CS0CFG			67
#define FSTB0899_CS0_OPDRAIN		302
#define FSTB0899_CS0_CONFIG		303
#define FSTB0899_CS0_XOR		304

⌨️ 快捷键说明

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