gh_vin.h 44 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936
  1. /*!
  2. *******************************************************************************
  3. **
  4. ** \file gh_vin.h
  5. **
  6. ** \brief Video/Sensor Input.
  7. **
  8. ** Copyright: 2012 - 2016 (C) GoKe Microelectronics
  9. **
  10. ** \attention THIS SAMPLE CODE IS PROVIDED AS IS. GOKE MICROELECTRONICS
  11. ** ACCEPTS NO RESPONSIBILITY OR LIABILITY FOR ANY ERRORS OR
  12. ** OMMISSIONS.
  13. **
  14. ** \note Do not modify this file as it is generated automatically.
  15. **
  16. ******************************************************************************/
  17. #ifndef _GH_VIN_H
  18. #define _GH_VIN_H
  19. #ifdef __LINUX__
  20. #include "reg4linux.h"
  21. #else
  22. #define FIO_ADDRESS(block,address) (address)
  23. #define FIO_MOFFSET(block,moffset) (moffset)
  24. #endif
  25. #ifndef __LINUX__
  26. #include "gtypes.h" /* global type definitions */
  27. #include "gh_lib_cfg.h" /* configuration */
  28. #endif
  29. #define GH_VIN_ENABLE_DEBUG_PRINT 0
  30. #ifdef __LINUX__
  31. #define GH_VIN_DEBUG_PRINT_FUNCTION printk
  32. #else
  33. #define GH_VIN_DEBUG_PRINT_FUNCTION printf
  34. #endif
  35. #ifndef __LINUX__
  36. #if GH_VIN_ENABLE_DEBUG_PRINT
  37. #include <stdio.h>
  38. #endif
  39. #endif
  40. /*----------------------------------------------------------------------------*/
  41. /* registers */
  42. /*----------------------------------------------------------------------------*/
  43. #define REG_VIN_S_CONTROL FIO_ADDRESS(VIN,0x90009000) /* read/write */
  44. #define REG_VIN_S_INPUTCONFIG FIO_ADDRESS(VIN,0x90009004) /* read/write */
  45. #define REG_VIN_S_STATUS FIO_ADDRESS(VIN,0x90009008) /* read/write */
  46. #define REG_VIN_S_VWIDTH FIO_ADDRESS(VIN,0x9000900C) /* read/write */
  47. #define REG_VIN_S_HWIDTH FIO_ADDRESS(VIN,0x90009010) /* read/write */
  48. #define REG_VIN_S_HTOP FIO_ADDRESS(VIN,0x90009014) /* read/write */
  49. #define REG_VIN_S_HBOTTOM FIO_ADDRESS(VIN,0x90009018) /* read/write */
  50. #define REG_VIN_S_V FIO_ADDRESS(VIN,0x9000901C) /* read/write */
  51. #define REG_VIN_S_H FIO_ADDRESS(VIN,0x90009020) /* read/write */
  52. #define REG_VIN_S_MINV FIO_ADDRESS(VIN,0x90009024) /* read/write */
  53. #define REG_VIN_S_MINH FIO_ADDRESS(VIN,0x90009028) /* read/write */
  54. #define REG_VIN_S_TRIGGER0START FIO_ADDRESS(VIN,0x9000902C) /* read/write */
  55. #define REG_VIN_S_TRIGGER0END FIO_ADDRESS(VIN,0x90009030) /* read/write */
  56. #define REG_VIN_S_TRIGGER1START FIO_ADDRESS(VIN,0x90009034) /* read/write */
  57. #define REG_VIN_S_TRIGGER1END FIO_ADDRESS(VIN,0x90009038) /* read/write */
  58. #define REG_VIN_S_VOUTSTART0 FIO_ADDRESS(VIN,0x9000903C) /* read/write */
  59. #define REG_VIN_S_VOUTSTART1 FIO_ADDRESS(VIN,0x90009040) /* read/write */
  60. #define REG_VIN_S_CAPSTARTV FIO_ADDRESS(VIN,0x90009044) /* read/write */
  61. #define REG_VIN_S_CAPSTARTH FIO_ADDRESS(VIN,0x90009048) /* read/write */
  62. #define REG_VIN_S_CAPENDV FIO_ADDRESS(VIN,0x9000904C) /* read/write */
  63. #define REG_VIN_S_CAPENDH FIO_ADDRESS(VIN,0x90009050) /* read/write */
  64. #define REG_VIN_S_BLANKLENGTHH FIO_ADDRESS(VIN,0x90009054) /* read/write */
  65. #define REG_VIN_S_TIMEOUTVLOW FIO_ADDRESS(VIN,0x90009058) /* read/write */
  66. #define REG_VIN_S_TIMEOUTVHIGH FIO_ADDRESS(VIN,0x9000905C) /* read/write */
  67. #define REG_VIN_S_TIMEOUTHLOW FIO_ADDRESS(VIN,0x90009060) /* read/write */
  68. #define REG_VIN_S_TIMEOUTHHIGH FIO_ADDRESS(VIN,0x90009064) /* read/write */
  69. #define REG_VIN_S_DEBUGFIFOCOUNT FIO_ADDRESS(VIN,0x90009080) /* read */
  70. #define REG_VIN_S_DEBUGFIFODATA0 FIO_ADDRESS(VIN,0x90009084) /* read */
  71. #define REG_VIN_S_DEBUGFIFODATA1 FIO_ADDRESS(VIN,0x90009088) /* read */
  72. #define REG_VIN_S_DEBUGSTALL FIO_ADDRESS(VIN,0x9000908C) /* read */
  73. #define REG_VIN_S_SLVSSATUS FIO_ADDRESS(VIN,0x90009090) /* read */
  74. /*----------------------------------------------------------------------------*/
  75. /* bit group structures */
  76. /*----------------------------------------------------------------------------*/
  77. typedef union { /* VIN_S_Control */
  78. U32 all;
  79. struct {
  80. U32 : 1;
  81. U32 enable : 1;
  82. U32 win_en : 1;
  83. U32 data_edge : 1;
  84. U32 slave_mode_enable : 1;
  85. U32 master_mode_enable : 1;
  86. U32 emb_sync : 1;
  87. U32 emb_sync_mode : 1;
  88. U32 emb_sync_loc : 2;
  89. U32 vs_pol : 1;
  90. U32 hs_pol : 1;
  91. U32 field0_pol : 1;
  92. U32 sony_field_mode : 1;
  93. U32 ecc_enable : 1;
  94. U32 hsync_mask : 1;
  95. U32 : 16;
  96. } bitc;
  97. } GH_VIN_S_CONTROL_S;
  98. typedef union { /* VIN_S_InputConfig */
  99. U32 all;
  100. struct {
  101. U32 pad_type : 1;
  102. U32 data_rate : 1;
  103. U32 data_width : 1;
  104. U32 input_source : 1;
  105. U32 rgb_yuv : 1;
  106. U32 pixel_data_width : 2;
  107. U32 yuv_input_order : 2;
  108. U32 slvs_num_lanes : 2;
  109. U32 serial_sensor_interface_mode: 1;
  110. U32 : 20;
  111. } bitc;
  112. } GH_VIN_S_INPUTCONFIG_S;
  113. typedef union { /* VIN_S_Status */
  114. U32 all;
  115. struct {
  116. U32 vsync : 1;
  117. U32 trig0 : 1;
  118. U32 trig1 : 1;
  119. U32 ovfl : 1;
  120. U32 shortl : 1;
  121. U32 shortf : 1;
  122. U32 field : 3;
  123. U32 no_hsync_detected : 1;
  124. U32 no_vsync_detected : 1;
  125. U32 idsp_ahb_vsync : 1;
  126. U32 idsp_ahb_mst_vsync : 1;
  127. U32 idsp_ahb_last_pixel : 1;
  128. U32 ecc_uncorrectable : 1;
  129. U32 program_error : 1;
  130. U32 : 16;
  131. } bitc;
  132. } GH_VIN_S_STATUS_S;
  133. typedef union { /* VIN_S_Vwidth */
  134. U32 all;
  135. struct {
  136. U32 vsync_width : 14;
  137. U32 : 18;
  138. } bitc;
  139. } GH_VIN_S_VWIDTH_S;
  140. typedef union { /* VIN_S_Hwidth */
  141. U32 all;
  142. struct {
  143. U32 hsync_width : 14;
  144. U32 : 18;
  145. } bitc;
  146. } GH_VIN_S_HWIDTH_S;
  147. typedef union { /* VIN_S_Htop */
  148. U32 all;
  149. struct {
  150. U32 hsync_top : 14;
  151. U32 : 18;
  152. } bitc;
  153. } GH_VIN_S_HTOP_S;
  154. typedef union { /* VIN_S_Hbottom */
  155. U32 all;
  156. struct {
  157. U32 hsync_bottom : 14;
  158. U32 : 18;
  159. } bitc;
  160. } GH_VIN_S_HBOTTOM_S;
  161. typedef union { /* VIN_S_V */
  162. U32 all;
  163. struct {
  164. U32 num_lines : 14;
  165. U32 : 18;
  166. } bitc;
  167. } GH_VIN_S_V_S;
  168. typedef union { /* VIN_S_H */
  169. U32 all;
  170. struct {
  171. U32 num_cols : 14;
  172. U32 : 18;
  173. } bitc;
  174. } GH_VIN_S_H_S;
  175. typedef union { /* VIN_S_MinV */
  176. U32 all;
  177. struct {
  178. U32 min_num_lines : 14;
  179. U32 : 18;
  180. } bitc;
  181. } GH_VIN_S_MINV_S;
  182. typedef union { /* VIN_S_MinH */
  183. U32 all;
  184. struct {
  185. U32 min_num_fields : 14;
  186. U32 : 18;
  187. } bitc;
  188. } GH_VIN_S_MINH_S;
  189. typedef union { /* VIN_S_Trigger0Start */
  190. U32 all;
  191. struct {
  192. U32 startline : 14;
  193. U32 pol : 1;
  194. U32 enable : 1;
  195. U32 : 16;
  196. } bitc;
  197. } GH_VIN_S_TRIGGER0START_S;
  198. typedef union { /* VIN_S_Trigger0End */
  199. U32 all;
  200. struct {
  201. U32 endline : 14;
  202. U32 : 18;
  203. } bitc;
  204. } GH_VIN_S_TRIGGER0END_S;
  205. typedef union { /* VIN_S_Trigger1Start */
  206. U32 all;
  207. struct {
  208. U32 startline : 14;
  209. U32 pol : 1;
  210. U32 enable : 1;
  211. U32 : 16;
  212. } bitc;
  213. } GH_VIN_S_TRIGGER1START_S;
  214. typedef union { /* VIN_S_Trigger1End */
  215. U32 all;
  216. struct {
  217. U32 endline : 14;
  218. U32 : 18;
  219. } bitc;
  220. } GH_VIN_S_TRIGGER1END_S;
  221. typedef union { /* VIN_S_VoutStart0 */
  222. U32 all;
  223. struct {
  224. U32 startline : 14;
  225. U32 : 1;
  226. U32 disable_field_check : 1;
  227. U32 : 16;
  228. } bitc;
  229. } GH_VIN_S_VOUTSTART0_S;
  230. typedef union { /* VIN_S_VoutStart1 */
  231. U32 all;
  232. struct {
  233. U32 startline : 14;
  234. U32 : 1;
  235. U32 disable_field_check : 1;
  236. U32 : 16;
  237. } bitc;
  238. } GH_VIN_S_VOUTSTART1_S;
  239. typedef union { /* VIN_S_CapStartV */
  240. U32 all;
  241. struct {
  242. U32 startline : 14;
  243. U32 : 18;
  244. } bitc;
  245. } GH_VIN_S_CAPSTARTV_S;
  246. typedef union { /* VIN_S_CapStartH */
  247. U32 all;
  248. struct {
  249. U32 startcol : 14;
  250. U32 : 18;
  251. } bitc;
  252. } GH_VIN_S_CAPSTARTH_S;
  253. typedef union { /* VIN_S_CapEndV */
  254. U32 all;
  255. struct {
  256. U32 endline : 14;
  257. U32 : 18;
  258. } bitc;
  259. } GH_VIN_S_CAPENDV_S;
  260. typedef union { /* VIN_S_CapEndH */
  261. U32 all;
  262. struct {
  263. U32 endcol : 14;
  264. U32 : 18;
  265. } bitc;
  266. } GH_VIN_S_CAPENDH_S;
  267. typedef union { /* VIN_S_BlankLengthH */
  268. U32 all;
  269. struct {
  270. U32 blank_length : 14;
  271. U32 : 18;
  272. } bitc;
  273. } GH_VIN_S_BLANKLENGTHH_S;
  274. typedef union { /* VIN_S_TimeoutVLow */
  275. U32 all;
  276. struct {
  277. U32 vsync_timeout_low : 16;
  278. U32 : 16;
  279. } bitc;
  280. } GH_VIN_S_TIMEOUTVLOW_S;
  281. typedef union { /* VIN_S_TimeoutVHigh */
  282. U32 all;
  283. struct {
  284. U32 vsync_timeout_high : 16;
  285. U32 : 16;
  286. } bitc;
  287. } GH_VIN_S_TIMEOUTVHIGH_S;
  288. typedef union { /* VIN_S_TimeoutHLow */
  289. U32 all;
  290. struct {
  291. U32 hsync_timeout_low : 16;
  292. U32 : 16;
  293. } bitc;
  294. } GH_VIN_S_TIMEOUTHLOW_S;
  295. typedef union { /* VIN_S_TimeoutHHigh */
  296. U32 all;
  297. struct {
  298. U32 hsync_timeout_high : 16;
  299. U32 : 16;
  300. } bitc;
  301. } GH_VIN_S_TIMEOUTHHIGH_S;
  302. typedef union { /* VIN_S_debugFifoCount */
  303. U32 all;
  304. struct {
  305. U32 num_words_in_fifo : 16;
  306. U32 : 16;
  307. } bitc;
  308. } GH_VIN_S_DEBUGFIFOCOUNT_S;
  309. typedef union { /* VIN_S_debugFifoData0 */
  310. U32 all;
  311. struct {
  312. U32 pixel_0_read_data : 16;
  313. U32 : 16;
  314. } bitc;
  315. } GH_VIN_S_DEBUGFIFODATA0_S;
  316. typedef union { /* VIN_S_debugFifoData1 */
  317. U32 all;
  318. struct {
  319. U32 pixel_1_read_data : 16;
  320. U32 : 16;
  321. } bitc;
  322. } GH_VIN_S_DEBUGFIFODATA1_S;
  323. typedef union { /* VIN_S_debugStall */
  324. U32 all;
  325. struct {
  326. U32 output_interface_stall : 1;
  327. U32 : 31;
  328. } bitc;
  329. } GH_VIN_S_DEBUGSTALL_S;
  330. typedef union { /* VIN_S_slvsSatus */
  331. U32 all;
  332. struct {
  333. U32 slvs_lock_state : 1;
  334. U32 detected_sync_code_match : 1;
  335. U32 detected_start_of_frame : 1;
  336. U32 detected_vsync : 1;
  337. U32 detected_start_of_line : 1;
  338. U32 valid_pixel_generated : 1;
  339. U32 end_of_line_generated : 1;
  340. U32 corrected_error : 1;
  341. U32 : 24;
  342. } bitc;
  343. } GH_VIN_S_SLVSSATUS_S;
  344. /*----------------------------------------------------------------------------*/
  345. /* mirror variables */
  346. /*----------------------------------------------------------------------------*/
  347. #ifdef __cplusplus
  348. extern "C" {
  349. #endif
  350. /*----------------------------------------------------------------------------*/
  351. /* register VIN_S_Control (read/write) */
  352. /*----------------------------------------------------------------------------*/
  353. /*! \brief Writes the register 'VIN_S_Control'. */
  354. void GH_VIN_set_S_Control(U32 data);
  355. /*! \brief Reads the register 'VIN_S_Control'. */
  356. U32 GH_VIN_get_S_Control(void);
  357. /*! \brief Writes the bit group 'enable' of register 'VIN_S_Control'. */
  358. void GH_VIN_set_S_Control_enable(U8 data);
  359. /*! \brief Reads the bit group 'enable' of register 'VIN_S_Control'. */
  360. U8 GH_VIN_get_S_Control_enable(void);
  361. /*! \brief Writes the bit group 'win_en' of register 'VIN_S_Control'. */
  362. void GH_VIN_set_S_Control_win_en(U8 data);
  363. /*! \brief Reads the bit group 'win_en' of register 'VIN_S_Control'. */
  364. U8 GH_VIN_get_S_Control_win_en(void);
  365. /*! \brief Writes the bit group 'data_edge' of register 'VIN_S_Control'. */
  366. void GH_VIN_set_S_Control_data_edge(U8 data);
  367. /*! \brief Reads the bit group 'data_edge' of register 'VIN_S_Control'. */
  368. U8 GH_VIN_get_S_Control_data_edge(void);
  369. /*! \brief Writes the bit group 'slave_mode_enable' of register 'VIN_S_Control'. */
  370. void GH_VIN_set_S_Control_slave_mode_enable(U8 data);
  371. /*! \brief Reads the bit group 'slave_mode_enable' of register 'VIN_S_Control'. */
  372. U8 GH_VIN_get_S_Control_slave_mode_enable(void);
  373. /*! \brief Writes the bit group 'master_mode_enable' of register 'VIN_S_Control'. */
  374. void GH_VIN_set_S_Control_master_mode_enable(U8 data);
  375. /*! \brief Reads the bit group 'master_mode_enable' of register 'VIN_S_Control'. */
  376. U8 GH_VIN_get_S_Control_master_mode_enable(void);
  377. /*! \brief Writes the bit group 'emb_sync' of register 'VIN_S_Control'. */
  378. void GH_VIN_set_S_Control_emb_sync(U8 data);
  379. /*! \brief Reads the bit group 'emb_sync' of register 'VIN_S_Control'. */
  380. U8 GH_VIN_get_S_Control_emb_sync(void);
  381. /*! \brief Writes the bit group 'emb_sync_mode' of register 'VIN_S_Control'. */
  382. void GH_VIN_set_S_Control_emb_sync_mode(U8 data);
  383. /*! \brief Reads the bit group 'emb_sync_mode' of register 'VIN_S_Control'. */
  384. U8 GH_VIN_get_S_Control_emb_sync_mode(void);
  385. /*! \brief Writes the bit group 'emb_sync_loc' of register 'VIN_S_Control'. */
  386. void GH_VIN_set_S_Control_emb_sync_loc(U8 data);
  387. /*! \brief Reads the bit group 'emb_sync_loc' of register 'VIN_S_Control'. */
  388. U8 GH_VIN_get_S_Control_emb_sync_loc(void);
  389. /*! \brief Writes the bit group 'vs_pol' of register 'VIN_S_Control'. */
  390. void GH_VIN_set_S_Control_vs_pol(U8 data);
  391. /*! \brief Reads the bit group 'vs_pol' of register 'VIN_S_Control'. */
  392. U8 GH_VIN_get_S_Control_vs_pol(void);
  393. /*! \brief Writes the bit group 'hs_pol' of register 'VIN_S_Control'. */
  394. void GH_VIN_set_S_Control_hs_pol(U8 data);
  395. /*! \brief Reads the bit group 'hs_pol' of register 'VIN_S_Control'. */
  396. U8 GH_VIN_get_S_Control_hs_pol(void);
  397. /*! \brief Writes the bit group 'field0_pol' of register 'VIN_S_Control'. */
  398. void GH_VIN_set_S_Control_field0_pol(U8 data);
  399. /*! \brief Reads the bit group 'field0_pol' of register 'VIN_S_Control'. */
  400. U8 GH_VIN_get_S_Control_field0_pol(void);
  401. /*! \brief Writes the bit group 'sony_field_mode' of register 'VIN_S_Control'. */
  402. void GH_VIN_set_S_Control_sony_field_mode(U8 data);
  403. /*! \brief Reads the bit group 'sony_field_mode' of register 'VIN_S_Control'. */
  404. U8 GH_VIN_get_S_Control_sony_field_mode(void);
  405. /*! \brief Writes the bit group 'ecc_enable' of register 'VIN_S_Control'. */
  406. void GH_VIN_set_S_Control_ecc_enable(U8 data);
  407. /*! \brief Reads the bit group 'ecc_enable' of register 'VIN_S_Control'. */
  408. U8 GH_VIN_get_S_Control_ecc_enable(void);
  409. /*! \brief Writes the bit group 'hsync_mask' of register 'VIN_S_Control'. */
  410. void GH_VIN_set_S_Control_hsync_mask(U8 data);
  411. /*! \brief Reads the bit group 'hsync_mask' of register 'VIN_S_Control'. */
  412. U8 GH_VIN_get_S_Control_hsync_mask(void);
  413. /*----------------------------------------------------------------------------*/
  414. /* register VIN_S_InputConfig (read/write) */
  415. /*----------------------------------------------------------------------------*/
  416. /*! \brief Writes the register 'VIN_S_InputConfig'. */
  417. void GH_VIN_set_S_InputConfig(U32 data);
  418. /*! \brief Reads the register 'VIN_S_InputConfig'. */
  419. U32 GH_VIN_get_S_InputConfig(void);
  420. /*! \brief Writes the bit group 'pad_type' of register 'VIN_S_InputConfig'. */
  421. void GH_VIN_set_S_InputConfig_pad_type(U8 data);
  422. /*! \brief Reads the bit group 'pad_type' of register 'VIN_S_InputConfig'. */
  423. U8 GH_VIN_get_S_InputConfig_pad_type(void);
  424. /*! \brief Writes the bit group 'data_rate' of register 'VIN_S_InputConfig'. */
  425. void GH_VIN_set_S_InputConfig_data_rate(U8 data);
  426. /*! \brief Reads the bit group 'data_rate' of register 'VIN_S_InputConfig'. */
  427. U8 GH_VIN_get_S_InputConfig_data_rate(void);
  428. /*! \brief Writes the bit group 'data_width' of register 'VIN_S_InputConfig'. */
  429. void GH_VIN_set_S_InputConfig_data_width(U8 data);
  430. /*! \brief Reads the bit group 'data_width' of register 'VIN_S_InputConfig'. */
  431. U8 GH_VIN_get_S_InputConfig_data_width(void);
  432. /*! \brief Writes the bit group 'input_source' of register 'VIN_S_InputConfig'. */
  433. void GH_VIN_set_S_InputConfig_input_source(U8 data);
  434. /*! \brief Reads the bit group 'input_source' of register 'VIN_S_InputConfig'. */
  435. U8 GH_VIN_get_S_InputConfig_input_source(void);
  436. /*! \brief Writes the bit group 'rgb_yuv' of register 'VIN_S_InputConfig'. */
  437. void GH_VIN_set_S_InputConfig_rgb_yuv(U8 data);
  438. /*! \brief Reads the bit group 'rgb_yuv' of register 'VIN_S_InputConfig'. */
  439. U8 GH_VIN_get_S_InputConfig_rgb_yuv(void);
  440. /*! \brief Writes the bit group 'pixel_data_width' of register 'VIN_S_InputConfig'. */
  441. void GH_VIN_set_S_InputConfig_pixel_data_width(U8 data);
  442. /*! \brief Reads the bit group 'pixel_data_width' of register 'VIN_S_InputConfig'. */
  443. U8 GH_VIN_get_S_InputConfig_pixel_data_width(void);
  444. /*! \brief Writes the bit group 'yuv_input_order' of register 'VIN_S_InputConfig'. */
  445. void GH_VIN_set_S_InputConfig_yuv_input_order(U8 data);
  446. /*! \brief Reads the bit group 'yuv_input_order' of register 'VIN_S_InputConfig'. */
  447. U8 GH_VIN_get_S_InputConfig_yuv_input_order(void);
  448. /*! \brief Writes the bit group 'slvs_num_lanes' of register 'VIN_S_InputConfig'. */
  449. void GH_VIN_set_S_InputConfig_slvs_num_lanes(U8 data);
  450. /*! \brief Reads the bit group 'slvs_num_lanes' of register 'VIN_S_InputConfig'. */
  451. U8 GH_VIN_get_S_InputConfig_slvs_num_lanes(void);
  452. /*! \brief Writes the bit group 'serial_sensor_interface_mode' of register 'VIN_S_InputConfig'. */
  453. void GH_VIN_set_S_InputConfig_serial_sensor_interface_mode(U8 data);
  454. /*! \brief Reads the bit group 'serial_sensor_interface_mode' of register 'VIN_S_InputConfig'. */
  455. U8 GH_VIN_get_S_InputConfig_serial_sensor_interface_mode(void);
  456. /*----------------------------------------------------------------------------*/
  457. /* register VIN_S_Status (read/write) */
  458. /*----------------------------------------------------------------------------*/
  459. /*! \brief Writes the register 'VIN_S_Status'. */
  460. void GH_VIN_set_S_Status(U32 data);
  461. /*! \brief Reads the register 'VIN_S_Status'. */
  462. U32 GH_VIN_get_S_Status(void);
  463. /*! \brief Writes the bit group 'vsync' of register 'VIN_S_Status'. */
  464. void GH_VIN_set_S_Status_vsync(U8 data);
  465. /*! \brief Reads the bit group 'vsync' of register 'VIN_S_Status'. */
  466. U8 GH_VIN_get_S_Status_vsync(void);
  467. /*! \brief Writes the bit group 'trig0' of register 'VIN_S_Status'. */
  468. void GH_VIN_set_S_Status_trig0(U8 data);
  469. /*! \brief Reads the bit group 'trig0' of register 'VIN_S_Status'. */
  470. U8 GH_VIN_get_S_Status_trig0(void);
  471. /*! \brief Writes the bit group 'trig1' of register 'VIN_S_Status'. */
  472. void GH_VIN_set_S_Status_trig1(U8 data);
  473. /*! \brief Reads the bit group 'trig1' of register 'VIN_S_Status'. */
  474. U8 GH_VIN_get_S_Status_trig1(void);
  475. /*! \brief Writes the bit group 'ovfl' of register 'VIN_S_Status'. */
  476. void GH_VIN_set_S_Status_ovfl(U8 data);
  477. /*! \brief Reads the bit group 'ovfl' of register 'VIN_S_Status'. */
  478. U8 GH_VIN_get_S_Status_ovfl(void);
  479. /*! \brief Writes the bit group 'shortl' of register 'VIN_S_Status'. */
  480. void GH_VIN_set_S_Status_shortl(U8 data);
  481. /*! \brief Reads the bit group 'shortl' of register 'VIN_S_Status'. */
  482. U8 GH_VIN_get_S_Status_shortl(void);
  483. /*! \brief Writes the bit group 'shortf' of register 'VIN_S_Status'. */
  484. void GH_VIN_set_S_Status_shortf(U8 data);
  485. /*! \brief Reads the bit group 'shortf' of register 'VIN_S_Status'. */
  486. U8 GH_VIN_get_S_Status_shortf(void);
  487. /*! \brief Writes the bit group 'field' of register 'VIN_S_Status'. */
  488. void GH_VIN_set_S_Status_field(U8 data);
  489. /*! \brief Reads the bit group 'field' of register 'VIN_S_Status'. */
  490. U8 GH_VIN_get_S_Status_field(void);
  491. /*! \brief Writes the bit group 'no_hsync_detected' of register 'VIN_S_Status'. */
  492. void GH_VIN_set_S_Status_no_hsync_detected(U8 data);
  493. /*! \brief Reads the bit group 'no_hsync_detected' of register 'VIN_S_Status'. */
  494. U8 GH_VIN_get_S_Status_no_hsync_detected(void);
  495. /*! \brief Writes the bit group 'no_vsync_detected' of register 'VIN_S_Status'. */
  496. void GH_VIN_set_S_Status_no_vsync_detected(U8 data);
  497. /*! \brief Reads the bit group 'no_vsync_detected' of register 'VIN_S_Status'. */
  498. U8 GH_VIN_get_S_Status_no_vsync_detected(void);
  499. /*! \brief Writes the bit group 'idsp_ahb_vsync' of register 'VIN_S_Status'. */
  500. void GH_VIN_set_S_Status_idsp_ahb_vsync(U8 data);
  501. /*! \brief Reads the bit group 'idsp_ahb_vsync' of register 'VIN_S_Status'. */
  502. U8 GH_VIN_get_S_Status_idsp_ahb_vsync(void);
  503. /*! \brief Writes the bit group 'idsp_ahb_mst_vsync' of register 'VIN_S_Status'. */
  504. void GH_VIN_set_S_Status_idsp_ahb_mst_vsync(U8 data);
  505. /*! \brief Reads the bit group 'idsp_ahb_mst_vsync' of register 'VIN_S_Status'. */
  506. U8 GH_VIN_get_S_Status_idsp_ahb_mst_vsync(void);
  507. /*! \brief Writes the bit group 'idsp_ahb_last_pixel' of register 'VIN_S_Status'. */
  508. void GH_VIN_set_S_Status_idsp_ahb_last_pixel(U8 data);
  509. /*! \brief Reads the bit group 'idsp_ahb_last_pixel' of register 'VIN_S_Status'. */
  510. U8 GH_VIN_get_S_Status_idsp_ahb_last_pixel(void);
  511. /*! \brief Writes the bit group 'ecc_uncorrectable' of register 'VIN_S_Status'. */
  512. void GH_VIN_set_S_Status_ecc_uncorrectable(U8 data);
  513. /*! \brief Reads the bit group 'ecc_uncorrectable' of register 'VIN_S_Status'. */
  514. U8 GH_VIN_get_S_Status_ecc_uncorrectable(void);
  515. /*! \brief Writes the bit group 'program_error' of register 'VIN_S_Status'. */
  516. void GH_VIN_set_S_Status_program_error(U8 data);
  517. /*! \brief Reads the bit group 'program_error' of register 'VIN_S_Status'. */
  518. U8 GH_VIN_get_S_Status_program_error(void);
  519. /*----------------------------------------------------------------------------*/
  520. /* register VIN_S_Vwidth (read/write) */
  521. /*----------------------------------------------------------------------------*/
  522. /*! \brief Writes the register 'VIN_S_Vwidth'. */
  523. void GH_VIN_set_S_Vwidth(U32 data);
  524. /*! \brief Reads the register 'VIN_S_Vwidth'. */
  525. U32 GH_VIN_get_S_Vwidth(void);
  526. /*! \brief Writes the bit group 'vsync_width' of register 'VIN_S_Vwidth'. */
  527. void GH_VIN_set_S_Vwidth_vsync_width(U16 data);
  528. /*! \brief Reads the bit group 'vsync_width' of register 'VIN_S_Vwidth'. */
  529. U16 GH_VIN_get_S_Vwidth_vsync_width(void);
  530. /*----------------------------------------------------------------------------*/
  531. /* register VIN_S_Hwidth (read/write) */
  532. /*----------------------------------------------------------------------------*/
  533. /*! \brief Writes the register 'VIN_S_Hwidth'. */
  534. void GH_VIN_set_S_Hwidth(U32 data);
  535. /*! \brief Reads the register 'VIN_S_Hwidth'. */
  536. U32 GH_VIN_get_S_Hwidth(void);
  537. /*! \brief Writes the bit group 'hsync_width' of register 'VIN_S_Hwidth'. */
  538. void GH_VIN_set_S_Hwidth_hsync_width(U16 data);
  539. /*! \brief Reads the bit group 'hsync_width' of register 'VIN_S_Hwidth'. */
  540. U16 GH_VIN_get_S_Hwidth_hsync_width(void);
  541. /*----------------------------------------------------------------------------*/
  542. /* register VIN_S_Htop (read/write) */
  543. /*----------------------------------------------------------------------------*/
  544. /*! \brief Writes the register 'VIN_S_Htop'. */
  545. void GH_VIN_set_S_Htop(U32 data);
  546. /*! \brief Reads the register 'VIN_S_Htop'. */
  547. U32 GH_VIN_get_S_Htop(void);
  548. /*! \brief Writes the bit group 'hsync_top' of register 'VIN_S_Htop'. */
  549. void GH_VIN_set_S_Htop_hsync_top(U16 data);
  550. /*! \brief Reads the bit group 'hsync_top' of register 'VIN_S_Htop'. */
  551. U16 GH_VIN_get_S_Htop_hsync_top(void);
  552. /*----------------------------------------------------------------------------*/
  553. /* register VIN_S_Hbottom (read/write) */
  554. /*----------------------------------------------------------------------------*/
  555. /*! \brief Writes the register 'VIN_S_Hbottom'. */
  556. void GH_VIN_set_S_Hbottom(U32 data);
  557. /*! \brief Reads the register 'VIN_S_Hbottom'. */
  558. U32 GH_VIN_get_S_Hbottom(void);
  559. /*! \brief Writes the bit group 'hsync_bottom' of register 'VIN_S_Hbottom'. */
  560. void GH_VIN_set_S_Hbottom_hsync_bottom(U16 data);
  561. /*! \brief Reads the bit group 'hsync_bottom' of register 'VIN_S_Hbottom'. */
  562. U16 GH_VIN_get_S_Hbottom_hsync_bottom(void);
  563. /*----------------------------------------------------------------------------*/
  564. /* register VIN_S_V (read/write) */
  565. /*----------------------------------------------------------------------------*/
  566. /*! \brief Writes the register 'VIN_S_V'. */
  567. void GH_VIN_set_S_V(U32 data);
  568. /*! \brief Reads the register 'VIN_S_V'. */
  569. U32 GH_VIN_get_S_V(void);
  570. /*! \brief Writes the bit group 'num_lines' of register 'VIN_S_V'. */
  571. void GH_VIN_set_S_V_num_lines(U16 data);
  572. /*! \brief Reads the bit group 'num_lines' of register 'VIN_S_V'. */
  573. U16 GH_VIN_get_S_V_num_lines(void);
  574. /*----------------------------------------------------------------------------*/
  575. /* register VIN_S_H (read/write) */
  576. /*----------------------------------------------------------------------------*/
  577. /*! \brief Writes the register 'VIN_S_H'. */
  578. void GH_VIN_set_S_H(U32 data);
  579. /*! \brief Reads the register 'VIN_S_H'. */
  580. U32 GH_VIN_get_S_H(void);
  581. /*! \brief Writes the bit group 'num_cols' of register 'VIN_S_H'. */
  582. void GH_VIN_set_S_H_num_cols(U16 data);
  583. /*! \brief Reads the bit group 'num_cols' of register 'VIN_S_H'. */
  584. U16 GH_VIN_get_S_H_num_cols(void);
  585. /*----------------------------------------------------------------------------*/
  586. /* register VIN_S_MinV (read/write) */
  587. /*----------------------------------------------------------------------------*/
  588. /*! \brief Writes the register 'VIN_S_MinV'. */
  589. void GH_VIN_set_S_MinV(U32 data);
  590. /*! \brief Reads the register 'VIN_S_MinV'. */
  591. U32 GH_VIN_get_S_MinV(void);
  592. /*! \brief Writes the bit group 'min_num_lines' of register 'VIN_S_MinV'. */
  593. void GH_VIN_set_S_MinV_min_num_lines(U16 data);
  594. /*! \brief Reads the bit group 'min_num_lines' of register 'VIN_S_MinV'. */
  595. U16 GH_VIN_get_S_MinV_min_num_lines(void);
  596. /*----------------------------------------------------------------------------*/
  597. /* register VIN_S_MinH (read/write) */
  598. /*----------------------------------------------------------------------------*/
  599. /*! \brief Writes the register 'VIN_S_MinH'. */
  600. void GH_VIN_set_S_MinH(U32 data);
  601. /*! \brief Reads the register 'VIN_S_MinH'. */
  602. U32 GH_VIN_get_S_MinH(void);
  603. /*! \brief Writes the bit group 'min_num_fields' of register 'VIN_S_MinH'. */
  604. void GH_VIN_set_S_MinH_min_num_fields(U16 data);
  605. /*! \brief Reads the bit group 'min_num_fields' of register 'VIN_S_MinH'. */
  606. U16 GH_VIN_get_S_MinH_min_num_fields(void);
  607. /*----------------------------------------------------------------------------*/
  608. /* register VIN_S_Trigger0Start (read/write) */
  609. /*----------------------------------------------------------------------------*/
  610. /*! \brief Writes the register 'VIN_S_Trigger0Start'. */
  611. void GH_VIN_set_S_Trigger0Start(U32 data);
  612. /*! \brief Reads the register 'VIN_S_Trigger0Start'. */
  613. U32 GH_VIN_get_S_Trigger0Start(void);
  614. /*! \brief Writes the bit group 'startline' of register 'VIN_S_Trigger0Start'. */
  615. void GH_VIN_set_S_Trigger0Start_startline(U16 data);
  616. /*! \brief Reads the bit group 'startline' of register 'VIN_S_Trigger0Start'. */
  617. U16 GH_VIN_get_S_Trigger0Start_startline(void);
  618. /*! \brief Writes the bit group 'pol' of register 'VIN_S_Trigger0Start'. */
  619. void GH_VIN_set_S_Trigger0Start_pol(U8 data);
  620. /*! \brief Reads the bit group 'pol' of register 'VIN_S_Trigger0Start'. */
  621. U8 GH_VIN_get_S_Trigger0Start_pol(void);
  622. /*! \brief Writes the bit group 'enable' of register 'VIN_S_Trigger0Start'. */
  623. void GH_VIN_set_S_Trigger0Start_enable(U8 data);
  624. /*! \brief Reads the bit group 'enable' of register 'VIN_S_Trigger0Start'. */
  625. U8 GH_VIN_get_S_Trigger0Start_enable(void);
  626. /*----------------------------------------------------------------------------*/
  627. /* register VIN_S_Trigger0End (read/write) */
  628. /*----------------------------------------------------------------------------*/
  629. /*! \brief Writes the register 'VIN_S_Trigger0End'. */
  630. void GH_VIN_set_S_Trigger0End(U32 data);
  631. /*! \brief Reads the register 'VIN_S_Trigger0End'. */
  632. U32 GH_VIN_get_S_Trigger0End(void);
  633. /*! \brief Writes the bit group 'endline' of register 'VIN_S_Trigger0End'. */
  634. void GH_VIN_set_S_Trigger0End_endline(U16 data);
  635. /*! \brief Reads the bit group 'endline' of register 'VIN_S_Trigger0End'. */
  636. U16 GH_VIN_get_S_Trigger0End_endline(void);
  637. /*----------------------------------------------------------------------------*/
  638. /* register VIN_S_Trigger1Start (read/write) */
  639. /*----------------------------------------------------------------------------*/
  640. /*! \brief Writes the register 'VIN_S_Trigger1Start'. */
  641. void GH_VIN_set_S_Trigger1Start(U32 data);
  642. /*! \brief Reads the register 'VIN_S_Trigger1Start'. */
  643. U32 GH_VIN_get_S_Trigger1Start(void);
  644. /*! \brief Writes the bit group 'startline' of register 'VIN_S_Trigger1Start'. */
  645. void GH_VIN_set_S_Trigger1Start_startline(U16 data);
  646. /*! \brief Reads the bit group 'startline' of register 'VIN_S_Trigger1Start'. */
  647. U16 GH_VIN_get_S_Trigger1Start_startline(void);
  648. /*! \brief Writes the bit group 'pol' of register 'VIN_S_Trigger1Start'. */
  649. void GH_VIN_set_S_Trigger1Start_pol(U8 data);
  650. /*! \brief Reads the bit group 'pol' of register 'VIN_S_Trigger1Start'. */
  651. U8 GH_VIN_get_S_Trigger1Start_pol(void);
  652. /*! \brief Writes the bit group 'enable' of register 'VIN_S_Trigger1Start'. */
  653. void GH_VIN_set_S_Trigger1Start_enable(U8 data);
  654. /*! \brief Reads the bit group 'enable' of register 'VIN_S_Trigger1Start'. */
  655. U8 GH_VIN_get_S_Trigger1Start_enable(void);
  656. /*----------------------------------------------------------------------------*/
  657. /* register VIN_S_Trigger1End (read/write) */
  658. /*----------------------------------------------------------------------------*/
  659. /*! \brief Writes the register 'VIN_S_Trigger1End'. */
  660. void GH_VIN_set_S_Trigger1End(U32 data);
  661. /*! \brief Reads the register 'VIN_S_Trigger1End'. */
  662. U32 GH_VIN_get_S_Trigger1End(void);
  663. /*! \brief Writes the bit group 'endline' of register 'VIN_S_Trigger1End'. */
  664. void GH_VIN_set_S_Trigger1End_endline(U16 data);
  665. /*! \brief Reads the bit group 'endline' of register 'VIN_S_Trigger1End'. */
  666. U16 GH_VIN_get_S_Trigger1End_endline(void);
  667. /*----------------------------------------------------------------------------*/
  668. /* register VIN_S_VoutStart0 (read/write) */
  669. /*----------------------------------------------------------------------------*/
  670. /*! \brief Writes the register 'VIN_S_VoutStart0'. */
  671. void GH_VIN_set_S_VoutStart0(U32 data);
  672. /*! \brief Reads the register 'VIN_S_VoutStart0'. */
  673. U32 GH_VIN_get_S_VoutStart0(void);
  674. /*! \brief Writes the bit group 'startline' of register 'VIN_S_VoutStart0'. */
  675. void GH_VIN_set_S_VoutStart0_startline(U16 data);
  676. /*! \brief Reads the bit group 'startline' of register 'VIN_S_VoutStart0'. */
  677. U16 GH_VIN_get_S_VoutStart0_startline(void);
  678. /*! \brief Writes the bit group 'disable_field_check' of register 'VIN_S_VoutStart0'. */
  679. void GH_VIN_set_S_VoutStart0_disable_field_check(U8 data);
  680. /*! \brief Reads the bit group 'disable_field_check' of register 'VIN_S_VoutStart0'. */
  681. U8 GH_VIN_get_S_VoutStart0_disable_field_check(void);
  682. /*----------------------------------------------------------------------------*/
  683. /* register VIN_S_VoutStart1 (read/write) */
  684. /*----------------------------------------------------------------------------*/
  685. /*! \brief Writes the register 'VIN_S_VoutStart1'. */
  686. void GH_VIN_set_S_VoutStart1(U32 data);
  687. /*! \brief Reads the register 'VIN_S_VoutStart1'. */
  688. U32 GH_VIN_get_S_VoutStart1(void);
  689. /*! \brief Writes the bit group 'startline' of register 'VIN_S_VoutStart1'. */
  690. void GH_VIN_set_S_VoutStart1_startline(U16 data);
  691. /*! \brief Reads the bit group 'startline' of register 'VIN_S_VoutStart1'. */
  692. U16 GH_VIN_get_S_VoutStart1_startline(void);
  693. /*! \brief Writes the bit group 'disable_field_check' of register 'VIN_S_VoutStart1'. */
  694. void GH_VIN_set_S_VoutStart1_disable_field_check(U8 data);
  695. /*! \brief Reads the bit group 'disable_field_check' of register 'VIN_S_VoutStart1'. */
  696. U8 GH_VIN_get_S_VoutStart1_disable_field_check(void);
  697. /*----------------------------------------------------------------------------*/
  698. /* register VIN_S_CapStartV (read/write) */
  699. /*----------------------------------------------------------------------------*/
  700. /*! \brief Writes the register 'VIN_S_CapStartV'. */
  701. void GH_VIN_set_S_CapStartV(U32 data);
  702. /*! \brief Reads the register 'VIN_S_CapStartV'. */
  703. U32 GH_VIN_get_S_CapStartV(void);
  704. /*! \brief Writes the bit group 'startline' of register 'VIN_S_CapStartV'. */
  705. void GH_VIN_set_S_CapStartV_startline(U16 data);
  706. /*! \brief Reads the bit group 'startline' of register 'VIN_S_CapStartV'. */
  707. U16 GH_VIN_get_S_CapStartV_startline(void);
  708. /*----------------------------------------------------------------------------*/
  709. /* register VIN_S_CapStartH (read/write) */
  710. /*----------------------------------------------------------------------------*/
  711. /*! \brief Writes the register 'VIN_S_CapStartH'. */
  712. void GH_VIN_set_S_CapStartH(U32 data);
  713. /*! \brief Reads the register 'VIN_S_CapStartH'. */
  714. U32 GH_VIN_get_S_CapStartH(void);
  715. /*! \brief Writes the bit group 'startcol' of register 'VIN_S_CapStartH'. */
  716. void GH_VIN_set_S_CapStartH_startcol(U16 data);
  717. /*! \brief Reads the bit group 'startcol' of register 'VIN_S_CapStartH'. */
  718. U16 GH_VIN_get_S_CapStartH_startcol(void);
  719. /*----------------------------------------------------------------------------*/
  720. /* register VIN_S_CapEndV (read/write) */
  721. /*----------------------------------------------------------------------------*/
  722. /*! \brief Writes the register 'VIN_S_CapEndV'. */
  723. void GH_VIN_set_S_CapEndV(U32 data);
  724. /*! \brief Reads the register 'VIN_S_CapEndV'. */
  725. U32 GH_VIN_get_S_CapEndV(void);
  726. /*! \brief Writes the bit group 'endline' of register 'VIN_S_CapEndV'. */
  727. void GH_VIN_set_S_CapEndV_endline(U16 data);
  728. /*! \brief Reads the bit group 'endline' of register 'VIN_S_CapEndV'. */
  729. U16 GH_VIN_get_S_CapEndV_endline(void);
  730. /*----------------------------------------------------------------------------*/
  731. /* register VIN_S_CapEndH (read/write) */
  732. /*----------------------------------------------------------------------------*/
  733. /*! \brief Writes the register 'VIN_S_CapEndH'. */
  734. void GH_VIN_set_S_CapEndH(U32 data);
  735. /*! \brief Reads the register 'VIN_S_CapEndH'. */
  736. U32 GH_VIN_get_S_CapEndH(void);
  737. /*! \brief Writes the bit group 'endcol' of register 'VIN_S_CapEndH'. */
  738. void GH_VIN_set_S_CapEndH_endcol(U16 data);
  739. /*! \brief Reads the bit group 'endcol' of register 'VIN_S_CapEndH'. */
  740. U16 GH_VIN_get_S_CapEndH_endcol(void);
  741. /*----------------------------------------------------------------------------*/
  742. /* register VIN_S_BlankLengthH (read/write) */
  743. /*----------------------------------------------------------------------------*/
  744. /*! \brief Writes the register 'VIN_S_BlankLengthH'. */
  745. void GH_VIN_set_S_BlankLengthH(U32 data);
  746. /*! \brief Reads the register 'VIN_S_BlankLengthH'. */
  747. U32 GH_VIN_get_S_BlankLengthH(void);
  748. /*! \brief Writes the bit group 'blank_length' of register 'VIN_S_BlankLengthH'. */
  749. void GH_VIN_set_S_BlankLengthH_blank_length(U16 data);
  750. /*! \brief Reads the bit group 'blank_length' of register 'VIN_S_BlankLengthH'. */
  751. U16 GH_VIN_get_S_BlankLengthH_blank_length(void);
  752. /*----------------------------------------------------------------------------*/
  753. /* register VIN_S_TimeoutVLow (read/write) */
  754. /*----------------------------------------------------------------------------*/
  755. /*! \brief Writes the register 'VIN_S_TimeoutVLow'. */
  756. void GH_VIN_set_S_TimeoutVLow(U32 data);
  757. /*! \brief Reads the register 'VIN_S_TimeoutVLow'. */
  758. U32 GH_VIN_get_S_TimeoutVLow(void);
  759. /*! \brief Writes the bit group 'vsync_timeout_low' of register 'VIN_S_TimeoutVLow'. */
  760. void GH_VIN_set_S_TimeoutVLow_vsync_timeout_low(U16 data);
  761. /*! \brief Reads the bit group 'vsync_timeout_low' of register 'VIN_S_TimeoutVLow'. */
  762. U16 GH_VIN_get_S_TimeoutVLow_vsync_timeout_low(void);
  763. /*----------------------------------------------------------------------------*/
  764. /* register VIN_S_TimeoutVHigh (read/write) */
  765. /*----------------------------------------------------------------------------*/
  766. /*! \brief Writes the register 'VIN_S_TimeoutVHigh'. */
  767. void GH_VIN_set_S_TimeoutVHigh(U32 data);
  768. /*! \brief Reads the register 'VIN_S_TimeoutVHigh'. */
  769. U32 GH_VIN_get_S_TimeoutVHigh(void);
  770. /*! \brief Writes the bit group 'vsync_timeout_high' of register 'VIN_S_TimeoutVHigh'. */
  771. void GH_VIN_set_S_TimeoutVHigh_vsync_timeout_high(U16 data);
  772. /*! \brief Reads the bit group 'vsync_timeout_high' of register 'VIN_S_TimeoutVHigh'. */
  773. U16 GH_VIN_get_S_TimeoutVHigh_vsync_timeout_high(void);
  774. /*----------------------------------------------------------------------------*/
  775. /* register VIN_S_TimeoutHLow (read/write) */
  776. /*----------------------------------------------------------------------------*/
  777. /*! \brief Writes the register 'VIN_S_TimeoutHLow'. */
  778. void GH_VIN_set_S_TimeoutHLow(U32 data);
  779. /*! \brief Reads the register 'VIN_S_TimeoutHLow'. */
  780. U32 GH_VIN_get_S_TimeoutHLow(void);
  781. /*! \brief Writes the bit group 'hsync_timeout_low' of register 'VIN_S_TimeoutHLow'. */
  782. void GH_VIN_set_S_TimeoutHLow_hsync_timeout_low(U16 data);
  783. /*! \brief Reads the bit group 'hsync_timeout_low' of register 'VIN_S_TimeoutHLow'. */
  784. U16 GH_VIN_get_S_TimeoutHLow_hsync_timeout_low(void);
  785. /*----------------------------------------------------------------------------*/
  786. /* register VIN_S_TimeoutHHigh (read/write) */
  787. /*----------------------------------------------------------------------------*/
  788. /*! \brief Writes the register 'VIN_S_TimeoutHHigh'. */
  789. void GH_VIN_set_S_TimeoutHHigh(U32 data);
  790. /*! \brief Reads the register 'VIN_S_TimeoutHHigh'. */
  791. U32 GH_VIN_get_S_TimeoutHHigh(void);
  792. /*! \brief Writes the bit group 'hsync_timeout_high' of register 'VIN_S_TimeoutHHigh'. */
  793. void GH_VIN_set_S_TimeoutHHigh_hsync_timeout_high(U16 data);
  794. /*! \brief Reads the bit group 'hsync_timeout_high' of register 'VIN_S_TimeoutHHigh'. */
  795. U16 GH_VIN_get_S_TimeoutHHigh_hsync_timeout_high(void);
  796. /*----------------------------------------------------------------------------*/
  797. /* register VIN_S_debugFifoCount (read) */
  798. /*----------------------------------------------------------------------------*/
  799. /*! \brief Reads the register 'VIN_S_debugFifoCount'. */
  800. U32 GH_VIN_get_S_debugFifoCount(void);
  801. /*! \brief Reads the bit group 'num_words_in_fifo' of register 'VIN_S_debugFifoCount'. */
  802. U16 GH_VIN_get_S_debugFifoCount_num_words_in_fifo(void);
  803. /*----------------------------------------------------------------------------*/
  804. /* register VIN_S_debugFifoData0 (read) */
  805. /*----------------------------------------------------------------------------*/
  806. /*! \brief Reads the register 'VIN_S_debugFifoData0'. */
  807. U32 GH_VIN_get_S_debugFifoData0(void);
  808. /*! \brief Reads the bit group 'pixel_0_read_data' of register 'VIN_S_debugFifoData0'. */
  809. U16 GH_VIN_get_S_debugFifoData0_pixel_0_read_data(void);
  810. /*----------------------------------------------------------------------------*/
  811. /* register VIN_S_debugFifoData1 (read) */
  812. /*----------------------------------------------------------------------------*/
  813. /*! \brief Reads the register 'VIN_S_debugFifoData1'. */
  814. U32 GH_VIN_get_S_debugFifoData1(void);
  815. /*! \brief Reads the bit group 'pixel_1_read_data' of register 'VIN_S_debugFifoData1'. */
  816. U16 GH_VIN_get_S_debugFifoData1_pixel_1_read_data(void);
  817. /*----------------------------------------------------------------------------*/
  818. /* register VIN_S_debugStall (read) */
  819. /*----------------------------------------------------------------------------*/
  820. /*! \brief Reads the register 'VIN_S_debugStall'. */
  821. U32 GH_VIN_get_S_debugStall(void);
  822. /*! \brief Reads the bit group 'output_interface_stall' of register 'VIN_S_debugStall'. */
  823. U8 GH_VIN_get_S_debugStall_output_interface_stall(void);
  824. /*----------------------------------------------------------------------------*/
  825. /* register VIN_S_slvsSatus (read) */
  826. /*----------------------------------------------------------------------------*/
  827. /*! \brief Reads the register 'VIN_S_slvsSatus'. */
  828. U32 GH_VIN_get_S_slvsSatus(void);
  829. /*! \brief Reads the bit group 'slvs_lock_state' of register 'VIN_S_slvsSatus'. */
  830. U8 GH_VIN_get_S_slvsSatus_slvs_lock_state(void);
  831. /*! \brief Reads the bit group 'detected_sync_code_match' of register 'VIN_S_slvsSatus'. */
  832. U8 GH_VIN_get_S_slvsSatus_detected_sync_code_match(void);
  833. /*! \brief Reads the bit group 'detected_start_of_frame' of register 'VIN_S_slvsSatus'. */
  834. U8 GH_VIN_get_S_slvsSatus_detected_start_of_frame(void);
  835. /*! \brief Reads the bit group 'detected_vsync' of register 'VIN_S_slvsSatus'. */
  836. U8 GH_VIN_get_S_slvsSatus_detected_vsync(void);
  837. /*! \brief Reads the bit group 'detected_start_of_line' of register 'VIN_S_slvsSatus'. */
  838. U8 GH_VIN_get_S_slvsSatus_detected_start_of_line(void);
  839. /*! \brief Reads the bit group 'valid_pixel_generated' of register 'VIN_S_slvsSatus'. */
  840. U8 GH_VIN_get_S_slvsSatus_valid_pixel_generated(void);
  841. /*! \brief Reads the bit group 'end_of_line_generated' of register 'VIN_S_slvsSatus'. */
  842. U8 GH_VIN_get_S_slvsSatus_end_of_line_generated(void);
  843. /*! \brief Reads the bit group 'corrected_error' of register 'VIN_S_slvsSatus'. */
  844. U8 GH_VIN_get_S_slvsSatus_corrected_error(void);
  845. /*----------------------------------------------------------------------------*/
  846. /* init function */
  847. /*----------------------------------------------------------------------------*/
  848. /*! \brief Initialises the registers and mirror variables. */
  849. void GH_VIN_init(void);
  850. #ifdef SRC_INLINE
  851. #define SRC_INC 1
  852. #include "gh_vin.c"
  853. #undef SRC_INC
  854. #endif
  855. #ifdef __cplusplus
  856. }
  857. #endif
  858. #endif /* _GH_VIN_H */
  859. /*----------------------------------------------------------------------------*/
  860. /* end of file */
  861. /*----------------------------------------------------------------------------*/