dib3000mc_priv.h 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. /*
  2. * dib3000mc_priv.h
  3. *
  4. * Copyright (C) 2004 Patrick Boettcher (patrick.boettcher@desy.de)
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License as
  8. * published by the Free Software Foundation, version 2.
  9. *
  10. * for more information see dib3000mc.c .
  11. */
  12. #ifndef __DIB3000MC_PRIV_H__
  13. #define __DIB3000MC_PRIV_H__
  14. /*
  15. * Demodulator parameters
  16. * reg: 0 1 1 1 11 11 111
  17. * | | | | | |
  18. * | | | | | +-- alpha (000=0, 001=1, 010=2, 100=4)
  19. * | | | | +----- constellation (00=QPSK, 01=16QAM, 10=64QAM)
  20. * | | | +-------- guard (00=1/32, 01=1/16, 10=1/8, 11=1/4)
  21. * | | +----------- transmission mode (0=2k, 1=8k)
  22. * | |
  23. * | +-------------- restart autosearch for parameters
  24. * +---------------- restart the demodulator
  25. * reg: 181 1 111 1
  26. * | | |
  27. * | | +- FEC applies for HP or LP (0=LP, 1=HP)
  28. * | +---- FEC rate (001=1/2, 010=2/3, 011=3/4, 101=5/6, 111=7/8)
  29. * +------- hierarchy on (0=no, 1=yes)
  30. */
  31. /* demodulator tuning parameter and restart options */
  32. #define DIB3000MC_REG_DEMOD_PARM ( 0)
  33. #define DIB3000MC_DEMOD_PARM(a,c,g,t) ( \
  34. (0x7 & a) | \
  35. ((0x3 & c) << 3) | \
  36. ((0x3 & g) << 5) | \
  37. ((0x1 & t) << 7) )
  38. #define DIB3000MC_DEMOD_RST_AUTO_SRCH_ON (1 << 8)
  39. #define DIB3000MC_DEMOD_RST_AUTO_SRCH_OFF (0 << 8)
  40. #define DIB3000MC_DEMOD_RST_DEMOD_ON (1 << 9)
  41. #define DIB3000MC_DEMOD_RST_DEMOD_OFF (0 << 9)
  42. /* register for hierarchy parameters */
  43. #define DIB3000MC_REG_HRCH_PARM ( 181)
  44. #define DIB3000MC_HRCH_PARM(s,f,h) ( \
  45. (0x1 & s) | \
  46. ((0x7 & f) << 1) | \
  47. ((0x1 & h) << 4) )
  48. /* timeout ??? */
  49. #define DIB3000MC_REG_UNK_1 ( 1)
  50. #define DIB3000MC_UNK_1 ( 0x04)
  51. /* timeout ??? */
  52. #define DIB3000MC_REG_UNK_2 ( 2)
  53. #define DIB3000MC_UNK_2 ( 0x04)
  54. /* timeout ??? */
  55. #define DIB3000MC_REG_UNK_3 ( 3)
  56. #define DIB3000MC_UNK_3 (0x1000)
  57. #define DIB3000MC_REG_UNK_4 ( 4)
  58. #define DIB3000MC_UNK_4 (0x0814)
  59. /* timeout ??? */
  60. #define DIB3000MC_REG_SEQ_TPS ( 5)
  61. #define DIB3000MC_SEQ_TPS_DEFAULT ( 1)
  62. #define DIB3000MC_SEQ_TPS(s,t) ( \
  63. ((s & 0x0f) << 4) | \
  64. ((t & 0x01) << 8) )
  65. #define DIB3000MC_IS_TPS(v) ((v << 8) & 0x1)
  66. #define DIB3000MC_IS_AS(v) ((v >> 4) & 0xf)
  67. /* parameters for the bandwidth */
  68. #define DIB3000MC_REG_BW_TIMOUT_MSB ( 6)
  69. #define DIB3000MC_REG_BW_TIMOUT_LSB ( 7)
  70. static u16 dib3000mc_reg_bandwidth[] = { 6,7,8,9,10,11,16,17 };
  71. /*static u16 dib3000mc_bandwidth_5mhz[] =
  72. { 0x28, 0x9380, 0x87, 0x4100, 0x2a4, 0x4500, 0x1, 0xb0d0 };*/
  73. static u16 dib3000mc_bandwidth_6mhz[] =
  74. { 0x21, 0xd040, 0x70, 0xb62b, 0x233, 0x8ed5, 0x1, 0xb0d0 };
  75. static u16 dib3000mc_bandwidth_7mhz[] =
  76. { 0x1c, 0xfba5, 0x60, 0x9c25, 0x1e3, 0x0cb7, 0x1, 0xb0d0 };
  77. static u16 dib3000mc_bandwidth_8mhz[] =
  78. { 0x19, 0x5c30, 0x54, 0x88a0, 0x1a6, 0xab20, 0x1, 0xb0d0 };
  79. static u16 dib3000mc_reg_bandwidth_general[] = { 12,13,14,15 };
  80. static u16 dib3000mc_bandwidth_general[] = { 0x0000, 0x03e8, 0x0000, 0x03f2 };
  81. /* lock mask */
  82. #define DIB3000MC_REG_LOCK_MASK ( 15)
  83. #define DIB3000MC_ACTIVATE_LOCK_MASK (0x0800)
  84. /* reset the uncorrected packet count (??? do it 5 times) */
  85. #define DIB3000MC_REG_RST_UNC ( 18)
  86. #define DIB3000MC_RST_UNC_ON ( 1)
  87. #define DIB3000MC_RST_UNC_OFF ( 0)
  88. #define DIB3000MC_REG_UNK_19 ( 19)
  89. #define DIB3000MC_UNK_19 ( 0)
  90. /* DDS frequency value (IF position) and inversion bit */
  91. #define DIB3000MC_REG_INVERSION ( 21)
  92. #define DIB3000MC_REG_SET_DDS_FREQ_MSB ( 21)
  93. #define DIB3000MC_DDS_FREQ_MSB_INV_OFF (0x0164)
  94. #define DIB3000MC_DDS_FREQ_MSB_INV_ON (0x0364)
  95. #define DIB3000MC_REG_SET_DDS_FREQ_LSB ( 22)
  96. #define DIB3000MC_DDS_FREQ_LSB (0x463d)
  97. /* timing frequencies setting */
  98. #define DIB3000MC_REG_TIMING_FREQ_MSB ( 23)
  99. #define DIB3000MC_REG_TIMING_FREQ_LSB ( 24)
  100. #define DIB3000MC_CLOCK_REF (0x151fd1)
  101. //static u16 dib3000mc_reg_timing_freq[] = { 23,24 };
  102. //static u16 dib3000mc_timing_freq[][2] = {
  103. // { 0x69, 0x9f18 }, /* 5 MHz */
  104. // { 0x7e ,0xbee9 }, /* 6 MHz */
  105. // { 0x93 ,0xdebb }, /* 7 MHz */
  106. // { 0xa8 ,0xfe8c }, /* 8 MHz */
  107. //};
  108. /* timeout ??? */
  109. static u16 dib3000mc_reg_offset[] = { 26,33 };
  110. static u16 dib3000mc_offset[][2] = {
  111. { 26240, 5 }, /* default */
  112. { 30336, 6 }, /* 8K */
  113. { 38528, 8 }, /* 2K */
  114. };
  115. #define DIB3000MC_REG_ISI ( 29)
  116. #define DIB3000MC_ISI_DEFAULT (0x1073)
  117. #define DIB3000MC_ISI_ACTIVATE (0x0000)
  118. #define DIB3000MC_ISI_INHIBIT (0x0200)
  119. /* impulse noise control */
  120. static u16 dib3000mc_reg_imp_noise_ctl[] = { 34,35 };
  121. static u16 dib3000mc_imp_noise_ctl[][2] = {
  122. { 0x1294, 0x1ff8 }, /* mode 0 */
  123. { 0x1294, 0x1ff8 }, /* mode 1 */
  124. { 0x1294, 0x1ff8 }, /* mode 2 */
  125. { 0x1294, 0x1ff8 }, /* mode 3 */
  126. { 0x1294, 0x1ff8 }, /* mode 4 */
  127. };
  128. /* AGC registers */
  129. static u16 dib3000mc_reg_agc[] = {
  130. 36,37,38,39,42,43,44,45,46,47,48,49
  131. };
  132. static u16 dib3000mc_agc_tuner[][12] = {
  133. { 0x0051, 0x301d, 0x0000, 0x1cc7, 0xcf5c, 0x6666,
  134. 0xbae1, 0xa148, 0x3b5e, 0x3c1c, 0x001a, 0x2019
  135. }, /* TUNER_PANASONIC_ENV77H04D5, */
  136. { 0x0051, 0x301d, 0x0000, 0x1cc7, 0xdc29, 0x570a,
  137. 0xbae1, 0x8ccd, 0x3b6d, 0x551d, 0x000a, 0x951e
  138. }, /* TUNER_PANASONIC_ENV57H13D5, TUNER_PANASONIC_ENV57H12D5 */
  139. { 0x0051, 0x301d, 0x0000, 0x1cc7, 0xffff, 0xffff,
  140. 0xffff, 0x0000, 0xfdfd, 0x4040, 0x00fd, 0x4040
  141. }, /* TUNER_SAMSUNG_DTOS333IH102, TUNER_RFAGCIN_UNKNOWN */
  142. { 0x0196, 0x301d, 0x0000, 0x1cc7, 0xbd71, 0x5c29,
  143. 0xb5c3, 0x6148, 0x6569, 0x5127, 0x0033, 0x3537
  144. }, /* TUNER_PROVIDER_X */
  145. /* TODO TUNER_PANASONIC_ENV57H10D8, TUNER_PANASONIC_ENV57H11D8 */
  146. };
  147. /* AGC loop bandwidth */
  148. static u16 dib3000mc_reg_agc_bandwidth[] = { 40,41 };
  149. static u16 dib3000mc_agc_bandwidth[] = { 0x119,0x330 };
  150. static u16 dib3000mc_reg_agc_bandwidth_general[] = { 50,51,52,53,54 };
  151. static u16 dib3000mc_agc_bandwidth_general[] =
  152. { 0x8000, 0x91ca, 0x01ba, 0x0087, 0x0087 };
  153. #define DIB3000MC_REG_IMP_NOISE_55 ( 55)
  154. #define DIB3000MC_IMP_NEW_ALGO(w) (w | (1<<10))
  155. /* Impulse noise params */
  156. static u16 dib3000mc_reg_impulse_noise[] = { 55,56,57 };
  157. static u16 dib3000mc_impluse_noise[][3] = {
  158. { 0x489, 0x89, 0x72 }, /* 5 MHz */
  159. { 0x4a5, 0xa5, 0x89 }, /* 6 MHz */
  160. { 0x4c0, 0xc0, 0xa0 }, /* 7 MHz */
  161. { 0x4db, 0xdb, 0xb7 }, /* 8 Mhz */
  162. };
  163. static u16 dib3000mc_reg_fft[] = {
  164. 58,59,60,61,62,63,64,65,66,67,68,69,
  165. 70,71,72,73,74,75,76,77,78,79,80,81,
  166. 82,83,84,85,86
  167. };
  168. static u16 dib3000mc_fft_modes[][29] = {
  169. { 0x38, 0x6d9, 0x3f28, 0x7a7, 0x3a74, 0x196, 0x32a, 0x48c,
  170. 0x3ffe, 0x7f3, 0x2d94, 0x76, 0x53d,
  171. 0x3ff8, 0x7e3, 0x3320, 0x76, 0x5b3,
  172. 0x3feb, 0x7d2, 0x365e, 0x76, 0x48c,
  173. 0x3ffe, 0x5b3, 0x3feb, 0x76, 0x0, 0xd
  174. }, /* fft mode 0 */
  175. { 0x3b, 0x6d9, 0x3f28, 0x7a7, 0x3a74, 0x196, 0x32a, 0x48c,
  176. 0x3ffe, 0x7f3, 0x2d94, 0x76, 0x53d,
  177. 0x3ff8, 0x7e3, 0x3320, 0x76, 0x5b3,
  178. 0x3feb, 0x7d2, 0x365e, 0x76, 0x48c,
  179. 0x3ffe, 0x5b3, 0x3feb, 0x0, 0x8200, 0xd
  180. }, /* fft mode 1 */
  181. };
  182. #define DIB3000MC_REG_UNK_88 ( 88)
  183. #define DIB3000MC_UNK_88 (0x0410)
  184. static u16 dib3000mc_reg_bw[] = { 93,94,95,96,97,98 };
  185. static u16 dib3000mc_bw[][6] = {
  186. { 0,0,0,0,0,0 }, /* 5 MHz */
  187. { 0,0,0,0,0,0 }, /* 6 MHz */
  188. { 0,0,0,0,0,0 }, /* 7 MHz */
  189. { 0x20, 0x21, 0x20, 0x23, 0x20, 0x27 }, /* 8 MHz */
  190. };
  191. /* phase noise control */
  192. #define DIB3000MC_REG_UNK_99 ( 99)
  193. #define DIB3000MC_UNK_99 (0x0220)
  194. #define DIB3000MC_REG_SCAN_BOOST ( 100)
  195. #define DIB3000MC_SCAN_BOOST_ON ((11 << 6) + 6)
  196. #define DIB3000MC_SCAN_BOOST_OFF ((16 << 6) + 9)
  197. /* timeout ??? */
  198. #define DIB3000MC_REG_UNK_110 ( 110)
  199. #define DIB3000MC_UNK_110 ( 3277)
  200. #define DIB3000MC_REG_UNK_111 ( 111)
  201. #define DIB3000MC_UNK_111_PH_N_MODE_0 ( 0)
  202. #define DIB3000MC_UNK_111_PH_N_MODE_1 (1 << 1)
  203. /* superious rm config */
  204. #define DIB3000MC_REG_UNK_120 ( 120)
  205. #define DIB3000MC_UNK_120 ( 8207)
  206. #define DIB3000MC_REG_UNK_133 ( 133)
  207. #define DIB3000MC_UNK_133 ( 15564)
  208. #define DIB3000MC_REG_UNK_134 ( 134)
  209. #define DIB3000MC_UNK_134 ( 0)
  210. /* adapter config for constellation */
  211. static u16 dib3000mc_reg_adp_cfg[] = { 129, 130, 131, 132 };
  212. static u16 dib3000mc_adp_cfg[][4] = {
  213. { 0x99a, 0x7fae, 0x333, 0x7ff0 }, /* QPSK */
  214. { 0x23d, 0x7fdf, 0x0a4, 0x7ff0 }, /* 16-QAM */
  215. { 0x148, 0x7ff0, 0x0a4, 0x7ff8 }, /* 64-QAM */
  216. };
  217. static u16 dib3000mc_reg_mobile_mode[] = { 139, 140, 141, 175, 1032 };
  218. static u16 dib3000mc_mobile_mode[][5] = {
  219. { 0x01, 0x0, 0x0, 0x00, 0x12c }, /* fixed */
  220. { 0x01, 0x0, 0x0, 0x00, 0x12c }, /* portable */
  221. { 0x00, 0x0, 0x0, 0x02, 0x000 }, /* mobile */
  222. { 0x00, 0x0, 0x0, 0x02, 0x000 }, /* auto */
  223. };
  224. #define DIB3000MC_REG_DIVERSITY1 ( 177)
  225. #define DIB3000MC_DIVERSITY1_DEFAULT ( 1)
  226. #define DIB3000MC_REG_DIVERSITY2 ( 178)
  227. #define DIB3000MC_DIVERSITY2_DEFAULT ( 1)
  228. #define DIB3000MC_REG_DIVERSITY3 ( 180)
  229. #define DIB3000MC_DIVERSITY3_IN_OFF (0xfff0)
  230. #define DIB3000MC_DIVERSITY3_IN_ON (0xfff6)
  231. #define DIB3000MC_REG_FEC_CFG ( 195)
  232. #define DIB3000MC_FEC_CFG ( 0x10)
  233. /*
  234. * reg 206, output mode
  235. * 1111 1111
  236. * |||| ||||
  237. * |||| |||+- unk
  238. * |||| ||+-- unk
  239. * |||| |+--- unk (on by default)
  240. * |||| +---- fifo_ctrl (1 = inhibit (flushed), 0 = active (unflushed))
  241. * |||+------ pid_parse (1 = enabled, 0 = disabled)
  242. * ||+------- outp_188 (1 = TS packet size 188, 0 = packet size 204)
  243. * |+-------- unk
  244. * +--------- unk
  245. */
  246. #define DIB3000MC_REG_SMO_MODE ( 206)
  247. #define DIB3000MC_SMO_MODE_DEFAULT (1 << 2)
  248. #define DIB3000MC_SMO_MODE_FIFO_FLUSH (1 << 3)
  249. #define DIB3000MC_SMO_MODE_FIFO_UNFLUSH (0xfff7)
  250. #define DIB3000MC_SMO_MODE_PID_PARSE (1 << 4)
  251. #define DIB3000MC_SMO_MODE_NO_PID_PARSE (0xffef)
  252. #define DIB3000MC_SMO_MODE_188 (1 << 5)
  253. #define DIB3000MC_SMO_MODE_SLAVE (DIB3000MC_SMO_MODE_DEFAULT | \
  254. DIB3000MC_SMO_MODE_188 | DIB3000MC_SMO_MODE_PID_PARSE | (1<<1))
  255. #define DIB3000MC_REG_FIFO_THRESHOLD ( 207)
  256. #define DIB3000MC_FIFO_THRESHOLD_DEFAULT ( 1792)
  257. #define DIB3000MC_FIFO_THRESHOLD_SLAVE ( 512)
  258. /*
  259. * pidfilter
  260. * it is not a hardware pidfilter but a filter which drops all pids
  261. * except the ones set. When connected to USB1.1 bandwidth this is important.
  262. * DiB3000P/M-C can filter up to 32 PIDs
  263. */
  264. #define DIB3000MC_REG_FIRST_PID ( 212)
  265. #define DIB3000MC_NUM_PIDS ( 32)
  266. #define DIB3000MC_REG_OUTMODE ( 244)
  267. #define DIB3000MC_OM_PARALLEL_GATED_CLK ( 0)
  268. #define DIB3000MC_OM_PAR_CONT_CLK (1 << 11)
  269. #define DIB3000MC_OM_SERIAL (2 << 11)
  270. #define DIB3000MC_OM_DIVOUT_ON (4 << 11)
  271. #define DIB3000MC_OM_SLAVE (DIB3000MC_OM_DIVOUT_ON | DIB3000MC_OM_PAR_CONT_CLK)
  272. #define DIB3000MC_REG_RF_POWER ( 392)
  273. #define DIB3000MC_REG_FFT_POSITION ( 407)
  274. #define DIB3000MC_REG_DDS_FREQ_MSB ( 414)
  275. #define DIB3000MC_REG_DDS_FREQ_LSB ( 415)
  276. #define DIB3000MC_REG_TIMING_OFFS_MSB ( 416)
  277. #define DIB3000MC_REG_TIMING_OFFS_LSB ( 417)
  278. #define DIB3000MC_REG_TUNING_PARM ( 458)
  279. #define DIB3000MC_TP_QAM(v) ((v >> 13) & 0x03)
  280. #define DIB3000MC_TP_HRCH(v) ((v >> 12) & 0x01)
  281. #define DIB3000MC_TP_ALPHA(v) ((v >> 9) & 0x07)
  282. #define DIB3000MC_TP_FFT(v) ((v >> 8) & 0x01)
  283. #define DIB3000MC_TP_FEC_CR_HP(v) ((v >> 5) & 0x07)
  284. #define DIB3000MC_TP_FEC_CR_LP(v) ((v >> 2) & 0x07)
  285. #define DIB3000MC_TP_GUARD(v) (v & 0x03)
  286. #define DIB3000MC_REG_SIGNAL_NOISE_MSB ( 483)
  287. #define DIB3000MC_REG_SIGNAL_NOISE_LSB ( 484)
  288. #define DIB3000MC_REG_MER ( 485)
  289. #define DIB3000MC_REG_BER_MSB ( 500)
  290. #define DIB3000MC_REG_BER_LSB ( 501)
  291. #define DIB3000MC_REG_PACKET_ERRORS ( 503)
  292. #define DIB3000MC_REG_PACKET_ERROR_COUNT ( 506)
  293. #define DIB3000MC_REG_LOCK_507 ( 507)
  294. #define DIB3000MC_LOCK_507 (0x0002) // ? name correct ?
  295. #define DIB3000MC_REG_LOCKING ( 509)
  296. #define DIB3000MC_AGC_LOCK(v) (v & 0x8000)
  297. #define DIB3000MC_CARRIER_LOCK(v) (v & 0x2000)
  298. #define DIB3000MC_MPEG_SYNC_LOCK(v) (v & 0x0080)
  299. #define DIB3000MC_MPEG_DATA_LOCK(v) (v & 0x0040)
  300. #define DIB3000MC_TPS_LOCK(v) (v & 0x0004)
  301. #define DIB3000MC_REG_AS_IRQ ( 511)
  302. #define DIB3000MC_AS_IRQ_SUCCESS (1 << 1)
  303. #define DIB3000MC_AS_IRQ_FAIL ( 1)
  304. #define DIB3000MC_REG_TUNER ( 769)
  305. #define DIB3000MC_REG_RST_I2C_ADDR ( 1024)
  306. #define DIB3000MC_DEMOD_ADDR_ON ( 1)
  307. #define DIB3000MC_DEMOD_ADDR(a) ((a << 4) & 0x03F0)
  308. #define DIB3000MC_REG_RESTART ( 1027)
  309. #define DIB3000MC_RESTART_OFF (0x0000)
  310. #define DIB3000MC_RESTART_AGC (0x0800)
  311. #define DIB3000MC_RESTART_CONFIG (0x8000)
  312. #define DIB3000MC_REG_RESTART_VIT ( 1028)
  313. #define DIB3000MC_RESTART_VIT_OFF ( 0)
  314. #define DIB3000MC_RESTART_VIT_ON ( 1)
  315. #define DIB3000MC_REG_CLK_CFG_1 ( 1031)
  316. #define DIB3000MC_CLK_CFG_1_POWER_UP ( 0)
  317. #define DIB3000MC_CLK_CFG_1_POWER_DOWN (0xffff)
  318. #define DIB3000MC_REG_CLK_CFG_2 ( 1032)
  319. #define DIB3000MC_CLK_CFG_2_PUP_FIXED (0x012c)
  320. #define DIB3000MC_CLK_CFG_2_PUP_PORT (0x0104)
  321. #define DIB3000MC_CLK_CFG_2_PUP_MOBILE (0x0000)
  322. #define DIB3000MC_CLK_CFG_2_POWER_DOWN (0xffff)
  323. #define DIB3000MC_REG_CLK_CFG_3 ( 1033)
  324. #define DIB3000MC_CLK_CFG_3_POWER_UP ( 0)
  325. #define DIB3000MC_CLK_CFG_3_POWER_DOWN (0xfff5)
  326. #define DIB3000MC_REG_CLK_CFG_7 ( 1037)
  327. #define DIB3000MC_CLK_CFG_7_INIT ( 12592)
  328. #define DIB3000MC_CLK_CFG_7_POWER_UP (~0x0003)
  329. #define DIB3000MC_CLK_CFG_7_PWR_DOWN (0x0003)
  330. #define DIB3000MC_CLK_CFG_7_DIV_IN_OFF (1 << 8)
  331. /* was commented out ??? */
  332. #define DIB3000MC_REG_CLK_CFG_8 ( 1038)
  333. #define DIB3000MC_CLK_CFG_8_POWER_UP (0x160c)
  334. #define DIB3000MC_REG_CLK_CFG_9 ( 1039)
  335. #define DIB3000MC_CLK_CFG_9_POWER_UP ( 0)
  336. /* also clock ??? */
  337. #define DIB3000MC_REG_ELEC_OUT ( 1040)
  338. #define DIB3000MC_ELEC_OUT_HIGH_Z ( 0)
  339. #define DIB3000MC_ELEC_OUT_DIV_OUT_ON ( 1)
  340. #define DIB3000MC_ELEC_OUT_SLAVE ( 3)
  341. #endif