AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
ntv2registersmb.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifndef REGISTERS_MB_H
9
#define REGISTERS_MB_H
10
11
#define SAREK_MAX_CHANS 4
12
#define SAREK_MAX_PORTS 2
13
14
#define SAREK_IF_VERSION 4 // update this if mb protocol is changed (here and in mb)
15
16
#define RX_MATCH_2022_VLAN BIT(0)
17
#define RX_MATCH_2022_SOURCE_IP BIT(1)
18
#define RX_MATCH_2022_DEST_IP BIT(2)
19
#define RX_MATCH_2022_SOURCE_PORT BIT(3)
20
#define RX_MATCH_2022_DEST_PORT BIT(4)
21
#define RX_MATCH_2022_SSRC BIT(5)
22
23
#define RX_MATCH_2110_VLAN BIT(0)
24
#define RX_MATCH_2110_SOURCE_IP BIT(1)
25
#define RX_MATCH_2110_DEST_IP BIT(2)
26
#define RX_MATCH_2110_SOURCE_PORT BIT(3)
27
#define RX_MATCH_2110_DEST_PORT BIT(4)
28
#define RX_MATCH_2110_PAYLOAD BIT(5)
29
#define RX_MATCH_2110_SSRC BIT(6)
30
31
#define VOIP_SEMAPHORE_SET 0x2
32
#define VOIP_SEMAPHORE_CLEAR 0xFFFFFFFD
33
#define VOIP_PRIMARY_ENABLE 0x7FFFFFFF
34
#define VOIP_SECONDARY_ENABLE 0x80000000
35
36
#define PLL_MATCH_SOURCE_IP BIT(0)
37
#define PLL_MATCH_DEST_IP BIT(1)
38
#define PLL_MATCH_SOURCE_PORT BIT(2)
39
#define PLL_MATCH_DEST_PORT BIT(3)
40
#define PLL_MATCH_ES_PID BIT(4)
41
42
#define PLL_CONFIG_PCR BIT(0)
43
#define PLL_CONFIG_PTP BIT(1)
44
#define PLL_CONFIG_RESET BIT(20)
45
#define PLL_CONFIG_DCO_MODE BIT(28)
46
47
49
//
50
// General memory map definitions
51
//
53
54
#define SAREK_REGS (0x100000/4) // Base address of Sarek General Regs (expressed as regNum)
55
#define SAREK_GENLOCK_SPI (0x101000/4)
56
#define SAREK_MAILBOX (0x107000/4)
57
#define SAREK_PLL (0x108000/4)
58
#define SAREK_REGS2 (0x10e000/4)
59
#define SAREK_10G_EMAC_0 (0x180000/4)
60
#define SAREK_10G_EMAC_1 (0x1a0000/4)
61
#define SAREK_CSREGS (0x080000/4)
62
#define SAREK_ENET_FILTER (0x109000/4)
63
#define SAREK_AXIS_FILTER_0 (0x109000/4)
64
#define SAREK_AXIS_FILTER_1 (0x10a000/4)
65
66
68
//
69
// 2022 Sarek General Registers (expressed as regNum)
70
//
72
73
#define kRegSarekControl 0
74
#define kRegSarekPma 1
75
#define kRegSarekSpiSelect 2
76
#define kRegSarekRxReset 3
77
#define kRegSarekMBUptime 4
78
#define kRegSarekMBState 5
79
#define kRegSarekMBBuildNum 6
80
#define kRegSarekSerialLow 7
81
#define kRegSarekSerialHi 8
82
#define kRegSarekIGMPVersion 9
83
#define kRegSarekMiscState 10
84
#define kRegSarekPackageVersion 11
85
#define kRegSarekIfVersion 12
86
#define kRegSarekLinkStatus 13
87
#define kRegSarekServices 14
88
#define kRegSarekSampling 15
89
#define kRegSarekMAC 16
90
#define kRegSarekMAC1 17
91
#define kRegSarekMAC2 18
92
#define kRegSarekMAC3 19
93
#define kRegSarekIP0 20
94
#define kRegSarekIP1 21
95
#define kRegSarekNET0 22
96
#define kRegSarekNET1 23
97
#define kRegSarekGATE0 24
98
#define kRegSarekGATE1 25
99
#define kRegSarekLinkModes 26
100
#define kRegSarekRxMatchesA 27
101
#define kRegSarekRxMatchesB 28
102
#define kRegSarekTxFmts 29
103
#define kSarekRegIGMPDisable 30
104
#define kSarekRegIGMPDisable2 31
105
#define kRegSarekFwCfg 32
106
#define kRegSarekDDRStatus 33
107
#define kRegSarekXrefStatus 34
108
#define kRegSarekSFPStatus 35
109
#define kRegSarekDNALow 36
110
#define kRegSarekDNAHi 37
111
#define kRegSarekLicenseStatus 38
112
#define kRegSarekunused39 39
113
#define kRegSarekRx1Drops 40
114
#define kRegSarekRx2Drops 41
115
#define kRegSarekRx3Drops 42
116
#define kRegSarekRx4Drops 43
117
#define kRegSarekTReady 44
118
119
// second block
120
#define TS_BLOCK_BASE 0
121
#define IGMP_BLOCK_BASE 100
122
#define ENCODER_BLOCK_BASE 200
123
#define S2110_BLOCK_BASE 300
124
125
#define kRegSarekMBSeqNum 0
126
#define kRegSarekActProgramNum 1
127
#define kRegSarekActProgramPID 2
128
#define kRegSarekActVideoPID 3
129
#define kRegSarekActAudioPID 4
130
#define kRegSraekActPCRPID 5
131
#define kRegSarekAudioNumChans 6
132
#define kRegSarekAudioBitDepth 7
133
#define kRegSarekVideoBitrate 8
134
#define kRegSarekAudioBitrate 9
135
136
#define kRegSarekHostSeqNum 12 // set by host
137
#define kRegSarekModeSelect 13 // set by host
138
#define kRegSarekProgNumSelect 14 // set by host
139
#define kRegSarekProgPIDSelect 15 // set by host
140
#define kRegSarekAudioNumSelect 16 // set by host
141
142
#define kRegSarekNumPGMs 20
143
#define kRegSarekNumAudios 21
144
145
#define kRegSarekPGMNums 24
146
#define kRegSarekPGMPIDs 40
147
#define kRegSarekAudioPIDs 56
148
149
#define kRegSarekBlk2Unused 72
150
#define kRegSarek2022_7enb 80
151
152
// Encoder block regs
153
#define kRegSarekEncodeVideoFormat1 (ENCODER_BLOCK_BASE+0)
154
#define kRegSarekEncodeUllMode1 (ENCODER_BLOCK_BASE+1)
155
#define kRegSarekEncodeBitDepth1 (ENCODER_BLOCK_BASE+2)
156
#define kRegSarekEncodeChromaSubSamp1 (ENCODER_BLOCK_BASE+3)
157
#define kRegSarekEncodeMbps1 (ENCODER_BLOCK_BASE+4)
158
#define kRegSarekEncodeStreamType1 (ENCODER_BLOCK_BASE+5)
159
#define kRegSarekEncodeAudioChannels1 (ENCODER_BLOCK_BASE+6)
160
#define kRegSarekEncodeProgramPid1 (ENCODER_BLOCK_BASE+7)
161
#define kRegSarekEncodeVideoPid1 (ENCODER_BLOCK_BASE+8)
162
#define kRegSarekEncodePcrPid1 (ENCODER_BLOCK_BASE+9)
163
#define kRegSarekEncodeAudio1Pid1 (ENCODER_BLOCK_BASE+10)
164
165
#define kRegSarekEncodeVideoFormat2 (ENCODER_BLOCK_BASE+11)
166
#define kRegSarekEncodeUllMode2 (ENCODER_BLOCK_BASE+12)
167
#define kRegSarekEncodeBitDepth2 (ENCODER_BLOCK_BASE+13)
168
#define kRegSarekEncodeChromaSubSamp2 (ENCODER_BLOCK_BASE+14)
169
#define kRegSarekEncodeMbps2 (ENCODER_BLOCK_BASE+15)
170
#define kRegSarekEncodeStreamType2 (ENCODER_BLOCK_BASE+16)
171
#define kRegSarekEncodeAudioChannels2 (ENCODER_BLOCK_BASE+17)
172
#define kRegSarekEncodeProgramPid2 (ENCODER_BLOCK_BASE+18)
173
#define kRegSarekEncodeVideoPid2 (ENCODER_BLOCK_BASE+19)
174
#define kRegSarekEncodePcrPid2 (ENCODER_BLOCK_BASE+20)
175
#define kRegSarekEncodeAudio1Pid2 (ENCODER_BLOCK_BASE+21)
176
178
//
179
// 2022 Sarek General Registers Bit Definitions
180
//
182
183
#define RESET_MB BIT(0)
184
#define VIRTUAL_UART BIT(4)
185
#define DECODER_1_RESET BIT(11)
186
#define ENCODER_1_ENABLE BIT(16)
187
#define ENCODER_1_MD_ENABLE BIT(17)
188
#define ENCODER_1_SF_ENABLE BIT(18)
189
#define DECODER_1_NON_ELSM BIT(19)
190
#define ENCODER_1_CFG_NUM (BIT(20) + BIT(21) + BIT(22))
191
#define ENCODER_1_RESET BIT(23)
192
#define ENCODER_2_ENABLE BIT(24)
193
#define ENCODER_2_MD_ENABLE BIT(25)
194
#define ENCODER_2_SF_ENABLE BIT(26)
195
#define ENCODER_2_CFG_NUM (BIT(28) + BIT(29() + BIT(30))
196
#define ENCODER_2_RESET BIT(31)
197
198
#define SAREK_2022_6 BIT(0)
199
#define SAREK_2022_2 BIT(1)
200
#define SAREK_MB_PRESENT BIT(2)
201
#define SAREK_IP_LIVE BIT(3)
202
#define SAREK_2022_7 BIT(4)
203
#define SAREK_PTP_PLL BIT(5)
204
#define SAREK_TX_TOP34 BIT(6)
205
#define SAREK_2110 BIT(7)
206
#define SAREK_CS BIT(8)
207
208
#define SAREK_TX0_MASK (BIT(31) + BIT(30) + BIT(29) + BIT(28))
209
#define SAREK_RX0_MASK (BIT(27) + BIT(26) + BIT(25) + BIT(24))
210
#define SAREK_TX1_MASK (BIT(23) + BIT(22) + BIT(21) + BIT(20))
211
#define SAREK_RX1_MASK (BIT(19) + BIT(18) + BIT(17) + BIT(16))
212
213
214
#define SAREK_ReferenceFrameRate (BIT(3) + BIT(2) + BIT(1) + BIT(0))
215
#define SAREK_ReferenceFrameLines (BIT(6) + BIT(5) + BIT(4))
216
#define SAREK_ReferenceProgessive BIT(7)
217
#define SAREK_ReferenceSelected (BIT(11) + BIT(10) + BIT(9) + BIT(8))
218
#define SAREK_GenlockLocked BIT(12)
219
#define SAREK_Fractional_1 BIT(16)
220
#define SAREK_Fractional_2 BIT(17)
221
#define SAREK_Fractional_3 BIT(18)
222
#define SAREK_Fractional_4 BIT(19)
223
224
#define SAREK_LICENSE_PRESENT BIT(31)
225
#define SAREK_LICENSE_VALID BIT(30)
226
#define SAREK_LICENSE_J2K BIT(1)
227
228
#define PLL_PCR BIT(0)
229
#define PLL_PTP BIT(1)
230
#define PLL_UNICAST_DELREQ BIT(5)
231
#define PLL_PCR_RESET BIT(16)
232
#define PLL_PTP_RESET BIT(20)
233
#define PLL_Si5345_DCO_MODE BIT(28)
234
235
#define SFP_1_NOT_PRESENT BIT(0)
236
#define SFP_1_TX_FAULT BIT(1)
237
#define SFP_1_RX_LOS BIT(2)
238
#define SFP_2_NOT_PRESENT BIT(16)
239
#define SFP_2_TX_FAULT BIT(17)
240
#define SFP_2_RX_LOS BIT(18)
241
242
#define LINK_A_UP BIT(0)
243
#define LINK_B_UP BIT(1)
244
245
247
//
248
// 10G Registers
249
//
251
252
#define kReg10gemac_rx_bytes_lo 128 // 0x0200
253
#define kReg10gemac_rx_bytes_hi 129 // 0x0204
254
#define kReg10gemac_tx_bytes_lo 130 // 0x0208
255
#define kReg10gemac_tx_bytes_hi 131 // 0x020C
256
257
#define kReg10gemac_rx_frames_under_lo 132 // 0x0210
258
#define kReg10gemac_rx_frames_under_hi 133 // 0x0214
259
#define kReg10gemac_rx_frames_frag_lo 134 // 0x0218
260
#define kReg10gemac_rx_frames_frag_hi 135 // 0x021C
261
262
#define kReg10gemac_rx_frames_64_lo 136 // 0x0220
263
#define kReg10gemac_rx_frames_64_hi 137 // 0x0224
264
#define kReg10gemac_rx_frames_65_127_lo 138 // 0x0228
265
#define kReg10gemac_rx_frames_65_127_hi 139 // 0x022C
266
#define kReg10gemac_rx_frames_128_255_lo 140 // 0x0230
267
#define kReg10gemac_rx_frames_128_255_hi 141 // 0x0234
268
#define kReg10gemac_rx_frames_256_511_l0 142 // 0x0238
269
#define kReg10gemac_rx_frames_256_511_hi 143 // 0x023c
270
#define kReg10gemac_rx_frames_512_1023_lo 144 // 0x0240
271
#define kReg10gemac_rx_frames_512_1023_hi 145 // 0x0244
272
#define kReg10gemac_rx_frames_1024_max_lo 146 // 0x0248
273
#define kReg10gemac_rx_frames_1024_max_hi 147 // 0x024c
274
#define kReg10gemac_rx_frames_oversize_lo 148 // 0x0250
275
#define kReg10gemac_rx_frames_oversize_hi 149 // 0x0254
276
277
#define kReg10gemac_tx_frames_64_lo 150 // 0x0258
278
#define kReg10gemac_tx_frames_64_hi 151 // 0x025c
279
#define kReg10gemac_tx_frames_65_127_lo 152 // 0x0260
280
#define kReg10gemac_tx_frames_65_127_hi 153 // 0x0264
281
#define kReg10gemac_tx_frames_128_255_lo 154 // 0x0268
282
#define kReg10gemac_tx_frames_128_255_hi 155 // 0x026c
283
#define kReg10gemac_tx_frames_256_511_l0 156 // 0x0270
284
#define kReg10gemac_tx_frames_256_511_hi 157 // 0x0274
285
#define kReg10gemac_tx_frames_512_1023_lo 158 // 0x0278
286
#define kReg10gemac_tx_frames_512_1023_hi 159 // 0x027c
287
#define kReg10gemac_tx_frames_1024_max_lo 160 // 0x0280
288
#define kReg10gemac_tx_frames_1024_max_hi 161 // 0x0284
289
#define kReg10gemac_tx_frames_oversize_lo 162 // 0x0288
290
#define kReg10gemac_tx_frames_oversize_hi 163 // 0x028c
291
292
#define kReg10gemac_rx_frames_ok_lo 164 // 0x0290
293
#define kReg10gemac_rx_frames_ok_hi 165 // 0x0294
294
295
#define kReg10gemac_rx_crc_err_lo 166 // 0x0298
296
#define kReg10gemac_rx_crc_err_hi 167 // 0x029c
297
#define kReg10gemac_rx_frames_bdcast_lo 168 // 0x02a0
298
#define kReg10gemac_rx_frames_bdcast_hi 169 // 0x02a4
299
300
#define kReg10gemac_rx_frames_mcast_lo 170 // 0x02a8
301
#define kReg10gemac_rx_frames_macst_hi 171 // 0x02ac
302
#define kReg10gemac_rx_frames_ctrl_lo 172 // 0x02b0
303
#define kReg10gemac_rx_frames_ctrt_hi 173 // 0x02b4
304
#define kReg10gemac_rx_frames_len_err_lo 174 // 0x02b8
305
#define kReg10gemac_rx_frames_len_err_hi 175 // 0x02bc
306
#define kReg10gemac_rx_frames_vlan_lo 176 // 0x02c0
307
#define kReg10gemac_rx_frames_vlan_hi 177 // 0x02c4
308
#define kReg10gemac_rx_frames_pause_lo 178 // 0x02c8
309
#define kReg10gemac_rx_frames_pause_hi 179 // 0x02cc
310
#define kReg10gemac_rx_frames_op_lo 180 // 0x02d0
311
#define kReg10gemac_rx_frames_op_hi 181 // 0x02d4
312
313
#define kReg10gemac_tx_frames_ok_lo 182 // 0x02d8
314
#define kReg10gemac_tx_frames_ok_hi 183 // 0x02dc
315
#define kReg10gemac_tx_frames_bdcast_lo 184 // 0x02e0
316
#define kReg10gemac_tx_frames_bdcast_hi 185 // 0x02e4
317
#define kReg10gemac_tx_frames_mcast_lo 186 // 0x02e8
318
#define kReg10gemac_tx_frames_mcast_hi 187 // 0x02ec
319
#define kReg10gemac_tx_frames_underrun_lo 188 // 0x02f0
320
#define kReg10gemac_tx_frames_underrun_hi 189 // 0x02f4
321
#define kReg10gemac_tx_frames_ctrl_lo 190 // 0x02f8
322
#define kReg10gemac_tx_frames_ctrt_hi 191 // 0x02fc
323
#define kReg10gemac_tx_frames_vlan_lo 192 // 0x0300
324
#define kReg10gemac_tx_frames_vlan_hi 193 // 0x0304
325
#define kReg10gemac_tx_frames_pause_lo 194 // 0x0308
326
#define kReg10gemac_tx_frames_pause_hi 195 // 0x030c
327
328
#define kReg10gemac_tx_frames_pri_lo 196 // 0x0310
329
#define kReg10gemac_tx_frames_pri_hi 197 // 0x0314
330
#define kReg10gemac_rx_frames_pri_lo 198 // 0x0318
331
#define kReg10gemac_rx_frames_pri_hi 199 // 0x031c
332
333
#define kReg10gemac_rx_cfg_0 256 // 0x0400
334
#define kReg10gemac_rx_cfg_1 257 // 0x0404
335
#define kReg10gemac_tx_cfg 258 // 0x0408
336
#define kReg10gemac_flow_cfg 259 // 0x040c
337
#define kReg10gemac_reconcil_cfg 260 // 0x0410
338
#define kReg10gemac_rx_mtu_cfg 261 // 0x0414
339
#define kReg10gemac_tx_mtu_cfg 262 // 0x0418
340
341
#define kReg10gemac_pri_0_quanta 288 // 0x0480
342
#define kReg10gemac_pri_1_quanta 289 // 0x0484
343
#define kReg10gemac_pri_2_quanta 290 // 0x0488
344
#define kReg10gemac_pri_3_quanta 291 // 0x048c
345
#define kReg10gemac_pri_4_quanta 292 // 0x0490
346
#define kReg10gemac_pri_5_quanta 293 // 0x0494
347
#define kReg10gemac_pri_6_quanta 294 // 0x0498
348
#define kReg10gemac_pri_7_quanta 295 // 0x049c
349
#define kReg10gemac_legacy_pause 296 // 0x04a0
350
351
#define kReg10gemac_version 318 // 0x04f8
352
#define kReg10gemac_capability 319 // 0x04fc
353
355
//
356
// Genlock SPI Registers
357
//
359
360
#define GENL_SPI_RESET 16 // 0x40
361
#define GENL_SPI_CONTROL 24 // 0x60
362
#define GENL_SPI_STATUS 25 // 0x64
363
#define GENL_SPI_WRITE 26 // 0x68
364
#define GENL_SPI_READ 27 // 0x6C
365
#define GENL_SPI_SLAVE_SELECT 28 // 0x70
366
367
#define GENL_SPI_SET_ADDR_CMD 0 // 0x00
368
#define GENL_SPI_WRITE_CMD 16 // 0x40
369
#define GENL_SPI_READ_CMD 32 // 0x80
370
371
373
//
374
// PLL Registers
375
//
377
378
#define kRegPll_Config 0 // 0x0000
379
#define kRegPll_PDF_Binthresh 1 // 0x0004
380
#define kRegPll_PDF_Binaddr 2 // 0x0008
381
#define kRegPll_PDF_Bindata 3 // 0x000c
382
#define kRegPll_Gain 4 // 0x0010
383
#define kRegPll_SrcIp 5 // 0x0014
384
#define kRegPll_SrcPort 6 // 0x0018
385
#define kRegPll_DstIp 7 // 0x001c
386
#define kRegPll_DstPort 8 // 0x0020
387
#define kRegPll_Es_Pid 9 // 0x0024
388
#define kRegPll_Match 10 // 0x0028
389
#define kRegPll_DecVidStd 11 // 0x002c
390
#define kRegPll_Bias 12 // 0x0030
391
#define kRegPll_Status 13 // 0x0034
392
#define kRegPll_PhaseError 14 // 0x0038
393
#define kRegPll_Correction 15 // 0x003c
394
395
#define kRegPll_PTP_PDF_Binthresh 0x10
396
#define kRegPll_PTP_PDF_Binaddr 0x11
397
#define kRegPll_PTP_PDF_Bindata 0x12
398
#define kRegPll_PTP_Gain 0x13
399
#define kRegPll_PTP_LclMacLo 0x14
400
#define kRegPll_PTP_LclMacHi 0x15
401
#define kRegPll_PTP_LclIP 0x16
402
#define kRegPll_PTP_LclUdp 0x17
403
#define kRegPll_PTP_MstrIP 0x18
404
#define kRegPll_PTP_MstrMcast 0x19
405
#define kRegPll_PTP_EventUdp 0x1a
406
#define kRegPll_PTP_GenUdp 0x1b
407
#define kRegPll_PTP_Match 0x1c
408
#define kRegPll_PTP_LclClkIdLo 0x1d
409
#define kRegPll_PTP_LclClkIdHi 0x1e
410
#define kRegPll_PTP_PhaseError 0x1f
411
#define kRegPll_PTP_Correction 0x20
412
#define kRegPll_PTP_FPptpSecHi 0x21
413
#define kRegPll_PTP_FPptpSecLo 0x22
414
#define kRegPll_PTP_FPptpNSec 0x23
415
#define kRegPll_PTP_CurPtpSecHi 0x24
416
#define kRegPll_PTP_CurPtpSecLo 0x25
417
#define kRegPll_PTP_CurPtpNSec 0x26
418
#define kRegPll_90KHzRTP_TS 0x27
419
#define kRegPll_48KHzRTP_TS 0x28
420
#define kRegPll_Intr_Reg 0x29
421
#define kRegPll_ptp_dst_mac_addr_hi 0x2a
422
#define kRegPll_ptp_dst_mac_addr_lo 0x2b
423
#define kRegPll_ptp_dst_ipv4_addr 0x2c
424
#define kRegPll_ptp_delay_req_sent_cnt 0x2c
425
#define kRegPll_ptp_sync_cnt 0x2d
426
#define kRegPll_ptp_follow_up_cnt 0x2e
427
#define kRegPll_ptp_delay_req_cnt 0x2f
428
#define kRegPll_ptp_delay_resp_cnt 0x30
429
#define kRegPll_ptp_announce_cnt 0x31
430
431
// additional registers used for SWPTP
432
#define kRegPll_swptp_SetSecsHi 0x32 // R/W
433
#define kRegPll_swptp_SetSecsLo 0x33 // R/W
434
#define kRegPll_swptp_SetNanoSecs 0x34 // R/W
435
#define kRegPll_swptp_JamNow 0x35 // R/W
436
#define kRegPll_swptp_Jam90KHzRTP_TS 0x36 // R/W
437
#define kRegPll_swptp_Jam48KHzRTP_TS 0x37 // R/W
438
#define kRegPll_swptp_VblankRiseSecHi 0x38 // R
439
#define kRegPll_swptp_VblankRiseSecLo 0x39 // R
440
#define kRegPll_swptp_VblankRiseNanoSec 0x3a // R
441
#define kRegPll_swptp_ClockDate 0x3e // R
442
#define kRegPll_swptp_ClockVersion 0x3f // R
443
444
// redefinition of registers used for SWPTP
445
#define kRegPll_swptp_Domain 0x04 // R/W
446
#define kRegPll_swptp_PreferredGmIdHi 0x05 // R/W
447
#define kRegPll_swptp_PreferredGmIdLo 0x06 // R/W
448
#define kRegPll_swptp_GrandMasterIdHi 0x07 // R
449
#define kRegPll_swptp_GrandMasterIdLo 0x08 // R
450
#define kRegPll_swptp_MasterIdHi 0x09 // R
451
#define kRegPll_swptp_MasterIdLo 0x0A // R
452
#define kRegPll_swptp_LockedState 0x0B // R
453
#define kRegPll_swptp_MasterOffset 0x0C // R
454
456
//
457
// AXI Lite Control Registers
458
//
460
461
#define kRegAXI_Lite_Cntrl_Es_Pid 0
462
#define kRegAXI_Lite_Cntrl_Gain 1
463
#define kRegAXI_Lite_Cntrl_Bias 2
464
#define kRegAXI_Lite_Cntrl_BinThresh 3
465
#define kRegAXI_Lite_Cntrl_SrcIP 4
466
#define kRegAXI_Lite_Cntrl_DstIP 5
467
#define kRegAXI_Lite_Cntrl_Port 6
468
#define kRegAXI_Lite_Cntrl_Match 7
469
#define kRegAXI_Lite_Cntrl_Pll_Reset 8
470
#define kRegAXI_Lite_Cntrl_Pll_Status 32
471
473
//
474
// Cochrane CS Registers
475
//
477
478
#define kRegCS_ps_gen_ctl 0
479
#define kRegCS_hdmi_fmt 1
480
#define kRegCS_hdmi_ctl 2
481
#define kRegCS_top_gen_ctl 3
482
#define kRegCS_sdi_fmt 4
483
#define kRegCS_sdi_ctl 5
484
#define kRegCS_sdi_vpid_a 6
485
#define kRegCS_sdi_vpid_b 7
486
#define kRegCS_audio_ctl 8
487
#define kRegCS_fec_ctl 9
488
#define kRegCS_firmware_id 32
489
#define kRegCS_revisions 33
490
#define kRegCS_compile_date 34
491
#define kRegCS_compile_time 35
492
#define kRegCS_audio_auto_delay 36
493
#define kRegCS_audio_status 0x25
494
#define kRegCS_audio_offset_ptp 0x26
495
#define kRegCS_video_offset_ptp 0x27
496
#define kRegCS_video_post_ptp 0x28
497
#define kRegCS_av_diff_48khz 0x29
498
#define kRegCS_vfifo_av_diff_48khz 0x2a
499
#define kRegCS_vfifo_level 0x2b
500
#define kRegCS_sfp_status 0x2c
501
502
#endif // REGISTERS_MB_H
libajantv2
ajantv2
includes
ntv2registersmb.h
Generated on Tue Dec 3 2024 10:26:00 for AJA NTV2 SDK by
1.8.17