gh_ephy.h 107 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136
  1. /*!
  2. *******************************************************************************
  3. **
  4. ** \file gh_ephy.h
  5. **
  6. ** \brief Ethernet PHY controller.
  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_EPHY_H
  18. #define _GH_EPHY_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_EPHY_ENABLE_DEBUG_PRINT 0
  30. #ifdef __LINUX__
  31. #define GH_EPHY_DEBUG_PRINT_FUNCTION printk
  32. #else
  33. #define GH_EPHY_DEBUG_PRINT_FUNCTION printf
  34. #endif
  35. #ifndef __LINUX__
  36. #if GH_EPHY_ENABLE_DEBUG_PRINT
  37. #include <stdio.h>
  38. #endif
  39. #endif
  40. /*----------------------------------------------------------------------------*/
  41. /* registers */
  42. /*----------------------------------------------------------------------------*/
  43. #define REG_EPHY_MII_RMII FIO_ADDRESS(EPHY,0x90020E00) /* read/write */
  44. #define REG_EPHY_CONTROL FIO_ADDRESS(EPHY,0x90022000) /* read/write */
  45. #define REG_EPHY_STATUS FIO_ADDRESS(EPHY,0x90022004) /* read */
  46. #define REG_EPHY_ID1 FIO_ADDRESS(EPHY,0x90022008) /* read */
  47. #define REG_EPHY_ID2 FIO_ADDRESS(EPHY,0x9002200C) /* read */
  48. #define REG_EPHY_ANAR FIO_ADDRESS(EPHY,0x90022010) /* read/write */
  49. #define REG_EPHY_ANLPAR FIO_ADDRESS(EPHY,0x90022014) /* read */
  50. #define REG_EPHY_ANER FIO_ADDRESS(EPHY,0x90022018) /* read/write */
  51. #define REG_EPHY_ANNPAR FIO_ADDRESS(EPHY,0x9002201C) /* read/write */
  52. #define REG_EPHY_ANLPNP FIO_ADDRESS(EPHY,0x90022020) /* read */
  53. #define REG_EPHY_MS_CONTROL FIO_ADDRESS(EPHY,0x90022024) /* read/write */
  54. #define REG_EPHY_MS_STATUS FIO_ADDRESS(EPHY,0x90022028) /* read */
  55. #define REG_EPHY_PSE_CONTROL FIO_ADDRESS(EPHY,0x9002202C) /* read/write */
  56. #define REG_EPHY_PSE_STATUS FIO_ADDRESS(EPHY,0x90022030) /* read */
  57. #define REG_EPHY_MMD_CONTROL FIO_ADDRESS(EPHY,0x90022034) /* read/write */
  58. #define REG_EPHY_MMD_CONTROL_ADDR FIO_ADDRESS(EPHY,0x90022038) /* read/write */
  59. #define REG_EPHY_AN_R_15 FIO_ADDRESS(EPHY,0x9002203C) /* read */
  60. #define REG_EPHY_WAVE_SHAPING_34 FIO_ADDRESS(EPHY,0x90022040) /* read/write */
  61. #define REG_EPHY_WAVE_SHAPING_56 FIO_ADDRESS(EPHY,0x90022044) /* read/write */
  62. #define REG_EPHY_WAVE_SHAPING_78 FIO_ADDRESS(EPHY,0x90022048) /* read/write */
  63. #define REG_EPHY_WAVE_SHAPING_9A FIO_ADDRESS(EPHY,0x9002204C) /* read/write */
  64. #define REG_EPHY_WAVE_SHAPING_BC FIO_ADDRESS(EPHY,0x90022050) /* read/write */
  65. #define REG_EPHY_WAVE_SHAPING_DE FIO_ADDRESS(EPHY,0x90022054) /* read/write */
  66. #define REG_EPHY_SPEED FIO_ADDRESS(EPHY,0x90022058) /* read/write */
  67. #define REG_EPHY_LTP FIO_ADDRESS(EPHY,0x9002205C) /* read/write */
  68. #define REG_EPHY_MCU FIO_ADDRESS(EPHY,0x90022060) /* read/write */
  69. #define REG_EPHY_CODE_RAM FIO_ADDRESS(EPHY,0x90022064) /* read/write */
  70. #define REG_EPHY_CODE_RAM_W FIO_ADDRESS(EPHY,0x90022068) /* read/write */
  71. #define REG_EPHY_100M_LINK FIO_ADDRESS(EPHY,0x90022088) /* read/write */
  72. #define REG_EPHY_DEBUG FIO_ADDRESS(EPHY,0x900220C8) /* read/write */
  73. #define REG_EPHY_DEBUG_MODE FIO_ADDRESS(EPHY,0x900220E0) /* read/write */
  74. #define REG_EPHY_RST_EN FIO_ADDRESS(EPHY,0x900220E4) /* read/write */
  75. #define REG_EPHY_SNR_K FIO_ADDRESS(EPHY,0x90022284) /* read/write */
  76. #define REG_EPHY_DET_MAX FIO_ADDRESS(EPHY,0x9002229C) /* read/write */
  77. #define REG_EPHY_DET_MIN FIO_ADDRESS(EPHY,0x900222A0) /* read/write */
  78. #define REG_EPHY_SNR_LEN FIO_ADDRESS(EPHY,0x900222EC) /* read/write */
  79. #define REG_EPHY_LPF FIO_ADDRESS(EPHY,0x90022340) /* read/write */
  80. #define REG_EPHY_ADC_GAIN_PGA FIO_ADDRESS(EPHY,0x9002236C) /* read/write */
  81. #define REG_EPHY_ADC_GSHIFT FIO_ADDRESS(EPHY,0x90022368) /* read/write */
  82. #define REG_EPHY_ADC FIO_ADDRESS(EPHY,0x9002236C) /* read/write */
  83. #define REG_EPHY_PLL_ADC_CTRL3 FIO_ADDRESS(EPHY,0x90022370) /* read/write */
  84. #define REG_EPHY_RX_LPF FIO_ADDRESS(EPHY,0x90022374) /* read/write */
  85. #define REG_EPHY_PLL_ADC_CTRL0 FIO_ADDRESS(EPHY,0x90022394) /* read/write */
  86. #define REG_EPHY_PLL_ADC_CTRL1 FIO_ADDRESS(EPHY,0x90022398) /* read/write */
  87. #define REG_EPHY_PLL_ADC_CTRL2 FIO_ADDRESS(EPHY,0x900223A8) /* read/write */
  88. #define REG_EPHY_TEST_TX FIO_ADDRESS(EPHY,0x900223B0) /* read/write */
  89. #define REG_EPHY_PWR FIO_ADDRESS(EPHY,0x900223BC) /* read/write */
  90. #define REG_EPHY_ADC_DC FIO_ADDRESS(EPHY,0x900223D4) /* read/write */
  91. #define REG_EPHY_ADCPL FIO_ADDRESS(EPHY,0x900223E8) /* read/write */
  92. #define REG_EPHY_LDO FIO_ADDRESS(EPHY,0x900223F8) /* read/write */
  93. #define REG_EPHY_CLK_GATE FIO_ADDRESS(EPHY,0x90022450) /* read */
  94. #define REG_EPHY_CLK1 FIO_ADDRESS(EPHY,0x90022460) /* read/write */
  95. #define REG_EPHY_GCR_TX FIO_ADDRESS(EPHY,0x90022470) /* read/write */
  96. #define REG_EPHY_POWER FIO_ADDRESS(EPHY,0x90022474) /* read/write */
  97. #define REG_EPHY_MDIIO FIO_ADDRESS(EPHY,0x90022540) /* read/write */
  98. #define REG_EPHY_CLK0 FIO_ADDRESS(EPHY,0x90022588) /* read/write */
  99. #define REG_EPHY_WAVE_CTRL FIO_ADDRESS(EPHY,0x900225D0) /* read/write */
  100. /*----------------------------------------------------------------------------*/
  101. /* bit group structures */
  102. /*----------------------------------------------------------------------------*/
  103. typedef union { /* EPHY_MII_RMII */
  104. U32 all;
  105. struct {
  106. U32 usb_tm1 : 1;
  107. U32 rmii : 1;
  108. U32 : 30;
  109. } bitc;
  110. } GH_EPHY_MII_RMII_S;
  111. typedef union { /* EPHY_CONTROL */
  112. U16 all;
  113. struct {
  114. U16 : 5;
  115. U16 mii_ctl_unidirectional_enable: 1;
  116. U16 mii_ctl_speed_sel_msb : 1;
  117. U16 mii_ctl_col_test : 1;
  118. U16 mii_ctl_duplex_mode : 1;
  119. U16 mii_ctl_restart_an : 1;
  120. U16 mii_ctl_isolate : 1;
  121. U16 mii_ctl_power_down : 1;
  122. U16 mii_ctl_an_en : 1;
  123. U16 mii_ctl_speed_sel_lsb : 1;
  124. U16 mii_ctl_loopback : 1;
  125. U16 mii_ctl_reset : 1;
  126. } bitc;
  127. } GH_EPHY_CONTROL_S;
  128. typedef union { /* EPHY_STATUS */
  129. U16 all;
  130. struct {
  131. U16 extended_capability : 1;
  132. U16 jabber_detect : 1;
  133. U16 link_status : 1;
  134. U16 an_ability : 1;
  135. U16 rf : 1;
  136. U16 an_complete : 1;
  137. U16 mf_preamble_suppression : 1;
  138. U16 unidirectional_ability : 1;
  139. U16 extended_status : 1;
  140. U16 half_duplex_100t2 : 1;
  141. U16 full_duplex_100t2 : 1;
  142. U16 half_duplex_10 : 1;
  143. U16 full_duplex_10 : 1;
  144. U16 half_duplex_100x : 1;
  145. U16 full_duplex_100x : 1;
  146. U16 t4_100 : 1;
  147. } bitc;
  148. } GH_EPHY_STATUS_S;
  149. typedef union { /* EPHY_ANAR */
  150. U16 all;
  151. struct {
  152. U16 selector : 5;
  153. U16 tech_ability : 8;
  154. U16 rf : 1;
  155. U16 : 1;
  156. U16 np : 1;
  157. } bitc;
  158. } GH_EPHY_ANAR_S;
  159. typedef union { /* EPHY_ANLPAR */
  160. U16 all;
  161. struct {
  162. U16 selector : 5;
  163. U16 tech_ability : 8;
  164. U16 rf : 1;
  165. U16 ack : 1;
  166. U16 np : 1;
  167. } bitc;
  168. } GH_EPHY_ANLPAR_S;
  169. typedef union { /* EPHY_ANER */
  170. U16 all;
  171. struct {
  172. U16 lp_an_able : 1;
  173. U16 page_rec : 1;
  174. U16 np_able : 1;
  175. U16 lp_np_able : 1;
  176. U16 pd_fault : 1;
  177. U16 np_location : 1;
  178. U16 np_location_able : 1;
  179. U16 : 9;
  180. } bitc;
  181. } GH_EPHY_ANER_S;
  182. typedef union { /* EPHY_ANNPAR */
  183. U16 all;
  184. struct {
  185. U16 msg : 11;
  186. U16 toggle : 1;
  187. U16 ack2 : 1;
  188. U16 mp : 1;
  189. U16 : 1;
  190. U16 np : 1;
  191. } bitc;
  192. } GH_EPHY_ANNPAR_S;
  193. typedef union { /* EPHY_ANLPNP */
  194. U16 all;
  195. struct {
  196. U16 msg : 11;
  197. U16 toggle : 1;
  198. U16 ack2 : 1;
  199. U16 mp : 1;
  200. U16 : 1;
  201. U16 np : 1;
  202. } bitc;
  203. } GH_EPHY_ANLPNP_S;
  204. typedef union { /* EPHY_MMD_CONTROL */
  205. U16 all;
  206. struct {
  207. U16 devad : 5;
  208. U16 : 9;
  209. U16 func : 2;
  210. } bitc;
  211. } GH_EPHY_MMD_CONTROL_S;
  212. typedef union { /* EPHY_AN_R_15 */
  213. U16 all;
  214. struct {
  215. U16 : 12;
  216. U16 an_register_15 : 2;
  217. U16 : 2;
  218. } bitc;
  219. } GH_EPHY_AN_R_15_S;
  220. typedef union { /* EPHY_WAVE_SHAPING_34 */
  221. U16 all;
  222. struct {
  223. U16 ltp_3 : 8;
  224. U16 ltp_4 : 8;
  225. } bitc;
  226. } GH_EPHY_WAVE_SHAPING_34_S;
  227. typedef union { /* EPHY_WAVE_SHAPING_56 */
  228. U16 all;
  229. struct {
  230. U16 ltp_5 : 8;
  231. U16 ltp_6 : 8;
  232. } bitc;
  233. } GH_EPHY_WAVE_SHAPING_56_S;
  234. typedef union { /* EPHY_WAVE_SHAPING_78 */
  235. U16 all;
  236. struct {
  237. U16 ltp_7 : 8;
  238. U16 ltp_8 : 8;
  239. } bitc;
  240. } GH_EPHY_WAVE_SHAPING_78_S;
  241. typedef union { /* EPHY_WAVE_SHAPING_9A */
  242. U16 all;
  243. struct {
  244. U16 ltp_9 : 8;
  245. U16 ltp_a : 8;
  246. } bitc;
  247. } GH_EPHY_WAVE_SHAPING_9A_S;
  248. typedef union { /* EPHY_WAVE_SHAPING_BC */
  249. U16 all;
  250. struct {
  251. U16 ltp_b : 8;
  252. U16 ltp_c : 8;
  253. } bitc;
  254. } GH_EPHY_WAVE_SHAPING_BC_S;
  255. typedef union { /* EPHY_WAVE_SHAPING_DE */
  256. U16 all;
  257. struct {
  258. U16 ltp_d : 8;
  259. U16 ltp_e : 8;
  260. } bitc;
  261. } GH_EPHY_WAVE_SHAPING_DE_S;
  262. typedef union { /* EPHY_SPEED */
  263. U16 all;
  264. struct {
  265. U16 ltp_f : 8;
  266. U16 isolate : 1;
  267. U16 rptr : 1;
  268. U16 duplex : 1;
  269. U16 speed : 1;
  270. U16 ane : 1;
  271. U16 ldps : 1;
  272. U16 disable_eee_force : 1;
  273. U16 : 1;
  274. } bitc;
  275. } GH_EPHY_SPEED_S;
  276. typedef union { /* EPHY_LTP */
  277. U16 all;
  278. struct {
  279. U16 width : 4;
  280. U16 tx_gm_rctrl : 4;
  281. U16 : 8;
  282. } bitc;
  283. } GH_EPHY_LTP_S;
  284. typedef union { /* EPHY_MCU */
  285. U16 all;
  286. struct {
  287. U16 en : 1;
  288. U16 mcu_rdy : 1;
  289. U16 : 14;
  290. } bitc;
  291. } GH_EPHY_MCU_S;
  292. typedef union { /* EPHY_CODE_RAM */
  293. U16 all;
  294. struct {
  295. U16 start_addr : 16;
  296. } bitc;
  297. } GH_EPHY_CODE_RAM_S;
  298. typedef union { /* EPHY_CODE_RAM_W */
  299. U16 all;
  300. struct {
  301. U16 start_addr : 16;
  302. } bitc;
  303. } GH_EPHY_CODE_RAM_W_S;
  304. typedef union { /* EPHY_100M_LINK */
  305. U16 all;
  306. struct {
  307. U16 an_mcu_100t_link_control : 2;
  308. U16 an_mcu_nlp_link_control : 2;
  309. U16 nlp_frame_start_mode_en : 1;
  310. U16 detect_100m : 1;
  311. U16 mcu_an_enable : 1;
  312. U16 force_100m_link_good : 1;
  313. U16 an_100t_link_status : 2;
  314. U16 an_nlp_link_status : 2;
  315. U16 mdio_disable : 1;
  316. U16 mdc_edge_sel : 1;
  317. U16 an_bypass_link_status_check : 1;
  318. U16 adc_loop : 1;
  319. } bitc;
  320. } GH_EPHY_100M_LINK_S;
  321. typedef union { /* EPHY_DEBUG */
  322. U16 all;
  323. struct {
  324. U16 snr_locked : 1;
  325. U16 snr_locked_raw : 1;
  326. U16 sig_det_flag : 1;
  327. U16 state_sync_on : 1;
  328. U16 state_st_lk : 3;
  329. U16 : 1;
  330. U16 mux_recov_cnt : 6;
  331. U16 test_mux_sel : 2;
  332. } bitc;
  333. } GH_EPHY_DEBUG_S;
  334. typedef union { /* EPHY_DEBUG_MODE */
  335. U16 all;
  336. struct {
  337. U16 signal : 8;
  338. U16 module : 8;
  339. } bitc;
  340. } GH_EPHY_DEBUG_MODE_S;
  341. typedef union { /* EPHY_RST_EN */
  342. U16 all;
  343. struct {
  344. U16 mau_srst : 1;
  345. U16 pls_srst : 1;
  346. U16 sqe_test_enable : 1;
  347. U16 lpbk_enable : 1;
  348. U16 jabber_enable : 1;
  349. U16 ser_polarity_correction : 1;
  350. U16 por_stick_mode : 1;
  351. U16 recv_bit_bucket : 1;
  352. U16 rxclk_pol : 1;
  353. U16 txclk_pol : 1;
  354. U16 adc_input_sign : 1;
  355. U16 mii_test_packet : 1;
  356. U16 clear_rcvpack : 1;
  357. U16 miiloop_en_10m : 1;
  358. U16 mii_rxclk_pol : 1;
  359. U16 mii_txclk_pol : 1;
  360. } bitc;
  361. } GH_EPHY_RST_EN_S;
  362. typedef union { /* EPHY_SNR_K */
  363. U16 all;
  364. struct {
  365. U16 slice_up : 8;
  366. U16 snrchk_k1 : 2;
  367. U16 snrchk_k2 : 2;
  368. U16 snrchk_k3 : 2;
  369. U16 gcr_ccpl_master_coarse_clkcc: 2;
  370. } bitc;
  371. } GH_EPHY_SNR_K_S;
  372. typedef union { /* EPHY_DET_MAX */
  373. U16 all;
  374. struct {
  375. U16 thrh_max_vga_coarse : 8;
  376. U16 thrh_max_sig_det : 8;
  377. } bitc;
  378. } GH_EPHY_DET_MAX_S;
  379. typedef union { /* EPHY_DET_MIN */
  380. U16 all;
  381. struct {
  382. U16 thrh_max_vga_fine : 8;
  383. U16 thrh_min_sig_det : 8;
  384. } bitc;
  385. } GH_EPHY_DET_MIN_S;
  386. typedef union { /* EPHY_SNR_LEN */
  387. U16 all;
  388. struct {
  389. U16 mcu_ctrl_dsp_fsm_state : 8;
  390. U16 force_100m_en : 1;
  391. U16 force_100m_snr_lock : 1;
  392. U16 dsp_fsm_agc_en_mode_a : 1;
  393. U16 cable_len_offset : 2;
  394. U16 : 3;
  395. } bitc;
  396. } GH_EPHY_SNR_LEN_S;
  397. typedef union { /* EPHY_LPF */
  398. U16 all;
  399. struct {
  400. U16 lpf_out_h : 10;
  401. U16 rxlpf_bwsel_10t : 2;
  402. U16 rxlpf_bwsel_100t : 2;
  403. U16 cable_length : 2;
  404. } bitc;
  405. } GH_EPHY_LPF_S;
  406. typedef union { /* EPHY_ADC_GAIN_PGA */
  407. U16 all;
  408. struct {
  409. U16 adc_bp : 4;
  410. U16 dac10t_testen : 1;
  411. U16 dac100t_testen : 1;
  412. U16 : 2;
  413. U16 adc_bma : 4;
  414. U16 adc_pd : 1;
  415. U16 region_bank_rd : 1;
  416. U16 adcpll_ana_clken : 1;
  417. U16 adcbin_testen : 1;
  418. } bitc;
  419. } GH_EPHY_ADC_GAIN_PGA_S;
  420. typedef union { /* EPHY_ADC_GSHIFT */
  421. U16 all;
  422. struct {
  423. U16 adc_gshift : 2;
  424. U16 gain : 6;
  425. U16 : 8;
  426. } bitc;
  427. } GH_EPHY_ADC_GSHIFT_S;
  428. typedef union { /* EPHY_ADC */
  429. U16 all;
  430. struct {
  431. U16 adc_bp : 4;
  432. U16 dac10t_testen : 1;
  433. U16 reg_dac100t_testen : 1;
  434. U16 : 2;
  435. U16 adc_bma : 4;
  436. U16 adc_pd : 1;
  437. U16 region_bank_rd : 1;
  438. U16 adcpll_ana_clken : 1;
  439. U16 adcbin_testen : 1;
  440. } bitc;
  441. } GH_EPHY_ADC_S;
  442. typedef union { /* EPHY_PLL_ADC_CTRL3 */
  443. U16 all;
  444. struct {
  445. U16 : 8;
  446. U16 rxlpf_pd : 1;
  447. U16 tx_b_test : 6;
  448. U16 : 1;
  449. } bitc;
  450. } GH_EPHY_PLL_ADC_CTRL3_S;
  451. typedef union { /* EPHY_RX_LPF */
  452. U16 all;
  453. struct {
  454. U16 rxlpf_ibsel : 4;
  455. U16 rxlpf_bwsel : 2;
  456. U16 unkown : 4;
  457. U16 rxlpf_cmsel : 1;
  458. U16 rxlpf_outp_test : 1;
  459. U16 rxlpf_outm_test : 1;
  460. U16 rxlpf_bypass : 1;
  461. U16 ref_pd : 1;
  462. U16 ref_iint_pd : 1;
  463. } bitc;
  464. } GH_EPHY_RX_LPF_S;
  465. typedef union { /* EPHY_PLL_ADC_CTRL0 */
  466. U16 all;
  467. struct {
  468. U16 ro_adcpl_lock : 1;
  469. U16 gcr_adcpl_div : 3;
  470. U16 test_adcpl_extcksel : 1;
  471. U16 ro_adcpl_high_flag : 1;
  472. U16 pllclk_outen : 1;
  473. U16 ov_ref_test : 1;
  474. U16 gc_adcpl_rstb : 1;
  475. U16 ref_bgap_pd : 1;
  476. U16 adcraw_tst : 1;
  477. U16 adcraw_tst_sw : 1;
  478. U16 ldo_pwrgd : 1;
  479. U16 adcraw_overflow : 1;
  480. U16 adcpl_force_phase : 1;
  481. U16 gcr_adcpl_tog_clkcc : 1;
  482. } bitc;
  483. } GH_EPHY_PLL_ADC_CTRL0_S;
  484. typedef union { /* EPHY_PLL_ADC_CTRL1 */
  485. U16 all;
  486. struct {
  487. U16 gc_adcpl_adcpd0 : 1;
  488. U16 gc_adcpl_adcpd1 : 1;
  489. U16 gc_adcpl_ccpd0 : 1;
  490. U16 gc_adcpl_ccpd1 : 1;
  491. U16 pd_adcpl_reg : 1;
  492. U16 gcr_adcpl_mod_100t : 2;
  493. U16 gcr_adcpl_ictrl : 3;
  494. U16 gcr_adcpl_enfrunz : 1;
  495. U16 en_adcpl_porst : 1;
  496. U16 en_adcpl_adcphdac : 1;
  497. U16 gc_adcpl_adcselect : 1;
  498. U16 tx_d_test : 2;
  499. } bitc;
  500. } GH_EPHY_PLL_ADC_CTRL1_S;
  501. typedef union { /* EPHY_PLL_ADC_CTRL2 */
  502. U16 all;
  503. struct {
  504. U16 gc_ref_vgen : 1;
  505. U16 gc_ref_vcom : 2;
  506. U16 gc_ref_vcmpcmvx : 2;
  507. U16 pd_lpf_op : 1;
  508. U16 gc_adc_force1 : 1;
  509. U16 gc_adc_force0 : 1;
  510. U16 endiscz_10 : 1;
  511. U16 gcr_adcpl_pdphadc : 1;
  512. U16 adcpl_bank : 3;
  513. U16 adcpl_phase_force : 1;
  514. U16 adcpl_phase_force_st : 1;
  515. U16 adcpl_force_go : 1;
  516. } bitc;
  517. } GH_EPHY_PLL_ADC_CTRL2_S;
  518. typedef union { /* EPHY_PWR */
  519. U16 all;
  520. struct {
  521. U16 pwr_k_in_lp : 3;
  522. U16 dtpwr_enable_lp : 1;
  523. U16 gcr_adcpl_div_lp : 3;
  524. U16 dummy : 9;
  525. } bitc;
  526. } GH_EPHY_PWR_S;
  527. typedef union { /* EPHY_ADC_DC */
  528. U16 all;
  529. struct {
  530. U16 dc_force_en : 1;
  531. U16 dc_force : 4;
  532. U16 dc_can_inv : 1;
  533. U16 analog_blw : 1;
  534. U16 dc_k : 2;
  535. U16 srst : 1;
  536. U16 adc_cancel_out : 4;
  537. U16 adc_cancel_disable : 1;
  538. U16 adc_start : 1;
  539. } bitc;
  540. } GH_EPHY_ADC_DC_S;
  541. typedef union { /* EPHY_ADCPL */
  542. U16 all;
  543. struct {
  544. U16 mod_10t : 2;
  545. U16 mod : 2;
  546. U16 mod_lp : 2;
  547. U16 adc_frc_zero : 3;
  548. U16 adcpl_step : 4;
  549. U16 ac_a_timer_start : 1;
  550. U16 ac_sample_timer_start : 1;
  551. U16 txramp_gen_10t : 1;
  552. } bitc;
  553. } GH_EPHY_ADCPL_S;
  554. typedef union { /* EPHY_LDO */
  555. U16 all;
  556. struct {
  557. U16 dummy : 16;
  558. } bitc;
  559. } GH_EPHY_LDO_S;
  560. typedef union { /* EPHY_CLK_GATE */
  561. U16 all;
  562. struct {
  563. U16 eee_capability : 16;
  564. } bitc;
  565. } GH_EPHY_CLK_GATE_S;
  566. typedef union { /* EPHY_CLK1 */
  567. U16 all;
  568. struct {
  569. U16 unkown : 4;
  570. U16 clko_200_gat : 1;
  571. U16 clko_200_inv : 1;
  572. U16 lut_new : 1;
  573. U16 : 9;
  574. } bitc;
  575. } GH_EPHY_CLK1_S;
  576. typedef union { /* EPHY_GCR_TX */
  577. U16 all;
  578. struct {
  579. U16 ioffset_sel : 1;
  580. U16 : 3;
  581. U16 ld_vcmo : 2;
  582. U16 ph_delay : 2;
  583. U16 phase_100t : 1;
  584. U16 ld_iq_sel : 2;
  585. U16 ld_iq_ibias : 2;
  586. U16 en_tx_ioffset : 1;
  587. U16 save2x_tx : 1;
  588. U16 wssel_inv : 1;
  589. } bitc;
  590. } GH_EPHY_GCR_TX_S;
  591. typedef union { /* EPHY_POWER */
  592. U16 all;
  593. struct {
  594. U16 pd_tx_ld : 1;
  595. U16 pd_tx_idac : 1;
  596. U16 pd_dacramp_new : 1;
  597. U16 pd_dacnew_testen : 1;
  598. U16 pd_tx_ld_10t : 1;
  599. U16 pd_tx_ld_100t : 1;
  600. U16 pd_tx_ld_lp : 1;
  601. U16 pd_tx_idac_10t : 1;
  602. U16 pd_tx_idac_100t : 1;
  603. U16 pd_tx_idac_lp : 1;
  604. U16 : 6;
  605. } bitc;
  606. } GH_EPHY_POWER_S;
  607. typedef union { /* EPHY_MDIIO */
  608. U16 all;
  609. struct {
  610. U16 : 4;
  611. U16 mdio_idle_error_cnt_clear : 1;
  612. U16 : 7;
  613. U16 pd_vbuf : 1;
  614. U16 : 3;
  615. } bitc;
  616. } GH_EPHY_MDIIO_S;
  617. typedef union { /* EPHY_CLK0 */
  618. U16 all;
  619. struct {
  620. U16 lpi_tx_tq_timer_msb : 6;
  621. U16 : 7;
  622. U16 clko_125_inv : 1;
  623. U16 clko_100_gat : 1;
  624. U16 clko_100_inv : 1;
  625. } bitc;
  626. } GH_EPHY_CLK0_S;
  627. typedef union { /* EPHY_WAVE_CTRL */
  628. U16 all;
  629. struct {
  630. U16 shadow : 3;
  631. U16 : 13;
  632. } bitc;
  633. } GH_EPHY_WAVE_CTRL_S;
  634. /*----------------------------------------------------------------------------*/
  635. /* mirror variables */
  636. /*----------------------------------------------------------------------------*/
  637. #ifdef __cplusplus
  638. extern "C" {
  639. #endif
  640. /*----------------------------------------------------------------------------*/
  641. /* register EPHY_MII_RMII (read/write) */
  642. /*----------------------------------------------------------------------------*/
  643. /*! \brief Writes the register 'EPHY_MII_RMII'. */
  644. void GH_EPHY_set_MII_RMII(U32 data);
  645. /*! \brief Reads the register 'EPHY_MII_RMII'. */
  646. U32 GH_EPHY_get_MII_RMII(void);
  647. /*! \brief Writes the bit group 'USB_TM1' of register 'EPHY_MII_RMII'. */
  648. void GH_EPHY_set_MII_RMII_USB_TM1(U8 data);
  649. /*! \brief Reads the bit group 'USB_TM1' of register 'EPHY_MII_RMII'. */
  650. U8 GH_EPHY_get_MII_RMII_USB_TM1(void);
  651. /*! \brief Writes the bit group 'rmii' of register 'EPHY_MII_RMII'. */
  652. void GH_EPHY_set_MII_RMII_rmii(U8 data);
  653. /*! \brief Reads the bit group 'rmii' of register 'EPHY_MII_RMII'. */
  654. U8 GH_EPHY_get_MII_RMII_rmii(void);
  655. /*----------------------------------------------------------------------------*/
  656. /* register EPHY_CONTROL (read/write) */
  657. /*----------------------------------------------------------------------------*/
  658. /*! \brief Writes the register 'EPHY_CONTROL'. */
  659. void GH_EPHY_set_CONTROL(U16 data);
  660. /*! \brief Reads the register 'EPHY_CONTROL'. */
  661. U16 GH_EPHY_get_CONTROL(void);
  662. /*! \brief Writes the bit group 'mii_ctl_unidirectional_enable' of register 'EPHY_CONTROL'. */
  663. void GH_EPHY_set_CONTROL_mii_ctl_unidirectional_enable(U8 data);
  664. /*! \brief Reads the bit group 'mii_ctl_unidirectional_enable' of register 'EPHY_CONTROL'. */
  665. U8 GH_EPHY_get_CONTROL_mii_ctl_unidirectional_enable(void);
  666. /*! \brief Writes the bit group 'mii_ctl_speed_sel_msb' of register 'EPHY_CONTROL'. */
  667. void GH_EPHY_set_CONTROL_mii_ctl_speed_sel_msb(U8 data);
  668. /*! \brief Reads the bit group 'mii_ctl_speed_sel_msb' of register 'EPHY_CONTROL'. */
  669. U8 GH_EPHY_get_CONTROL_mii_ctl_speed_sel_msb(void);
  670. /*! \brief Writes the bit group 'mii_ctl_col_test' of register 'EPHY_CONTROL'. */
  671. void GH_EPHY_set_CONTROL_mii_ctl_col_test(U8 data);
  672. /*! \brief Reads the bit group 'mii_ctl_col_test' of register 'EPHY_CONTROL'. */
  673. U8 GH_EPHY_get_CONTROL_mii_ctl_col_test(void);
  674. /*! \brief Writes the bit group 'mii_ctl_duplex_mode' of register 'EPHY_CONTROL'. */
  675. void GH_EPHY_set_CONTROL_mii_ctl_duplex_mode(U8 data);
  676. /*! \brief Reads the bit group 'mii_ctl_duplex_mode' of register 'EPHY_CONTROL'. */
  677. U8 GH_EPHY_get_CONTROL_mii_ctl_duplex_mode(void);
  678. /*! \brief Writes the bit group 'mii_ctl_restart_an' of register 'EPHY_CONTROL'. */
  679. void GH_EPHY_set_CONTROL_mii_ctl_restart_an(U8 data);
  680. /*! \brief Reads the bit group 'mii_ctl_restart_an' of register 'EPHY_CONTROL'. */
  681. U8 GH_EPHY_get_CONTROL_mii_ctl_restart_an(void);
  682. /*! \brief Writes the bit group 'mii_ctl_isolate' of register 'EPHY_CONTROL'. */
  683. void GH_EPHY_set_CONTROL_mii_ctl_isolate(U8 data);
  684. /*! \brief Reads the bit group 'mii_ctl_isolate' of register 'EPHY_CONTROL'. */
  685. U8 GH_EPHY_get_CONTROL_mii_ctl_isolate(void);
  686. /*! \brief Writes the bit group 'mii_ctl_power_down' of register 'EPHY_CONTROL'. */
  687. void GH_EPHY_set_CONTROL_mii_ctl_power_down(U8 data);
  688. /*! \brief Reads the bit group 'mii_ctl_power_down' of register 'EPHY_CONTROL'. */
  689. U8 GH_EPHY_get_CONTROL_mii_ctl_power_down(void);
  690. /*! \brief Writes the bit group 'mii_ctl_an_en' of register 'EPHY_CONTROL'. */
  691. void GH_EPHY_set_CONTROL_mii_ctl_an_en(U8 data);
  692. /*! \brief Reads the bit group 'mii_ctl_an_en' of register 'EPHY_CONTROL'. */
  693. U8 GH_EPHY_get_CONTROL_mii_ctl_an_en(void);
  694. /*! \brief Writes the bit group 'mii_ctl_speed_sel_lsb' of register 'EPHY_CONTROL'. */
  695. void GH_EPHY_set_CONTROL_mii_ctl_speed_sel_lsb(U8 data);
  696. /*! \brief Reads the bit group 'mii_ctl_speed_sel_lsb' of register 'EPHY_CONTROL'. */
  697. U8 GH_EPHY_get_CONTROL_mii_ctl_speed_sel_lsb(void);
  698. /*! \brief Writes the bit group 'mii_ctl_loopback' of register 'EPHY_CONTROL'. */
  699. void GH_EPHY_set_CONTROL_mii_ctl_loopback(U8 data);
  700. /*! \brief Reads the bit group 'mii_ctl_loopback' of register 'EPHY_CONTROL'. */
  701. U8 GH_EPHY_get_CONTROL_mii_ctl_loopback(void);
  702. /*! \brief Writes the bit group 'mii_ctl_reset' of register 'EPHY_CONTROL'. */
  703. void GH_EPHY_set_CONTROL_mii_ctl_reset(U8 data);
  704. /*! \brief Reads the bit group 'mii_ctl_reset' of register 'EPHY_CONTROL'. */
  705. U8 GH_EPHY_get_CONTROL_mii_ctl_reset(void);
  706. /*----------------------------------------------------------------------------*/
  707. /* register EPHY_STATUS (read) */
  708. /*----------------------------------------------------------------------------*/
  709. /*! \brief Reads the register 'EPHY_STATUS'. */
  710. U16 GH_EPHY_get_STATUS(void);
  711. /*! \brief Reads the bit group 'extended_capability' of register 'EPHY_STATUS'. */
  712. U8 GH_EPHY_get_STATUS_extended_capability(void);
  713. /*! \brief Reads the bit group 'jabber_detect' of register 'EPHY_STATUS'. */
  714. U8 GH_EPHY_get_STATUS_jabber_detect(void);
  715. /*! \brief Reads the bit group 'link_status' of register 'EPHY_STATUS'. */
  716. U8 GH_EPHY_get_STATUS_link_status(void);
  717. /*! \brief Reads the bit group 'an_ability' of register 'EPHY_STATUS'. */
  718. U8 GH_EPHY_get_STATUS_an_ability(void);
  719. /*! \brief Reads the bit group 'rf' of register 'EPHY_STATUS'. */
  720. U8 GH_EPHY_get_STATUS_rf(void);
  721. /*! \brief Reads the bit group 'an_complete' of register 'EPHY_STATUS'. */
  722. U8 GH_EPHY_get_STATUS_an_complete(void);
  723. /*! \brief Reads the bit group 'mf_preamble_suppression' of register 'EPHY_STATUS'. */
  724. U8 GH_EPHY_get_STATUS_mf_preamble_suppression(void);
  725. /*! \brief Reads the bit group 'unidirectional_ability' of register 'EPHY_STATUS'. */
  726. U8 GH_EPHY_get_STATUS_unidirectional_ability(void);
  727. /*! \brief Reads the bit group 'extended_status' of register 'EPHY_STATUS'. */
  728. U8 GH_EPHY_get_STATUS_extended_status(void);
  729. /*! \brief Reads the bit group 'half_duplex_100t2' of register 'EPHY_STATUS'. */
  730. U8 GH_EPHY_get_STATUS_half_duplex_100t2(void);
  731. /*! \brief Reads the bit group 'full_duplex_100t2' of register 'EPHY_STATUS'. */
  732. U8 GH_EPHY_get_STATUS_full_duplex_100t2(void);
  733. /*! \brief Reads the bit group 'half_duplex_10' of register 'EPHY_STATUS'. */
  734. U8 GH_EPHY_get_STATUS_half_duplex_10(void);
  735. /*! \brief Reads the bit group 'full_duplex_10' of register 'EPHY_STATUS'. */
  736. U8 GH_EPHY_get_STATUS_full_duplex_10(void);
  737. /*! \brief Reads the bit group 'half_duplex_100x' of register 'EPHY_STATUS'. */
  738. U8 GH_EPHY_get_STATUS_half_duplex_100x(void);
  739. /*! \brief Reads the bit group 'full_duplex_100x' of register 'EPHY_STATUS'. */
  740. U8 GH_EPHY_get_STATUS_full_duplex_100x(void);
  741. /*! \brief Reads the bit group 't4_100' of register 'EPHY_STATUS'. */
  742. U8 GH_EPHY_get_STATUS_t4_100(void);
  743. /*----------------------------------------------------------------------------*/
  744. /* register EPHY_ID1 (read) */
  745. /*----------------------------------------------------------------------------*/
  746. /*! \brief Reads the register 'EPHY_ID1'. */
  747. U16 GH_EPHY_get_ID1(void);
  748. /*----------------------------------------------------------------------------*/
  749. /* register EPHY_ID2 (read) */
  750. /*----------------------------------------------------------------------------*/
  751. /*! \brief Reads the register 'EPHY_ID2'. */
  752. U16 GH_EPHY_get_ID2(void);
  753. /*----------------------------------------------------------------------------*/
  754. /* register EPHY_ANAR (read/write) */
  755. /*----------------------------------------------------------------------------*/
  756. /*! \brief Writes the register 'EPHY_ANAR'. */
  757. void GH_EPHY_set_ANAR(U16 data);
  758. /*! \brief Reads the register 'EPHY_ANAR'. */
  759. U16 GH_EPHY_get_ANAR(void);
  760. /*! \brief Writes the bit group 'selector' of register 'EPHY_ANAR'. */
  761. void GH_EPHY_set_ANAR_selector(U8 data);
  762. /*! \brief Reads the bit group 'selector' of register 'EPHY_ANAR'. */
  763. U8 GH_EPHY_get_ANAR_selector(void);
  764. /*! \brief Writes the bit group 'tech_ability' of register 'EPHY_ANAR'. */
  765. void GH_EPHY_set_ANAR_tech_ability(U8 data);
  766. /*! \brief Reads the bit group 'tech_ability' of register 'EPHY_ANAR'. */
  767. U8 GH_EPHY_get_ANAR_tech_ability(void);
  768. /*! \brief Writes the bit group 'rf' of register 'EPHY_ANAR'. */
  769. void GH_EPHY_set_ANAR_rf(U8 data);
  770. /*! \brief Reads the bit group 'rf' of register 'EPHY_ANAR'. */
  771. U8 GH_EPHY_get_ANAR_rf(void);
  772. /*! \brief Writes the bit group 'np' of register 'EPHY_ANAR'. */
  773. void GH_EPHY_set_ANAR_np(U8 data);
  774. /*! \brief Reads the bit group 'np' of register 'EPHY_ANAR'. */
  775. U8 GH_EPHY_get_ANAR_np(void);
  776. /*----------------------------------------------------------------------------*/
  777. /* register EPHY_ANLPAR (read) */
  778. /*----------------------------------------------------------------------------*/
  779. /*! \brief Reads the register 'EPHY_ANLPAR'. */
  780. U16 GH_EPHY_get_ANLPAR(void);
  781. /*! \brief Reads the bit group 'selector' of register 'EPHY_ANLPAR'. */
  782. U8 GH_EPHY_get_ANLPAR_selector(void);
  783. /*! \brief Reads the bit group 'tech_ability' of register 'EPHY_ANLPAR'. */
  784. U8 GH_EPHY_get_ANLPAR_tech_ability(void);
  785. /*! \brief Reads the bit group 'rf' of register 'EPHY_ANLPAR'. */
  786. U8 GH_EPHY_get_ANLPAR_rf(void);
  787. /*! \brief Reads the bit group 'ack' of register 'EPHY_ANLPAR'. */
  788. U8 GH_EPHY_get_ANLPAR_ack(void);
  789. /*! \brief Reads the bit group 'np' of register 'EPHY_ANLPAR'. */
  790. U8 GH_EPHY_get_ANLPAR_np(void);
  791. /*----------------------------------------------------------------------------*/
  792. /* register EPHY_ANER (read/write) */
  793. /*----------------------------------------------------------------------------*/
  794. /*! \brief Writes the register 'EPHY_ANER'. */
  795. void GH_EPHY_set_ANER(U16 data);
  796. /*! \brief Reads the register 'EPHY_ANER'. */
  797. U16 GH_EPHY_get_ANER(void);
  798. /*! \brief Writes the bit group 'lp_an_able' of register 'EPHY_ANER'. */
  799. void GH_EPHY_set_ANER_lp_an_able(U8 data);
  800. /*! \brief Reads the bit group 'lp_an_able' of register 'EPHY_ANER'. */
  801. U8 GH_EPHY_get_ANER_lp_an_able(void);
  802. /*! \brief Writes the bit group 'page_rec' of register 'EPHY_ANER'. */
  803. void GH_EPHY_set_ANER_page_rec(U8 data);
  804. /*! \brief Reads the bit group 'page_rec' of register 'EPHY_ANER'. */
  805. U8 GH_EPHY_get_ANER_page_rec(void);
  806. /*! \brief Writes the bit group 'np_able' of register 'EPHY_ANER'. */
  807. void GH_EPHY_set_ANER_np_able(U8 data);
  808. /*! \brief Reads the bit group 'np_able' of register 'EPHY_ANER'. */
  809. U8 GH_EPHY_get_ANER_np_able(void);
  810. /*! \brief Writes the bit group 'lp_np_able' of register 'EPHY_ANER'. */
  811. void GH_EPHY_set_ANER_lp_np_able(U8 data);
  812. /*! \brief Reads the bit group 'lp_np_able' of register 'EPHY_ANER'. */
  813. U8 GH_EPHY_get_ANER_lp_np_able(void);
  814. /*! \brief Writes the bit group 'pd_fault' of register 'EPHY_ANER'. */
  815. void GH_EPHY_set_ANER_pd_fault(U8 data);
  816. /*! \brief Reads the bit group 'pd_fault' of register 'EPHY_ANER'. */
  817. U8 GH_EPHY_get_ANER_pd_fault(void);
  818. /*! \brief Writes the bit group 'np_location' of register 'EPHY_ANER'. */
  819. void GH_EPHY_set_ANER_np_location(U8 data);
  820. /*! \brief Reads the bit group 'np_location' of register 'EPHY_ANER'. */
  821. U8 GH_EPHY_get_ANER_np_location(void);
  822. /*! \brief Writes the bit group 'np_location_able' of register 'EPHY_ANER'. */
  823. void GH_EPHY_set_ANER_np_location_able(U8 data);
  824. /*! \brief Reads the bit group 'np_location_able' of register 'EPHY_ANER'. */
  825. U8 GH_EPHY_get_ANER_np_location_able(void);
  826. /*----------------------------------------------------------------------------*/
  827. /* register EPHY_ANNPAR (read/write) */
  828. /*----------------------------------------------------------------------------*/
  829. /*! \brief Writes the register 'EPHY_ANNPAR'. */
  830. void GH_EPHY_set_ANNPAR(U16 data);
  831. /*! \brief Reads the register 'EPHY_ANNPAR'. */
  832. U16 GH_EPHY_get_ANNPAR(void);
  833. /*! \brief Writes the bit group 'msg' of register 'EPHY_ANNPAR'. */
  834. void GH_EPHY_set_ANNPAR_msg(U16 data);
  835. /*! \brief Reads the bit group 'msg' of register 'EPHY_ANNPAR'. */
  836. U16 GH_EPHY_get_ANNPAR_msg(void);
  837. /*! \brief Writes the bit group 'toggle' of register 'EPHY_ANNPAR'. */
  838. void GH_EPHY_set_ANNPAR_toggle(U8 data);
  839. /*! \brief Reads the bit group 'toggle' of register 'EPHY_ANNPAR'. */
  840. U8 GH_EPHY_get_ANNPAR_toggle(void);
  841. /*! \brief Writes the bit group 'ack2' of register 'EPHY_ANNPAR'. */
  842. void GH_EPHY_set_ANNPAR_ack2(U8 data);
  843. /*! \brief Reads the bit group 'ack2' of register 'EPHY_ANNPAR'. */
  844. U8 GH_EPHY_get_ANNPAR_ack2(void);
  845. /*! \brief Writes the bit group 'mp' of register 'EPHY_ANNPAR'. */
  846. void GH_EPHY_set_ANNPAR_mp(U8 data);
  847. /*! \brief Reads the bit group 'mp' of register 'EPHY_ANNPAR'. */
  848. U8 GH_EPHY_get_ANNPAR_mp(void);
  849. /*! \brief Writes the bit group 'np' of register 'EPHY_ANNPAR'. */
  850. void GH_EPHY_set_ANNPAR_np(U8 data);
  851. /*! \brief Reads the bit group 'np' of register 'EPHY_ANNPAR'. */
  852. U8 GH_EPHY_get_ANNPAR_np(void);
  853. /*----------------------------------------------------------------------------*/
  854. /* register EPHY_ANLPNP (read) */
  855. /*----------------------------------------------------------------------------*/
  856. /*! \brief Reads the register 'EPHY_ANLPNP'. */
  857. U16 GH_EPHY_get_ANLPNP(void);
  858. /*! \brief Reads the bit group 'msg' of register 'EPHY_ANLPNP'. */
  859. U16 GH_EPHY_get_ANLPNP_msg(void);
  860. /*! \brief Reads the bit group 'toggle' of register 'EPHY_ANLPNP'. */
  861. U8 GH_EPHY_get_ANLPNP_toggle(void);
  862. /*! \brief Reads the bit group 'ack2' of register 'EPHY_ANLPNP'. */
  863. U8 GH_EPHY_get_ANLPNP_ack2(void);
  864. /*! \brief Reads the bit group 'mp' of register 'EPHY_ANLPNP'. */
  865. U8 GH_EPHY_get_ANLPNP_mp(void);
  866. /*! \brief Reads the bit group 'np' of register 'EPHY_ANLPNP'. */
  867. U8 GH_EPHY_get_ANLPNP_np(void);
  868. /*----------------------------------------------------------------------------*/
  869. /* register EPHY_MS_CONTROL (read/write) */
  870. /*----------------------------------------------------------------------------*/
  871. /*! \brief Writes the register 'EPHY_MS_CONTROL'. */
  872. void GH_EPHY_set_MS_CONTROL(U16 data);
  873. /*! \brief Reads the register 'EPHY_MS_CONTROL'. */
  874. U16 GH_EPHY_get_MS_CONTROL(void);
  875. /*----------------------------------------------------------------------------*/
  876. /* register EPHY_MS_STATUS (read) */
  877. /*----------------------------------------------------------------------------*/
  878. /*! \brief Reads the register 'EPHY_MS_STATUS'. */
  879. U16 GH_EPHY_get_MS_STATUS(void);
  880. /*----------------------------------------------------------------------------*/
  881. /* register EPHY_PSE_CONTROL (read/write) */
  882. /*----------------------------------------------------------------------------*/
  883. /*! \brief Writes the register 'EPHY_PSE_CONTROL'. */
  884. void GH_EPHY_set_PSE_CONTROL(U16 data);
  885. /*! \brief Reads the register 'EPHY_PSE_CONTROL'. */
  886. U16 GH_EPHY_get_PSE_CONTROL(void);
  887. /*----------------------------------------------------------------------------*/
  888. /* register EPHY_PSE_STATUS (read) */
  889. /*----------------------------------------------------------------------------*/
  890. /*! \brief Reads the register 'EPHY_PSE_STATUS'. */
  891. U16 GH_EPHY_get_PSE_STATUS(void);
  892. /*----------------------------------------------------------------------------*/
  893. /* register EPHY_MMD_CONTROL (read/write) */
  894. /*----------------------------------------------------------------------------*/
  895. /*! \brief Writes the register 'EPHY_MMD_CONTROL'. */
  896. void GH_EPHY_set_MMD_CONTROL(U16 data);
  897. /*! \brief Reads the register 'EPHY_MMD_CONTROL'. */
  898. U16 GH_EPHY_get_MMD_CONTROL(void);
  899. /*! \brief Writes the bit group 'devad' of register 'EPHY_MMD_CONTROL'. */
  900. void GH_EPHY_set_MMD_CONTROL_devad(U8 data);
  901. /*! \brief Reads the bit group 'devad' of register 'EPHY_MMD_CONTROL'. */
  902. U8 GH_EPHY_get_MMD_CONTROL_devad(void);
  903. /*! \brief Writes the bit group 'func' of register 'EPHY_MMD_CONTROL'. */
  904. void GH_EPHY_set_MMD_CONTROL_func(U8 data);
  905. /*! \brief Reads the bit group 'func' of register 'EPHY_MMD_CONTROL'. */
  906. U8 GH_EPHY_get_MMD_CONTROL_func(void);
  907. /*----------------------------------------------------------------------------*/
  908. /* register EPHY_MMD_CONTROL_ADDR (read/write) */
  909. /*----------------------------------------------------------------------------*/
  910. /*! \brief Writes the register 'EPHY_MMD_CONTROL_ADDR'. */
  911. void GH_EPHY_set_MMD_CONTROL_ADDR(U16 data);
  912. /*! \brief Reads the register 'EPHY_MMD_CONTROL_ADDR'. */
  913. U16 GH_EPHY_get_MMD_CONTROL_ADDR(void);
  914. /*----------------------------------------------------------------------------*/
  915. /* register EPHY_AN_R_15 (read) */
  916. /*----------------------------------------------------------------------------*/
  917. /*! \brief Reads the register 'EPHY_AN_R_15'. */
  918. U16 GH_EPHY_get_AN_R_15(void);
  919. /*! \brief Reads the bit group 'an_register_15' of register 'EPHY_AN_R_15'. */
  920. U8 GH_EPHY_get_AN_R_15_an_register_15(void);
  921. /*----------------------------------------------------------------------------*/
  922. /* register EPHY_WAVE_SHAPING_34 (read/write) */
  923. /*----------------------------------------------------------------------------*/
  924. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_34'. */
  925. void GH_EPHY_set_WAVE_SHAPING_34(U16 data);
  926. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_34'. */
  927. U16 GH_EPHY_get_WAVE_SHAPING_34(void);
  928. /*! \brief Writes the bit group 'ltp_3' of register 'EPHY_WAVE_SHAPING_34'. */
  929. void GH_EPHY_set_WAVE_SHAPING_34_ltp_3(U8 data);
  930. /*! \brief Reads the bit group 'ltp_3' of register 'EPHY_WAVE_SHAPING_34'. */
  931. U8 GH_EPHY_get_WAVE_SHAPING_34_ltp_3(void);
  932. /*! \brief Writes the bit group 'ltp_4' of register 'EPHY_WAVE_SHAPING_34'. */
  933. void GH_EPHY_set_WAVE_SHAPING_34_ltp_4(U8 data);
  934. /*! \brief Reads the bit group 'ltp_4' of register 'EPHY_WAVE_SHAPING_34'. */
  935. U8 GH_EPHY_get_WAVE_SHAPING_34_ltp_4(void);
  936. /*----------------------------------------------------------------------------*/
  937. /* register EPHY_WAVE_SHAPING_56 (read/write) */
  938. /*----------------------------------------------------------------------------*/
  939. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_56'. */
  940. void GH_EPHY_set_WAVE_SHAPING_56(U16 data);
  941. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_56'. */
  942. U16 GH_EPHY_get_WAVE_SHAPING_56(void);
  943. /*! \brief Writes the bit group 'ltp_5' of register 'EPHY_WAVE_SHAPING_56'. */
  944. void GH_EPHY_set_WAVE_SHAPING_56_ltp_5(U8 data);
  945. /*! \brief Reads the bit group 'ltp_5' of register 'EPHY_WAVE_SHAPING_56'. */
  946. U8 GH_EPHY_get_WAVE_SHAPING_56_ltp_5(void);
  947. /*! \brief Writes the bit group 'ltp_6' of register 'EPHY_WAVE_SHAPING_56'. */
  948. void GH_EPHY_set_WAVE_SHAPING_56_ltp_6(U8 data);
  949. /*! \brief Reads the bit group 'ltp_6' of register 'EPHY_WAVE_SHAPING_56'. */
  950. U8 GH_EPHY_get_WAVE_SHAPING_56_ltp_6(void);
  951. /*----------------------------------------------------------------------------*/
  952. /* register EPHY_WAVE_SHAPING_78 (read/write) */
  953. /*----------------------------------------------------------------------------*/
  954. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_78'. */
  955. void GH_EPHY_set_WAVE_SHAPING_78(U16 data);
  956. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_78'. */
  957. U16 GH_EPHY_get_WAVE_SHAPING_78(void);
  958. /*! \brief Writes the bit group 'ltp_7' of register 'EPHY_WAVE_SHAPING_78'. */
  959. void GH_EPHY_set_WAVE_SHAPING_78_ltp_7(U8 data);
  960. /*! \brief Reads the bit group 'ltp_7' of register 'EPHY_WAVE_SHAPING_78'. */
  961. U8 GH_EPHY_get_WAVE_SHAPING_78_ltp_7(void);
  962. /*! \brief Writes the bit group 'ltp_8' of register 'EPHY_WAVE_SHAPING_78'. */
  963. void GH_EPHY_set_WAVE_SHAPING_78_ltp_8(U8 data);
  964. /*! \brief Reads the bit group 'ltp_8' of register 'EPHY_WAVE_SHAPING_78'. */
  965. U8 GH_EPHY_get_WAVE_SHAPING_78_ltp_8(void);
  966. /*----------------------------------------------------------------------------*/
  967. /* register EPHY_WAVE_SHAPING_9A (read/write) */
  968. /*----------------------------------------------------------------------------*/
  969. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_9A'. */
  970. void GH_EPHY_set_WAVE_SHAPING_9A(U16 data);
  971. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_9A'. */
  972. U16 GH_EPHY_get_WAVE_SHAPING_9A(void);
  973. /*! \brief Writes the bit group 'ltp_9' of register 'EPHY_WAVE_SHAPING_9A'. */
  974. void GH_EPHY_set_WAVE_SHAPING_9A_ltp_9(U8 data);
  975. /*! \brief Reads the bit group 'ltp_9' of register 'EPHY_WAVE_SHAPING_9A'. */
  976. U8 GH_EPHY_get_WAVE_SHAPING_9A_ltp_9(void);
  977. /*! \brief Writes the bit group 'ltp_A' of register 'EPHY_WAVE_SHAPING_9A'. */
  978. void GH_EPHY_set_WAVE_SHAPING_9A_ltp_A(U8 data);
  979. /*! \brief Reads the bit group 'ltp_A' of register 'EPHY_WAVE_SHAPING_9A'. */
  980. U8 GH_EPHY_get_WAVE_SHAPING_9A_ltp_A(void);
  981. /*----------------------------------------------------------------------------*/
  982. /* register EPHY_WAVE_SHAPING_BC (read/write) */
  983. /*----------------------------------------------------------------------------*/
  984. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_BC'. */
  985. void GH_EPHY_set_WAVE_SHAPING_BC(U16 data);
  986. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_BC'. */
  987. U16 GH_EPHY_get_WAVE_SHAPING_BC(void);
  988. /*! \brief Writes the bit group 'ltp_B' of register 'EPHY_WAVE_SHAPING_BC'. */
  989. void GH_EPHY_set_WAVE_SHAPING_BC_ltp_B(U8 data);
  990. /*! \brief Reads the bit group 'ltp_B' of register 'EPHY_WAVE_SHAPING_BC'. */
  991. U8 GH_EPHY_get_WAVE_SHAPING_BC_ltp_B(void);
  992. /*! \brief Writes the bit group 'ltp_C' of register 'EPHY_WAVE_SHAPING_BC'. */
  993. void GH_EPHY_set_WAVE_SHAPING_BC_ltp_C(U8 data);
  994. /*! \brief Reads the bit group 'ltp_C' of register 'EPHY_WAVE_SHAPING_BC'. */
  995. U8 GH_EPHY_get_WAVE_SHAPING_BC_ltp_C(void);
  996. /*----------------------------------------------------------------------------*/
  997. /* register EPHY_WAVE_SHAPING_DE (read/write) */
  998. /*----------------------------------------------------------------------------*/
  999. /*! \brief Writes the register 'EPHY_WAVE_SHAPING_DE'. */
  1000. void GH_EPHY_set_WAVE_SHAPING_DE(U16 data);
  1001. /*! \brief Reads the register 'EPHY_WAVE_SHAPING_DE'. */
  1002. U16 GH_EPHY_get_WAVE_SHAPING_DE(void);
  1003. /*! \brief Writes the bit group 'ltp_D' of register 'EPHY_WAVE_SHAPING_DE'. */
  1004. void GH_EPHY_set_WAVE_SHAPING_DE_ltp_D(U8 data);
  1005. /*! \brief Reads the bit group 'ltp_D' of register 'EPHY_WAVE_SHAPING_DE'. */
  1006. U8 GH_EPHY_get_WAVE_SHAPING_DE_ltp_D(void);
  1007. /*! \brief Writes the bit group 'ltp_E' of register 'EPHY_WAVE_SHAPING_DE'. */
  1008. void GH_EPHY_set_WAVE_SHAPING_DE_ltp_E(U8 data);
  1009. /*! \brief Reads the bit group 'ltp_E' of register 'EPHY_WAVE_SHAPING_DE'. */
  1010. U8 GH_EPHY_get_WAVE_SHAPING_DE_ltp_E(void);
  1011. /*----------------------------------------------------------------------------*/
  1012. /* register EPHY_SPEED (read/write) */
  1013. /*----------------------------------------------------------------------------*/
  1014. /*! \brief Writes the register 'EPHY_SPEED'. */
  1015. void GH_EPHY_set_SPEED(U16 data);
  1016. /*! \brief Reads the register 'EPHY_SPEED'. */
  1017. U16 GH_EPHY_get_SPEED(void);
  1018. /*! \brief Writes the bit group 'ltp_F' of register 'EPHY_SPEED'. */
  1019. void GH_EPHY_set_SPEED_ltp_F(U8 data);
  1020. /*! \brief Reads the bit group 'ltp_F' of register 'EPHY_SPEED'. */
  1021. U8 GH_EPHY_get_SPEED_ltp_F(void);
  1022. /*! \brief Writes the bit group 'isolate' of register 'EPHY_SPEED'. */
  1023. void GH_EPHY_set_SPEED_isolate(U8 data);
  1024. /*! \brief Reads the bit group 'isolate' of register 'EPHY_SPEED'. */
  1025. U8 GH_EPHY_get_SPEED_isolate(void);
  1026. /*! \brief Writes the bit group 'rptr' of register 'EPHY_SPEED'. */
  1027. void GH_EPHY_set_SPEED_rptr(U8 data);
  1028. /*! \brief Reads the bit group 'rptr' of register 'EPHY_SPEED'. */
  1029. U8 GH_EPHY_get_SPEED_rptr(void);
  1030. /*! \brief Writes the bit group 'duplex' of register 'EPHY_SPEED'. */
  1031. void GH_EPHY_set_SPEED_duplex(U8 data);
  1032. /*! \brief Reads the bit group 'duplex' of register 'EPHY_SPEED'. */
  1033. U8 GH_EPHY_get_SPEED_duplex(void);
  1034. /*! \brief Writes the bit group 'speed' of register 'EPHY_SPEED'. */
  1035. void GH_EPHY_set_SPEED_speed(U8 data);
  1036. /*! \brief Reads the bit group 'speed' of register 'EPHY_SPEED'. */
  1037. U8 GH_EPHY_get_SPEED_speed(void);
  1038. /*! \brief Writes the bit group 'ane' of register 'EPHY_SPEED'. */
  1039. void GH_EPHY_set_SPEED_ane(U8 data);
  1040. /*! \brief Reads the bit group 'ane' of register 'EPHY_SPEED'. */
  1041. U8 GH_EPHY_get_SPEED_ane(void);
  1042. /*! \brief Writes the bit group 'ldps' of register 'EPHY_SPEED'. */
  1043. void GH_EPHY_set_SPEED_ldps(U8 data);
  1044. /*! \brief Reads the bit group 'ldps' of register 'EPHY_SPEED'. */
  1045. U8 GH_EPHY_get_SPEED_ldps(void);
  1046. /*! \brief Writes the bit group 'disable_eee_force' of register 'EPHY_SPEED'. */
  1047. void GH_EPHY_set_SPEED_disable_eee_force(U8 data);
  1048. /*! \brief Reads the bit group 'disable_eee_force' of register 'EPHY_SPEED'. */
  1049. U8 GH_EPHY_get_SPEED_disable_eee_force(void);
  1050. /*----------------------------------------------------------------------------*/
  1051. /* register EPHY_LTP (read/write) */
  1052. /*----------------------------------------------------------------------------*/
  1053. /*! \brief Writes the register 'EPHY_LTP'. */
  1054. void GH_EPHY_set_LTP(U16 data);
  1055. /*! \brief Reads the register 'EPHY_LTP'. */
  1056. U16 GH_EPHY_get_LTP(void);
  1057. /*! \brief Writes the bit group 'width' of register 'EPHY_LTP'. */
  1058. void GH_EPHY_set_LTP_width(U8 data);
  1059. /*! \brief Reads the bit group 'width' of register 'EPHY_LTP'. */
  1060. U8 GH_EPHY_get_LTP_width(void);
  1061. /*! \brief Writes the bit group 'tx_gm_rctrl' of register 'EPHY_LTP'. */
  1062. void GH_EPHY_set_LTP_tx_gm_rctrl(U8 data);
  1063. /*! \brief Reads the bit group 'tx_gm_rctrl' of register 'EPHY_LTP'. */
  1064. U8 GH_EPHY_get_LTP_tx_gm_rctrl(void);
  1065. /*----------------------------------------------------------------------------*/
  1066. /* register EPHY_MCU (read/write) */
  1067. /*----------------------------------------------------------------------------*/
  1068. /*! \brief Writes the register 'EPHY_MCU'. */
  1069. void GH_EPHY_set_MCU(U16 data);
  1070. /*! \brief Reads the register 'EPHY_MCU'. */
  1071. U16 GH_EPHY_get_MCU(void);
  1072. /*! \brief Writes the bit group 'en' of register 'EPHY_MCU'. */
  1073. void GH_EPHY_set_MCU_en(U8 data);
  1074. /*! \brief Reads the bit group 'en' of register 'EPHY_MCU'. */
  1075. U8 GH_EPHY_get_MCU_en(void);
  1076. /*! \brief Writes the bit group 'mcu_rdy' of register 'EPHY_MCU'. */
  1077. void GH_EPHY_set_MCU_mcu_rdy(U8 data);
  1078. /*! \brief Reads the bit group 'mcu_rdy' of register 'EPHY_MCU'. */
  1079. U8 GH_EPHY_get_MCU_mcu_rdy(void);
  1080. /*----------------------------------------------------------------------------*/
  1081. /* register EPHY_CODE_RAM (read/write) */
  1082. /*----------------------------------------------------------------------------*/
  1083. /*! \brief Writes the register 'EPHY_CODE_RAM'. */
  1084. void GH_EPHY_set_CODE_RAM(U16 data);
  1085. /*! \brief Reads the register 'EPHY_CODE_RAM'. */
  1086. U16 GH_EPHY_get_CODE_RAM(void);
  1087. /*! \brief Writes the bit group 'start_addr' of register 'EPHY_CODE_RAM'. */
  1088. void GH_EPHY_set_CODE_RAM_start_addr(U16 data);
  1089. /*! \brief Reads the bit group 'start_addr' of register 'EPHY_CODE_RAM'. */
  1090. U16 GH_EPHY_get_CODE_RAM_start_addr(void);
  1091. /*----------------------------------------------------------------------------*/
  1092. /* register EPHY_CODE_RAM_W (read/write) */
  1093. /*----------------------------------------------------------------------------*/
  1094. /*! \brief Writes the register 'EPHY_CODE_RAM_W'. */
  1095. void GH_EPHY_set_CODE_RAM_W(U16 data);
  1096. /*! \brief Reads the register 'EPHY_CODE_RAM_W'. */
  1097. U16 GH_EPHY_get_CODE_RAM_W(void);
  1098. /*! \brief Writes the bit group 'start_addr' of register 'EPHY_CODE_RAM_W'. */
  1099. void GH_EPHY_set_CODE_RAM_W_start_addr(U16 data);
  1100. /*! \brief Reads the bit group 'start_addr' of register 'EPHY_CODE_RAM_W'. */
  1101. U16 GH_EPHY_get_CODE_RAM_W_start_addr(void);
  1102. /*----------------------------------------------------------------------------*/
  1103. /* register EPHY_100M_LINK (read/write) */
  1104. /*----------------------------------------------------------------------------*/
  1105. /*! \brief Writes the register 'EPHY_100M_LINK'. */
  1106. void GH_EPHY_set_100M_LINK(U16 data);
  1107. /*! \brief Reads the register 'EPHY_100M_LINK'. */
  1108. U16 GH_EPHY_get_100M_LINK(void);
  1109. /*! \brief Writes the bit group 'an_mcu_100t_link_control' of register 'EPHY_100M_LINK'. */
  1110. void GH_EPHY_set_100M_LINK_an_mcu_100t_link_control(U8 data);
  1111. /*! \brief Reads the bit group 'an_mcu_100t_link_control' of register 'EPHY_100M_LINK'. */
  1112. U8 GH_EPHY_get_100M_LINK_an_mcu_100t_link_control(void);
  1113. /*! \brief Writes the bit group 'an_mcu_nlp_link_control' of register 'EPHY_100M_LINK'. */
  1114. void GH_EPHY_set_100M_LINK_an_mcu_nlp_link_control(U8 data);
  1115. /*! \brief Reads the bit group 'an_mcu_nlp_link_control' of register 'EPHY_100M_LINK'. */
  1116. U8 GH_EPHY_get_100M_LINK_an_mcu_nlp_link_control(void);
  1117. /*! \brief Writes the bit group 'nlp_frame_start_mode_en' of register 'EPHY_100M_LINK'. */
  1118. void GH_EPHY_set_100M_LINK_nlp_frame_start_mode_en(U8 data);
  1119. /*! \brief Reads the bit group 'nlp_frame_start_mode_en' of register 'EPHY_100M_LINK'. */
  1120. U8 GH_EPHY_get_100M_LINK_nlp_frame_start_mode_en(void);
  1121. /*! \brief Writes the bit group 'detect_100m' of register 'EPHY_100M_LINK'. */
  1122. void GH_EPHY_set_100M_LINK_detect_100m(U8 data);
  1123. /*! \brief Reads the bit group 'detect_100m' of register 'EPHY_100M_LINK'. */
  1124. U8 GH_EPHY_get_100M_LINK_detect_100m(void);
  1125. /*! \brief Writes the bit group 'mcu_an_enable' of register 'EPHY_100M_LINK'. */
  1126. void GH_EPHY_set_100M_LINK_mcu_an_enable(U8 data);
  1127. /*! \brief Reads the bit group 'mcu_an_enable' of register 'EPHY_100M_LINK'. */
  1128. U8 GH_EPHY_get_100M_LINK_mcu_an_enable(void);
  1129. /*! \brief Writes the bit group 'force_100m_link_good' of register 'EPHY_100M_LINK'. */
  1130. void GH_EPHY_set_100M_LINK_force_100m_link_good(U8 data);
  1131. /*! \brief Reads the bit group 'force_100m_link_good' of register 'EPHY_100M_LINK'. */
  1132. U8 GH_EPHY_get_100M_LINK_force_100m_link_good(void);
  1133. /*! \brief Writes the bit group 'an_100t_link_status' of register 'EPHY_100M_LINK'. */
  1134. void GH_EPHY_set_100M_LINK_an_100t_link_status(U8 data);
  1135. /*! \brief Reads the bit group 'an_100t_link_status' of register 'EPHY_100M_LINK'. */
  1136. U8 GH_EPHY_get_100M_LINK_an_100t_link_status(void);
  1137. /*! \brief Writes the bit group 'an_nlp_link_status' of register 'EPHY_100M_LINK'. */
  1138. void GH_EPHY_set_100M_LINK_an_nlp_link_status(U8 data);
  1139. /*! \brief Reads the bit group 'an_nlp_link_status' of register 'EPHY_100M_LINK'. */
  1140. U8 GH_EPHY_get_100M_LINK_an_nlp_link_status(void);
  1141. /*! \brief Writes the bit group 'mdio_disable' of register 'EPHY_100M_LINK'. */
  1142. void GH_EPHY_set_100M_LINK_mdio_disable(U8 data);
  1143. /*! \brief Reads the bit group 'mdio_disable' of register 'EPHY_100M_LINK'. */
  1144. U8 GH_EPHY_get_100M_LINK_mdio_disable(void);
  1145. /*! \brief Writes the bit group 'mdc_edge_sel' of register 'EPHY_100M_LINK'. */
  1146. void GH_EPHY_set_100M_LINK_mdc_edge_sel(U8 data);
  1147. /*! \brief Reads the bit group 'mdc_edge_sel' of register 'EPHY_100M_LINK'. */
  1148. U8 GH_EPHY_get_100M_LINK_mdc_edge_sel(void);
  1149. /*! \brief Writes the bit group 'an_bypass_link_status_check' of register 'EPHY_100M_LINK'. */
  1150. void GH_EPHY_set_100M_LINK_an_bypass_link_status_check(U8 data);
  1151. /*! \brief Reads the bit group 'an_bypass_link_status_check' of register 'EPHY_100M_LINK'. */
  1152. U8 GH_EPHY_get_100M_LINK_an_bypass_link_status_check(void);
  1153. /*! \brief Writes the bit group 'adc_loop' of register 'EPHY_100M_LINK'. */
  1154. void GH_EPHY_set_100M_LINK_adc_loop(U8 data);
  1155. /*! \brief Reads the bit group 'adc_loop' of register 'EPHY_100M_LINK'. */
  1156. U8 GH_EPHY_get_100M_LINK_adc_loop(void);
  1157. /*----------------------------------------------------------------------------*/
  1158. /* register EPHY_DEBUG (read/write) */
  1159. /*----------------------------------------------------------------------------*/
  1160. /*! \brief Writes the register 'EPHY_DEBUG'. */
  1161. void GH_EPHY_set_DEBUG(U16 data);
  1162. /*! \brief Reads the register 'EPHY_DEBUG'. */
  1163. U16 GH_EPHY_get_DEBUG(void);
  1164. /*! \brief Writes the bit group 'snr_locked' of register 'EPHY_DEBUG'. */
  1165. void GH_EPHY_set_DEBUG_snr_locked(U8 data);
  1166. /*! \brief Reads the bit group 'snr_locked' of register 'EPHY_DEBUG'. */
  1167. U8 GH_EPHY_get_DEBUG_snr_locked(void);
  1168. /*! \brief Writes the bit group 'snr_locked_raw' of register 'EPHY_DEBUG'. */
  1169. void GH_EPHY_set_DEBUG_snr_locked_raw(U8 data);
  1170. /*! \brief Reads the bit group 'snr_locked_raw' of register 'EPHY_DEBUG'. */
  1171. U8 GH_EPHY_get_DEBUG_snr_locked_raw(void);
  1172. /*! \brief Writes the bit group 'sig_det_flag' of register 'EPHY_DEBUG'. */
  1173. void GH_EPHY_set_DEBUG_sig_det_flag(U8 data);
  1174. /*! \brief Reads the bit group 'sig_det_flag' of register 'EPHY_DEBUG'. */
  1175. U8 GH_EPHY_get_DEBUG_sig_det_flag(void);
  1176. /*! \brief Writes the bit group 'state_sync_on' of register 'EPHY_DEBUG'. */
  1177. void GH_EPHY_set_DEBUG_state_sync_on(U8 data);
  1178. /*! \brief Reads the bit group 'state_sync_on' of register 'EPHY_DEBUG'. */
  1179. U8 GH_EPHY_get_DEBUG_state_sync_on(void);
  1180. /*! \brief Writes the bit group 'state_st_lk' of register 'EPHY_DEBUG'. */
  1181. void GH_EPHY_set_DEBUG_state_st_lk(U8 data);
  1182. /*! \brief Reads the bit group 'state_st_lk' of register 'EPHY_DEBUG'. */
  1183. U8 GH_EPHY_get_DEBUG_state_st_lk(void);
  1184. /*! \brief Writes the bit group 'mux_recov_cnt' of register 'EPHY_DEBUG'. */
  1185. void GH_EPHY_set_DEBUG_mux_recov_cnt(U8 data);
  1186. /*! \brief Reads the bit group 'mux_recov_cnt' of register 'EPHY_DEBUG'. */
  1187. U8 GH_EPHY_get_DEBUG_mux_recov_cnt(void);
  1188. /*! \brief Writes the bit group 'test_mux_sel' of register 'EPHY_DEBUG'. */
  1189. void GH_EPHY_set_DEBUG_test_mux_sel(U8 data);
  1190. /*! \brief Reads the bit group 'test_mux_sel' of register 'EPHY_DEBUG'. */
  1191. U8 GH_EPHY_get_DEBUG_test_mux_sel(void);
  1192. /*----------------------------------------------------------------------------*/
  1193. /* register EPHY_DEBUG_MODE (read/write) */
  1194. /*----------------------------------------------------------------------------*/
  1195. /*! \brief Writes the register 'EPHY_DEBUG_MODE'. */
  1196. void GH_EPHY_set_DEBUG_MODE(U16 data);
  1197. /*! \brief Reads the register 'EPHY_DEBUG_MODE'. */
  1198. U16 GH_EPHY_get_DEBUG_MODE(void);
  1199. /*! \brief Writes the bit group 'signal' of register 'EPHY_DEBUG_MODE'. */
  1200. void GH_EPHY_set_DEBUG_MODE_signal(U8 data);
  1201. /*! \brief Reads the bit group 'signal' of register 'EPHY_DEBUG_MODE'. */
  1202. U8 GH_EPHY_get_DEBUG_MODE_signal(void);
  1203. /*! \brief Writes the bit group 'module' of register 'EPHY_DEBUG_MODE'. */
  1204. void GH_EPHY_set_DEBUG_MODE_module(U8 data);
  1205. /*! \brief Reads the bit group 'module' of register 'EPHY_DEBUG_MODE'. */
  1206. U8 GH_EPHY_get_DEBUG_MODE_module(void);
  1207. /*----------------------------------------------------------------------------*/
  1208. /* register EPHY_RST_EN (read/write) */
  1209. /*----------------------------------------------------------------------------*/
  1210. /*! \brief Writes the register 'EPHY_RST_EN'. */
  1211. void GH_EPHY_set_RST_EN(U16 data);
  1212. /*! \brief Reads the register 'EPHY_RST_EN'. */
  1213. U16 GH_EPHY_get_RST_EN(void);
  1214. /*! \brief Writes the bit group 'mau_srst' of register 'EPHY_RST_EN'. */
  1215. void GH_EPHY_set_RST_EN_mau_srst(U8 data);
  1216. /*! \brief Reads the bit group 'mau_srst' of register 'EPHY_RST_EN'. */
  1217. U8 GH_EPHY_get_RST_EN_mau_srst(void);
  1218. /*! \brief Writes the bit group 'pls_srst' of register 'EPHY_RST_EN'. */
  1219. void GH_EPHY_set_RST_EN_pls_srst(U8 data);
  1220. /*! \brief Reads the bit group 'pls_srst' of register 'EPHY_RST_EN'. */
  1221. U8 GH_EPHY_get_RST_EN_pls_srst(void);
  1222. /*! \brief Writes the bit group 'sqe_test_enable' of register 'EPHY_RST_EN'. */
  1223. void GH_EPHY_set_RST_EN_sqe_test_enable(U8 data);
  1224. /*! \brief Reads the bit group 'sqe_test_enable' of register 'EPHY_RST_EN'. */
  1225. U8 GH_EPHY_get_RST_EN_sqe_test_enable(void);
  1226. /*! \brief Writes the bit group 'lpbk_enable' of register 'EPHY_RST_EN'. */
  1227. void GH_EPHY_set_RST_EN_lpbk_enable(U8 data);
  1228. /*! \brief Reads the bit group 'lpbk_enable' of register 'EPHY_RST_EN'. */
  1229. U8 GH_EPHY_get_RST_EN_lpbk_enable(void);
  1230. /*! \brief Writes the bit group 'jabber_enable' of register 'EPHY_RST_EN'. */
  1231. void GH_EPHY_set_RST_EN_jabber_enable(U8 data);
  1232. /*! \brief Reads the bit group 'jabber_enable' of register 'EPHY_RST_EN'. */
  1233. U8 GH_EPHY_get_RST_EN_jabber_enable(void);
  1234. /*! \brief Writes the bit group 'ser_polarity_correction' of register 'EPHY_RST_EN'. */
  1235. void GH_EPHY_set_RST_EN_ser_polarity_correction(U8 data);
  1236. /*! \brief Reads the bit group 'ser_polarity_correction' of register 'EPHY_RST_EN'. */
  1237. U8 GH_EPHY_get_RST_EN_ser_polarity_correction(void);
  1238. /*! \brief Writes the bit group 'por_stick_mode' of register 'EPHY_RST_EN'. */
  1239. void GH_EPHY_set_RST_EN_por_stick_mode(U8 data);
  1240. /*! \brief Reads the bit group 'por_stick_mode' of register 'EPHY_RST_EN'. */
  1241. U8 GH_EPHY_get_RST_EN_por_stick_mode(void);
  1242. /*! \brief Writes the bit group 'recv_bit_bucket' of register 'EPHY_RST_EN'. */
  1243. void GH_EPHY_set_RST_EN_recv_bit_bucket(U8 data);
  1244. /*! \brief Reads the bit group 'recv_bit_bucket' of register 'EPHY_RST_EN'. */
  1245. U8 GH_EPHY_get_RST_EN_recv_bit_bucket(void);
  1246. /*! \brief Writes the bit group 'rxclk_pol' of register 'EPHY_RST_EN'. */
  1247. void GH_EPHY_set_RST_EN_rxclk_pol(U8 data);
  1248. /*! \brief Reads the bit group 'rxclk_pol' of register 'EPHY_RST_EN'. */
  1249. U8 GH_EPHY_get_RST_EN_rxclk_pol(void);
  1250. /*! \brief Writes the bit group 'txclk_pol' of register 'EPHY_RST_EN'. */
  1251. void GH_EPHY_set_RST_EN_txclk_pol(U8 data);
  1252. /*! \brief Reads the bit group 'txclk_pol' of register 'EPHY_RST_EN'. */
  1253. U8 GH_EPHY_get_RST_EN_txclk_pol(void);
  1254. /*! \brief Writes the bit group 'adc_input_sign' of register 'EPHY_RST_EN'. */
  1255. void GH_EPHY_set_RST_EN_adc_input_sign(U8 data);
  1256. /*! \brief Reads the bit group 'adc_input_sign' of register 'EPHY_RST_EN'. */
  1257. U8 GH_EPHY_get_RST_EN_adc_input_sign(void);
  1258. /*! \brief Writes the bit group 'mii_test_packet' of register 'EPHY_RST_EN'. */
  1259. void GH_EPHY_set_RST_EN_mii_test_packet(U8 data);
  1260. /*! \brief Reads the bit group 'mii_test_packet' of register 'EPHY_RST_EN'. */
  1261. U8 GH_EPHY_get_RST_EN_mii_test_packet(void);
  1262. /*! \brief Writes the bit group 'clear_rcvpack' of register 'EPHY_RST_EN'. */
  1263. void GH_EPHY_set_RST_EN_clear_rcvpack(U8 data);
  1264. /*! \brief Reads the bit group 'clear_rcvpack' of register 'EPHY_RST_EN'. */
  1265. U8 GH_EPHY_get_RST_EN_clear_rcvpack(void);
  1266. /*! \brief Writes the bit group 'miiloop_en_10m' of register 'EPHY_RST_EN'. */
  1267. void GH_EPHY_set_RST_EN_miiloop_en_10m(U8 data);
  1268. /*! \brief Reads the bit group 'miiloop_en_10m' of register 'EPHY_RST_EN'. */
  1269. U8 GH_EPHY_get_RST_EN_miiloop_en_10m(void);
  1270. /*! \brief Writes the bit group 'mii_rxclk_pol' of register 'EPHY_RST_EN'. */
  1271. void GH_EPHY_set_RST_EN_mii_rxclk_pol(U8 data);
  1272. /*! \brief Reads the bit group 'mii_rxclk_pol' of register 'EPHY_RST_EN'. */
  1273. U8 GH_EPHY_get_RST_EN_mii_rxclk_pol(void);
  1274. /*! \brief Writes the bit group 'mii_txclk_pol' of register 'EPHY_RST_EN'. */
  1275. void GH_EPHY_set_RST_EN_mii_txclk_pol(U8 data);
  1276. /*! \brief Reads the bit group 'mii_txclk_pol' of register 'EPHY_RST_EN'. */
  1277. U8 GH_EPHY_get_RST_EN_mii_txclk_pol(void);
  1278. /*----------------------------------------------------------------------------*/
  1279. /* register EPHY_SNR_K (read/write) */
  1280. /*----------------------------------------------------------------------------*/
  1281. /*! \brief Writes the register 'EPHY_SNR_K'. */
  1282. void GH_EPHY_set_SNR_K(U16 data);
  1283. /*! \brief Reads the register 'EPHY_SNR_K'. */
  1284. U16 GH_EPHY_get_SNR_K(void);
  1285. /*! \brief Writes the bit group 'slice_up' of register 'EPHY_SNR_K'. */
  1286. void GH_EPHY_set_SNR_K_slice_up(U8 data);
  1287. /*! \brief Reads the bit group 'slice_up' of register 'EPHY_SNR_K'. */
  1288. U8 GH_EPHY_get_SNR_K_slice_up(void);
  1289. /*! \brief Writes the bit group 'snrchk_k1' of register 'EPHY_SNR_K'. */
  1290. void GH_EPHY_set_SNR_K_snrchk_k1(U8 data);
  1291. /*! \brief Reads the bit group 'snrchk_k1' of register 'EPHY_SNR_K'. */
  1292. U8 GH_EPHY_get_SNR_K_snrchk_k1(void);
  1293. /*! \brief Writes the bit group 'snrchk_k2' of register 'EPHY_SNR_K'. */
  1294. void GH_EPHY_set_SNR_K_snrchk_k2(U8 data);
  1295. /*! \brief Reads the bit group 'snrchk_k2' of register 'EPHY_SNR_K'. */
  1296. U8 GH_EPHY_get_SNR_K_snrchk_k2(void);
  1297. /*! \brief Writes the bit group 'snrchk_k3' of register 'EPHY_SNR_K'. */
  1298. void GH_EPHY_set_SNR_K_snrchk_k3(U8 data);
  1299. /*! \brief Reads the bit group 'snrchk_k3' of register 'EPHY_SNR_K'. */
  1300. U8 GH_EPHY_get_SNR_K_snrchk_k3(void);
  1301. /*! \brief Writes the bit group 'gcr_ccpl_master_coarse_clkcc' of register 'EPHY_SNR_K'. */
  1302. void GH_EPHY_set_SNR_K_gcr_ccpl_master_coarse_clkcc(U8 data);
  1303. /*! \brief Reads the bit group 'gcr_ccpl_master_coarse_clkcc' of register 'EPHY_SNR_K'. */
  1304. U8 GH_EPHY_get_SNR_K_gcr_ccpl_master_coarse_clkcc(void);
  1305. /*----------------------------------------------------------------------------*/
  1306. /* register EPHY_DET_MAX (read/write) */
  1307. /*----------------------------------------------------------------------------*/
  1308. /*! \brief Writes the register 'EPHY_DET_MAX'. */
  1309. void GH_EPHY_set_DET_MAX(U16 data);
  1310. /*! \brief Reads the register 'EPHY_DET_MAX'. */
  1311. U16 GH_EPHY_get_DET_MAX(void);
  1312. /*! \brief Writes the bit group 'thrh_max_vga_coarse' of register 'EPHY_DET_MAX'. */
  1313. void GH_EPHY_set_DET_MAX_thrh_max_vga_coarse(U8 data);
  1314. /*! \brief Reads the bit group 'thrh_max_vga_coarse' of register 'EPHY_DET_MAX'. */
  1315. U8 GH_EPHY_get_DET_MAX_thrh_max_vga_coarse(void);
  1316. /*! \brief Writes the bit group 'thrh_max_sig_det' of register 'EPHY_DET_MAX'. */
  1317. void GH_EPHY_set_DET_MAX_thrh_max_sig_det(U8 data);
  1318. /*! \brief Reads the bit group 'thrh_max_sig_det' of register 'EPHY_DET_MAX'. */
  1319. U8 GH_EPHY_get_DET_MAX_thrh_max_sig_det(void);
  1320. /*----------------------------------------------------------------------------*/
  1321. /* register EPHY_DET_MIN (read/write) */
  1322. /*----------------------------------------------------------------------------*/
  1323. /*! \brief Writes the register 'EPHY_DET_MIN'. */
  1324. void GH_EPHY_set_DET_MIN(U16 data);
  1325. /*! \brief Reads the register 'EPHY_DET_MIN'. */
  1326. U16 GH_EPHY_get_DET_MIN(void);
  1327. /*! \brief Writes the bit group 'thrh_max_vga_fine' of register 'EPHY_DET_MIN'. */
  1328. void GH_EPHY_set_DET_MIN_thrh_max_vga_fine(U8 data);
  1329. /*! \brief Reads the bit group 'thrh_max_vga_fine' of register 'EPHY_DET_MIN'. */
  1330. U8 GH_EPHY_get_DET_MIN_thrh_max_vga_fine(void);
  1331. /*! \brief Writes the bit group 'thrh_min_sig_det' of register 'EPHY_DET_MIN'. */
  1332. void GH_EPHY_set_DET_MIN_thrh_min_sig_det(U8 data);
  1333. /*! \brief Reads the bit group 'thrh_min_sig_det' of register 'EPHY_DET_MIN'. */
  1334. U8 GH_EPHY_get_DET_MIN_thrh_min_sig_det(void);
  1335. /*----------------------------------------------------------------------------*/
  1336. /* register EPHY_SNR_LEN (read/write) */
  1337. /*----------------------------------------------------------------------------*/
  1338. /*! \brief Writes the register 'EPHY_SNR_LEN'. */
  1339. void GH_EPHY_set_SNR_LEN(U16 data);
  1340. /*! \brief Reads the register 'EPHY_SNR_LEN'. */
  1341. U16 GH_EPHY_get_SNR_LEN(void);
  1342. /*! \brief Writes the bit group 'mcu_ctrl_dsp_fsm_state' of register 'EPHY_SNR_LEN'. */
  1343. void GH_EPHY_set_SNR_LEN_mcu_ctrl_dsp_fsm_state(U8 data);
  1344. /*! \brief Reads the bit group 'mcu_ctrl_dsp_fsm_state' of register 'EPHY_SNR_LEN'. */
  1345. U8 GH_EPHY_get_SNR_LEN_mcu_ctrl_dsp_fsm_state(void);
  1346. /*! \brief Writes the bit group 'force_100m_en' of register 'EPHY_SNR_LEN'. */
  1347. void GH_EPHY_set_SNR_LEN_force_100m_en(U8 data);
  1348. /*! \brief Reads the bit group 'force_100m_en' of register 'EPHY_SNR_LEN'. */
  1349. U8 GH_EPHY_get_SNR_LEN_force_100m_en(void);
  1350. /*! \brief Writes the bit group 'force_100m_snr_lock' of register 'EPHY_SNR_LEN'. */
  1351. void GH_EPHY_set_SNR_LEN_force_100m_snr_lock(U8 data);
  1352. /*! \brief Reads the bit group 'force_100m_snr_lock' of register 'EPHY_SNR_LEN'. */
  1353. U8 GH_EPHY_get_SNR_LEN_force_100m_snr_lock(void);
  1354. /*! \brief Writes the bit group 'dsp_fsm_agc_en_mode_a' of register 'EPHY_SNR_LEN'. */
  1355. void GH_EPHY_set_SNR_LEN_dsp_fsm_agc_en_mode_a(U8 data);
  1356. /*! \brief Reads the bit group 'dsp_fsm_agc_en_mode_a' of register 'EPHY_SNR_LEN'. */
  1357. U8 GH_EPHY_get_SNR_LEN_dsp_fsm_agc_en_mode_a(void);
  1358. /*! \brief Writes the bit group 'cable_len_offset' of register 'EPHY_SNR_LEN'. */
  1359. void GH_EPHY_set_SNR_LEN_cable_len_offset(U8 data);
  1360. /*! \brief Reads the bit group 'cable_len_offset' of register 'EPHY_SNR_LEN'. */
  1361. U8 GH_EPHY_get_SNR_LEN_cable_len_offset(void);
  1362. /*----------------------------------------------------------------------------*/
  1363. /* register EPHY_LPF (read/write) */
  1364. /*----------------------------------------------------------------------------*/
  1365. /*! \brief Writes the register 'EPHY_LPF'. */
  1366. void GH_EPHY_set_LPF(U16 data);
  1367. /*! \brief Reads the register 'EPHY_LPF'. */
  1368. U16 GH_EPHY_get_LPF(void);
  1369. /*! \brief Writes the bit group 'lpf_out_h' of register 'EPHY_LPF'. */
  1370. void GH_EPHY_set_LPF_lpf_out_h(U16 data);
  1371. /*! \brief Reads the bit group 'lpf_out_h' of register 'EPHY_LPF'. */
  1372. U16 GH_EPHY_get_LPF_lpf_out_h(void);
  1373. /*! \brief Writes the bit group 'rxlpf_bwsel_10t' of register 'EPHY_LPF'. */
  1374. void GH_EPHY_set_LPF_rxlpf_bwsel_10t(U8 data);
  1375. /*! \brief Reads the bit group 'rxlpf_bwsel_10t' of register 'EPHY_LPF'. */
  1376. U8 GH_EPHY_get_LPF_rxlpf_bwsel_10t(void);
  1377. /*! \brief Writes the bit group 'rxlpf_bwsel_100t' of register 'EPHY_LPF'. */
  1378. void GH_EPHY_set_LPF_rxlpf_bwsel_100t(U8 data);
  1379. /*! \brief Reads the bit group 'rxlpf_bwsel_100t' of register 'EPHY_LPF'. */
  1380. U8 GH_EPHY_get_LPF_rxlpf_bwsel_100t(void);
  1381. /*! \brief Writes the bit group 'cable_length' of register 'EPHY_LPF'. */
  1382. void GH_EPHY_set_LPF_cable_length(U8 data);
  1383. /*! \brief Reads the bit group 'cable_length' of register 'EPHY_LPF'. */
  1384. U8 GH_EPHY_get_LPF_cable_length(void);
  1385. /*----------------------------------------------------------------------------*/
  1386. /* register EPHY_ADC_GAIN_PGA (read/write) */
  1387. /*----------------------------------------------------------------------------*/
  1388. /*! \brief Writes the register 'EPHY_ADC_GAIN_PGA'. */
  1389. void GH_EPHY_set_ADC_GAIN_PGA(U16 data);
  1390. /*! \brief Reads the register 'EPHY_ADC_GAIN_PGA'. */
  1391. U16 GH_EPHY_get_ADC_GAIN_PGA(void);
  1392. /*! \brief Writes the bit group 'adc_bp' of register 'EPHY_ADC_GAIN_PGA'. */
  1393. void GH_EPHY_set_ADC_GAIN_PGA_adc_bp(U8 data);
  1394. /*! \brief Reads the bit group 'adc_bp' of register 'EPHY_ADC_GAIN_PGA'. */
  1395. U8 GH_EPHY_get_ADC_GAIN_PGA_adc_bp(void);
  1396. /*! \brief Writes the bit group 'dac10t_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1397. void GH_EPHY_set_ADC_GAIN_PGA_dac10t_testen(U8 data);
  1398. /*! \brief Reads the bit group 'dac10t_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1399. U8 GH_EPHY_get_ADC_GAIN_PGA_dac10t_testen(void);
  1400. /*! \brief Writes the bit group 'dac100t_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1401. void GH_EPHY_set_ADC_GAIN_PGA_dac100t_testen(U8 data);
  1402. /*! \brief Reads the bit group 'dac100t_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1403. U8 GH_EPHY_get_ADC_GAIN_PGA_dac100t_testen(void);
  1404. /*! \brief Writes the bit group 'adc_bma' of register 'EPHY_ADC_GAIN_PGA'. */
  1405. void GH_EPHY_set_ADC_GAIN_PGA_adc_bma(U8 data);
  1406. /*! \brief Reads the bit group 'adc_bma' of register 'EPHY_ADC_GAIN_PGA'. */
  1407. U8 GH_EPHY_get_ADC_GAIN_PGA_adc_bma(void);
  1408. /*! \brief Writes the bit group 'adc_pd' of register 'EPHY_ADC_GAIN_PGA'. */
  1409. void GH_EPHY_set_ADC_GAIN_PGA_adc_pd(U8 data);
  1410. /*! \brief Reads the bit group 'adc_pd' of register 'EPHY_ADC_GAIN_PGA'. */
  1411. U8 GH_EPHY_get_ADC_GAIN_PGA_adc_pd(void);
  1412. /*! \brief Writes the bit group 'region_bank_rd' of register 'EPHY_ADC_GAIN_PGA'. */
  1413. void GH_EPHY_set_ADC_GAIN_PGA_region_bank_rd(U8 data);
  1414. /*! \brief Reads the bit group 'region_bank_rd' of register 'EPHY_ADC_GAIN_PGA'. */
  1415. U8 GH_EPHY_get_ADC_GAIN_PGA_region_bank_rd(void);
  1416. /*! \brief Writes the bit group 'adcpll_ana_clken' of register 'EPHY_ADC_GAIN_PGA'. */
  1417. void GH_EPHY_set_ADC_GAIN_PGA_adcpll_ana_clken(U8 data);
  1418. /*! \brief Reads the bit group 'adcpll_ana_clken' of register 'EPHY_ADC_GAIN_PGA'. */
  1419. U8 GH_EPHY_get_ADC_GAIN_PGA_adcpll_ana_clken(void);
  1420. /*! \brief Writes the bit group 'adcbin_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1421. void GH_EPHY_set_ADC_GAIN_PGA_adcbin_testen(U8 data);
  1422. /*! \brief Reads the bit group 'adcbin_testen' of register 'EPHY_ADC_GAIN_PGA'. */
  1423. U8 GH_EPHY_get_ADC_GAIN_PGA_adcbin_testen(void);
  1424. /*----------------------------------------------------------------------------*/
  1425. /* register EPHY_ADC_GSHIFT (read/write) */
  1426. /*----------------------------------------------------------------------------*/
  1427. /*! \brief Writes the register 'EPHY_ADC_GSHIFT'. */
  1428. void GH_EPHY_set_ADC_GSHIFT(U16 data);
  1429. /*! \brief Reads the register 'EPHY_ADC_GSHIFT'. */
  1430. U16 GH_EPHY_get_ADC_GSHIFT(void);
  1431. /*! \brief Writes the bit group 'adc_gshift' of register 'EPHY_ADC_GSHIFT'. */
  1432. void GH_EPHY_set_ADC_GSHIFT_adc_gshift(U8 data);
  1433. /*! \brief Reads the bit group 'adc_gshift' of register 'EPHY_ADC_GSHIFT'. */
  1434. U8 GH_EPHY_get_ADC_GSHIFT_adc_gshift(void);
  1435. /*! \brief Writes the bit group 'gain' of register 'EPHY_ADC_GSHIFT'. */
  1436. void GH_EPHY_set_ADC_GSHIFT_gain(U8 data);
  1437. /*! \brief Reads the bit group 'gain' of register 'EPHY_ADC_GSHIFT'. */
  1438. U8 GH_EPHY_get_ADC_GSHIFT_gain(void);
  1439. /*----------------------------------------------------------------------------*/
  1440. /* register EPHY_ADC (read/write) */
  1441. /*----------------------------------------------------------------------------*/
  1442. /*! \brief Writes the register 'EPHY_ADC'. */
  1443. void GH_EPHY_set_ADC(U16 data);
  1444. /*! \brief Reads the register 'EPHY_ADC'. */
  1445. U16 GH_EPHY_get_ADC(void);
  1446. /*! \brief Writes the bit group 'adc_bp' of register 'EPHY_ADC'. */
  1447. void GH_EPHY_set_ADC_adc_bp(U8 data);
  1448. /*! \brief Reads the bit group 'adc_bp' of register 'EPHY_ADC'. */
  1449. U8 GH_EPHY_get_ADC_adc_bp(void);
  1450. /*! \brief Writes the bit group 'dac10t_testen' of register 'EPHY_ADC'. */
  1451. void GH_EPHY_set_ADC_dac10t_testen(U8 data);
  1452. /*! \brief Reads the bit group 'dac10t_testen' of register 'EPHY_ADC'. */
  1453. U8 GH_EPHY_get_ADC_dac10t_testen(void);
  1454. /*! \brief Writes the bit group 'reg_dac100t_testen' of register 'EPHY_ADC'. */
  1455. void GH_EPHY_set_ADC_reg_dac100t_testen(U8 data);
  1456. /*! \brief Reads the bit group 'reg_dac100t_testen' of register 'EPHY_ADC'. */
  1457. U8 GH_EPHY_get_ADC_reg_dac100t_testen(void);
  1458. /*! \brief Writes the bit group 'adc_bma' of register 'EPHY_ADC'. */
  1459. void GH_EPHY_set_ADC_adc_bma(U8 data);
  1460. /*! \brief Reads the bit group 'adc_bma' of register 'EPHY_ADC'. */
  1461. U8 GH_EPHY_get_ADC_adc_bma(void);
  1462. /*! \brief Writes the bit group 'adc_pd' of register 'EPHY_ADC'. */
  1463. void GH_EPHY_set_ADC_adc_pd(U8 data);
  1464. /*! \brief Reads the bit group 'adc_pd' of register 'EPHY_ADC'. */
  1465. U8 GH_EPHY_get_ADC_adc_pd(void);
  1466. /*! \brief Writes the bit group 'region_bank_rd' of register 'EPHY_ADC'. */
  1467. void GH_EPHY_set_ADC_region_bank_rd(U8 data);
  1468. /*! \brief Reads the bit group 'region_bank_rd' of register 'EPHY_ADC'. */
  1469. U8 GH_EPHY_get_ADC_region_bank_rd(void);
  1470. /*! \brief Writes the bit group 'adcpll_ana_clken' of register 'EPHY_ADC'. */
  1471. void GH_EPHY_set_ADC_adcpll_ana_clken(U8 data);
  1472. /*! \brief Reads the bit group 'adcpll_ana_clken' of register 'EPHY_ADC'. */
  1473. U8 GH_EPHY_get_ADC_adcpll_ana_clken(void);
  1474. /*! \brief Writes the bit group 'adcbin_testen' of register 'EPHY_ADC'. */
  1475. void GH_EPHY_set_ADC_adcbin_testen(U8 data);
  1476. /*! \brief Reads the bit group 'adcbin_testen' of register 'EPHY_ADC'. */
  1477. U8 GH_EPHY_get_ADC_adcbin_testen(void);
  1478. /*----------------------------------------------------------------------------*/
  1479. /* register EPHY_PLL_ADC_CTRL3 (read/write) */
  1480. /*----------------------------------------------------------------------------*/
  1481. /*! \brief Writes the register 'EPHY_PLL_ADC_CTRL3'. */
  1482. void GH_EPHY_set_PLL_ADC_CTRL3(U16 data);
  1483. /*! \brief Reads the register 'EPHY_PLL_ADC_CTRL3'. */
  1484. U16 GH_EPHY_get_PLL_ADC_CTRL3(void);
  1485. /*! \brief Writes the bit group 'rxlpf_pd' of register 'EPHY_PLL_ADC_CTRL3'. */
  1486. void GH_EPHY_set_PLL_ADC_CTRL3_rxlpf_pd(U8 data);
  1487. /*! \brief Reads the bit group 'rxlpf_pd' of register 'EPHY_PLL_ADC_CTRL3'. */
  1488. U8 GH_EPHY_get_PLL_ADC_CTRL3_rxlpf_pd(void);
  1489. /*! \brief Writes the bit group 'tx_b_test' of register 'EPHY_PLL_ADC_CTRL3'. */
  1490. void GH_EPHY_set_PLL_ADC_CTRL3_tx_b_test(U8 data);
  1491. /*! \brief Reads the bit group 'tx_b_test' of register 'EPHY_PLL_ADC_CTRL3'. */
  1492. U8 GH_EPHY_get_PLL_ADC_CTRL3_tx_b_test(void);
  1493. /*----------------------------------------------------------------------------*/
  1494. /* register EPHY_RX_LPF (read/write) */
  1495. /*----------------------------------------------------------------------------*/
  1496. /*! \brief Writes the register 'EPHY_RX_LPF'. */
  1497. void GH_EPHY_set_RX_LPF(U16 data);
  1498. /*! \brief Reads the register 'EPHY_RX_LPF'. */
  1499. U16 GH_EPHY_get_RX_LPF(void);
  1500. /*! \brief Writes the bit group 'rxlpf_ibsel' of register 'EPHY_RX_LPF'. */
  1501. void GH_EPHY_set_RX_LPF_rxlpf_ibsel(U8 data);
  1502. /*! \brief Reads the bit group 'rxlpf_ibsel' of register 'EPHY_RX_LPF'. */
  1503. U8 GH_EPHY_get_RX_LPF_rxlpf_ibsel(void);
  1504. /*! \brief Writes the bit group 'rxlpf_bwsel' of register 'EPHY_RX_LPF'. */
  1505. void GH_EPHY_set_RX_LPF_rxlpf_bwsel(U8 data);
  1506. /*! \brief Reads the bit group 'rxlpf_bwsel' of register 'EPHY_RX_LPF'. */
  1507. U8 GH_EPHY_get_RX_LPF_rxlpf_bwsel(void);
  1508. /*! \brief Writes the bit group 'unkown' of register 'EPHY_RX_LPF'. */
  1509. void GH_EPHY_set_RX_LPF_unkown(U8 data);
  1510. /*! \brief Reads the bit group 'unkown' of register 'EPHY_RX_LPF'. */
  1511. U8 GH_EPHY_get_RX_LPF_unkown(void);
  1512. /*! \brief Writes the bit group 'rxlpf_cmsel' of register 'EPHY_RX_LPF'. */
  1513. void GH_EPHY_set_RX_LPF_rxlpf_cmsel(U8 data);
  1514. /*! \brief Reads the bit group 'rxlpf_cmsel' of register 'EPHY_RX_LPF'. */
  1515. U8 GH_EPHY_get_RX_LPF_rxlpf_cmsel(void);
  1516. /*! \brief Writes the bit group 'rxlpf_outp_test' of register 'EPHY_RX_LPF'. */
  1517. void GH_EPHY_set_RX_LPF_rxlpf_outp_test(U8 data);
  1518. /*! \brief Reads the bit group 'rxlpf_outp_test' of register 'EPHY_RX_LPF'. */
  1519. U8 GH_EPHY_get_RX_LPF_rxlpf_outp_test(void);
  1520. /*! \brief Writes the bit group 'rxlpf_outm_test' of register 'EPHY_RX_LPF'. */
  1521. void GH_EPHY_set_RX_LPF_rxlpf_outm_test(U8 data);
  1522. /*! \brief Reads the bit group 'rxlpf_outm_test' of register 'EPHY_RX_LPF'. */
  1523. U8 GH_EPHY_get_RX_LPF_rxlpf_outm_test(void);
  1524. /*! \brief Writes the bit group 'rxlpf_bypass' of register 'EPHY_RX_LPF'. */
  1525. void GH_EPHY_set_RX_LPF_rxlpf_bypass(U8 data);
  1526. /*! \brief Reads the bit group 'rxlpf_bypass' of register 'EPHY_RX_LPF'. */
  1527. U8 GH_EPHY_get_RX_LPF_rxlpf_bypass(void);
  1528. /*! \brief Writes the bit group 'ref_pd' of register 'EPHY_RX_LPF'. */
  1529. void GH_EPHY_set_RX_LPF_ref_pd(U8 data);
  1530. /*! \brief Reads the bit group 'ref_pd' of register 'EPHY_RX_LPF'. */
  1531. U8 GH_EPHY_get_RX_LPF_ref_pd(void);
  1532. /*! \brief Writes the bit group 'ref_iint_pd' of register 'EPHY_RX_LPF'. */
  1533. void GH_EPHY_set_RX_LPF_ref_iint_pd(U8 data);
  1534. /*! \brief Reads the bit group 'ref_iint_pd' of register 'EPHY_RX_LPF'. */
  1535. U8 GH_EPHY_get_RX_LPF_ref_iint_pd(void);
  1536. /*----------------------------------------------------------------------------*/
  1537. /* register EPHY_PLL_ADC_CTRL0 (read/write) */
  1538. /*----------------------------------------------------------------------------*/
  1539. /*! \brief Writes the register 'EPHY_PLL_ADC_CTRL0'. */
  1540. void GH_EPHY_set_PLL_ADC_CTRL0(U16 data);
  1541. /*! \brief Reads the register 'EPHY_PLL_ADC_CTRL0'. */
  1542. U16 GH_EPHY_get_PLL_ADC_CTRL0(void);
  1543. /*! \brief Writes the bit group 'ro_adcpl_lock' of register 'EPHY_PLL_ADC_CTRL0'. */
  1544. void GH_EPHY_set_PLL_ADC_CTRL0_ro_adcpl_lock(U8 data);
  1545. /*! \brief Reads the bit group 'ro_adcpl_lock' of register 'EPHY_PLL_ADC_CTRL0'. */
  1546. U8 GH_EPHY_get_PLL_ADC_CTRL0_ro_adcpl_lock(void);
  1547. /*! \brief Writes the bit group 'gcr_adcpl_div' of register 'EPHY_PLL_ADC_CTRL0'. */
  1548. void GH_EPHY_set_PLL_ADC_CTRL0_gcr_adcpl_div(U8 data);
  1549. /*! \brief Reads the bit group 'gcr_adcpl_div' of register 'EPHY_PLL_ADC_CTRL0'. */
  1550. U8 GH_EPHY_get_PLL_ADC_CTRL0_gcr_adcpl_div(void);
  1551. /*! \brief Writes the bit group 'test_adcpl_extcksel' of register 'EPHY_PLL_ADC_CTRL0'. */
  1552. void GH_EPHY_set_PLL_ADC_CTRL0_test_adcpl_extcksel(U8 data);
  1553. /*! \brief Reads the bit group 'test_adcpl_extcksel' of register 'EPHY_PLL_ADC_CTRL0'. */
  1554. U8 GH_EPHY_get_PLL_ADC_CTRL0_test_adcpl_extcksel(void);
  1555. /*! \brief Writes the bit group 'ro_adcpl_high_flag' of register 'EPHY_PLL_ADC_CTRL0'. */
  1556. void GH_EPHY_set_PLL_ADC_CTRL0_ro_adcpl_high_flag(U8 data);
  1557. /*! \brief Reads the bit group 'ro_adcpl_high_flag' of register 'EPHY_PLL_ADC_CTRL0'. */
  1558. U8 GH_EPHY_get_PLL_ADC_CTRL0_ro_adcpl_high_flag(void);
  1559. /*! \brief Writes the bit group 'pllclk_outen' of register 'EPHY_PLL_ADC_CTRL0'. */
  1560. void GH_EPHY_set_PLL_ADC_CTRL0_pllclk_outen(U8 data);
  1561. /*! \brief Reads the bit group 'pllclk_outen' of register 'EPHY_PLL_ADC_CTRL0'. */
  1562. U8 GH_EPHY_get_PLL_ADC_CTRL0_pllclk_outen(void);
  1563. /*! \brief Writes the bit group 'ov_ref_test' of register 'EPHY_PLL_ADC_CTRL0'. */
  1564. void GH_EPHY_set_PLL_ADC_CTRL0_ov_ref_test(U8 data);
  1565. /*! \brief Reads the bit group 'ov_ref_test' of register 'EPHY_PLL_ADC_CTRL0'. */
  1566. U8 GH_EPHY_get_PLL_ADC_CTRL0_ov_ref_test(void);
  1567. /*! \brief Writes the bit group 'gc_adcpl_rstb' of register 'EPHY_PLL_ADC_CTRL0'. */
  1568. void GH_EPHY_set_PLL_ADC_CTRL0_gc_adcpl_rstb(U8 data);
  1569. /*! \brief Reads the bit group 'gc_adcpl_rstb' of register 'EPHY_PLL_ADC_CTRL0'. */
  1570. U8 GH_EPHY_get_PLL_ADC_CTRL0_gc_adcpl_rstb(void);
  1571. /*! \brief Writes the bit group 'ref_bgap_pd' of register 'EPHY_PLL_ADC_CTRL0'. */
  1572. void GH_EPHY_set_PLL_ADC_CTRL0_ref_bgap_pd(U8 data);
  1573. /*! \brief Reads the bit group 'ref_bgap_pd' of register 'EPHY_PLL_ADC_CTRL0'. */
  1574. U8 GH_EPHY_get_PLL_ADC_CTRL0_ref_bgap_pd(void);
  1575. /*! \brief Writes the bit group 'adcraw_tst' of register 'EPHY_PLL_ADC_CTRL0'. */
  1576. void GH_EPHY_set_PLL_ADC_CTRL0_adcraw_tst(U8 data);
  1577. /*! \brief Reads the bit group 'adcraw_tst' of register 'EPHY_PLL_ADC_CTRL0'. */
  1578. U8 GH_EPHY_get_PLL_ADC_CTRL0_adcraw_tst(void);
  1579. /*! \brief Writes the bit group 'adcraw_tst_sw' of register 'EPHY_PLL_ADC_CTRL0'. */
  1580. void GH_EPHY_set_PLL_ADC_CTRL0_adcraw_tst_sw(U8 data);
  1581. /*! \brief Reads the bit group 'adcraw_tst_sw' of register 'EPHY_PLL_ADC_CTRL0'. */
  1582. U8 GH_EPHY_get_PLL_ADC_CTRL0_adcraw_tst_sw(void);
  1583. /*! \brief Writes the bit group 'ldo_pwrgd' of register 'EPHY_PLL_ADC_CTRL0'. */
  1584. void GH_EPHY_set_PLL_ADC_CTRL0_ldo_pwrgd(U8 data);
  1585. /*! \brief Reads the bit group 'ldo_pwrgd' of register 'EPHY_PLL_ADC_CTRL0'. */
  1586. U8 GH_EPHY_get_PLL_ADC_CTRL0_ldo_pwrgd(void);
  1587. /*! \brief Writes the bit group 'adcraw_overflow' of register 'EPHY_PLL_ADC_CTRL0'. */
  1588. void GH_EPHY_set_PLL_ADC_CTRL0_adcraw_overflow(U8 data);
  1589. /*! \brief Reads the bit group 'adcraw_overflow' of register 'EPHY_PLL_ADC_CTRL0'. */
  1590. U8 GH_EPHY_get_PLL_ADC_CTRL0_adcraw_overflow(void);
  1591. /*! \brief Writes the bit group 'adcpl_force_phase' of register 'EPHY_PLL_ADC_CTRL0'. */
  1592. void GH_EPHY_set_PLL_ADC_CTRL0_adcpl_force_phase(U8 data);
  1593. /*! \brief Reads the bit group 'adcpl_force_phase' of register 'EPHY_PLL_ADC_CTRL0'. */
  1594. U8 GH_EPHY_get_PLL_ADC_CTRL0_adcpl_force_phase(void);
  1595. /*! \brief Writes the bit group 'gcr_adcpl_tog_clkcc' of register 'EPHY_PLL_ADC_CTRL0'. */
  1596. void GH_EPHY_set_PLL_ADC_CTRL0_gcr_adcpl_tog_clkcc(U8 data);
  1597. /*! \brief Reads the bit group 'gcr_adcpl_tog_clkcc' of register 'EPHY_PLL_ADC_CTRL0'. */
  1598. U8 GH_EPHY_get_PLL_ADC_CTRL0_gcr_adcpl_tog_clkcc(void);
  1599. /*----------------------------------------------------------------------------*/
  1600. /* register EPHY_PLL_ADC_CTRL1 (read/write) */
  1601. /*----------------------------------------------------------------------------*/
  1602. /*! \brief Writes the register 'EPHY_PLL_ADC_CTRL1'. */
  1603. void GH_EPHY_set_PLL_ADC_CTRL1(U16 data);
  1604. /*! \brief Reads the register 'EPHY_PLL_ADC_CTRL1'. */
  1605. U16 GH_EPHY_get_PLL_ADC_CTRL1(void);
  1606. /*! \brief Writes the bit group 'gc_adcpl_adcpd0' of register 'EPHY_PLL_ADC_CTRL1'. */
  1607. void GH_EPHY_set_PLL_ADC_CTRL1_gc_adcpl_adcpd0(U8 data);
  1608. /*! \brief Reads the bit group 'gc_adcpl_adcpd0' of register 'EPHY_PLL_ADC_CTRL1'. */
  1609. U8 GH_EPHY_get_PLL_ADC_CTRL1_gc_adcpl_adcpd0(void);
  1610. /*! \brief Writes the bit group 'gc_adcpl_adcpd1' of register 'EPHY_PLL_ADC_CTRL1'. */
  1611. void GH_EPHY_set_PLL_ADC_CTRL1_gc_adcpl_adcpd1(U8 data);
  1612. /*! \brief Reads the bit group 'gc_adcpl_adcpd1' of register 'EPHY_PLL_ADC_CTRL1'. */
  1613. U8 GH_EPHY_get_PLL_ADC_CTRL1_gc_adcpl_adcpd1(void);
  1614. /*! \brief Writes the bit group 'gc_adcpl_ccpd0' of register 'EPHY_PLL_ADC_CTRL1'. */
  1615. void GH_EPHY_set_PLL_ADC_CTRL1_gc_adcpl_ccpd0(U8 data);
  1616. /*! \brief Reads the bit group 'gc_adcpl_ccpd0' of register 'EPHY_PLL_ADC_CTRL1'. */
  1617. U8 GH_EPHY_get_PLL_ADC_CTRL1_gc_adcpl_ccpd0(void);
  1618. /*! \brief Writes the bit group 'gc_adcpl_ccpd1' of register 'EPHY_PLL_ADC_CTRL1'. */
  1619. void GH_EPHY_set_PLL_ADC_CTRL1_gc_adcpl_ccpd1(U8 data);
  1620. /*! \brief Reads the bit group 'gc_adcpl_ccpd1' of register 'EPHY_PLL_ADC_CTRL1'. */
  1621. U8 GH_EPHY_get_PLL_ADC_CTRL1_gc_adcpl_ccpd1(void);
  1622. /*! \brief Writes the bit group 'pd_adcpl_reg' of register 'EPHY_PLL_ADC_CTRL1'. */
  1623. void GH_EPHY_set_PLL_ADC_CTRL1_pd_adcpl_reg(U8 data);
  1624. /*! \brief Reads the bit group 'pd_adcpl_reg' of register 'EPHY_PLL_ADC_CTRL1'. */
  1625. U8 GH_EPHY_get_PLL_ADC_CTRL1_pd_adcpl_reg(void);
  1626. /*! \brief Writes the bit group 'gcr_adcpl_mod_100t' of register 'EPHY_PLL_ADC_CTRL1'. */
  1627. void GH_EPHY_set_PLL_ADC_CTRL1_gcr_adcpl_mod_100t(U8 data);
  1628. /*! \brief Reads the bit group 'gcr_adcpl_mod_100t' of register 'EPHY_PLL_ADC_CTRL1'. */
  1629. U8 GH_EPHY_get_PLL_ADC_CTRL1_gcr_adcpl_mod_100t(void);
  1630. /*! \brief Writes the bit group 'gcr_adcpl_ictrl' of register 'EPHY_PLL_ADC_CTRL1'. */
  1631. void GH_EPHY_set_PLL_ADC_CTRL1_gcr_adcpl_ictrl(U8 data);
  1632. /*! \brief Reads the bit group 'gcr_adcpl_ictrl' of register 'EPHY_PLL_ADC_CTRL1'. */
  1633. U8 GH_EPHY_get_PLL_ADC_CTRL1_gcr_adcpl_ictrl(void);
  1634. /*! \brief Writes the bit group 'gcr_adcpl_enfrunz' of register 'EPHY_PLL_ADC_CTRL1'. */
  1635. void GH_EPHY_set_PLL_ADC_CTRL1_gcr_adcpl_enfrunz(U8 data);
  1636. /*! \brief Reads the bit group 'gcr_adcpl_enfrunz' of register 'EPHY_PLL_ADC_CTRL1'. */
  1637. U8 GH_EPHY_get_PLL_ADC_CTRL1_gcr_adcpl_enfrunz(void);
  1638. /*! \brief Writes the bit group 'en_adcpl_porst' of register 'EPHY_PLL_ADC_CTRL1'. */
  1639. void GH_EPHY_set_PLL_ADC_CTRL1_en_adcpl_porst(U8 data);
  1640. /*! \brief Reads the bit group 'en_adcpl_porst' of register 'EPHY_PLL_ADC_CTRL1'. */
  1641. U8 GH_EPHY_get_PLL_ADC_CTRL1_en_adcpl_porst(void);
  1642. /*! \brief Writes the bit group 'en_adcpl_adcphdac' of register 'EPHY_PLL_ADC_CTRL1'. */
  1643. void GH_EPHY_set_PLL_ADC_CTRL1_en_adcpl_adcphdac(U8 data);
  1644. /*! \brief Reads the bit group 'en_adcpl_adcphdac' of register 'EPHY_PLL_ADC_CTRL1'. */
  1645. U8 GH_EPHY_get_PLL_ADC_CTRL1_en_adcpl_adcphdac(void);
  1646. /*! \brief Writes the bit group 'gc_adcpl_adcselect' of register 'EPHY_PLL_ADC_CTRL1'. */
  1647. void GH_EPHY_set_PLL_ADC_CTRL1_gc_adcpl_adcselect(U8 data);
  1648. /*! \brief Reads the bit group 'gc_adcpl_adcselect' of register 'EPHY_PLL_ADC_CTRL1'. */
  1649. U8 GH_EPHY_get_PLL_ADC_CTRL1_gc_adcpl_adcselect(void);
  1650. /*! \brief Writes the bit group 'tx_d_test' of register 'EPHY_PLL_ADC_CTRL1'. */
  1651. void GH_EPHY_set_PLL_ADC_CTRL1_tx_d_test(U8 data);
  1652. /*! \brief Reads the bit group 'tx_d_test' of register 'EPHY_PLL_ADC_CTRL1'. */
  1653. U8 GH_EPHY_get_PLL_ADC_CTRL1_tx_d_test(void);
  1654. /*----------------------------------------------------------------------------*/
  1655. /* register EPHY_PLL_ADC_CTRL2 (read/write) */
  1656. /*----------------------------------------------------------------------------*/
  1657. /*! \brief Writes the register 'EPHY_PLL_ADC_CTRL2'. */
  1658. void GH_EPHY_set_PLL_ADC_CTRL2(U16 data);
  1659. /*! \brief Reads the register 'EPHY_PLL_ADC_CTRL2'. */
  1660. U16 GH_EPHY_get_PLL_ADC_CTRL2(void);
  1661. /*! \brief Writes the bit group 'gc_ref_vgen' of register 'EPHY_PLL_ADC_CTRL2'. */
  1662. void GH_EPHY_set_PLL_ADC_CTRL2_gc_ref_vgen(U8 data);
  1663. /*! \brief Reads the bit group 'gc_ref_vgen' of register 'EPHY_PLL_ADC_CTRL2'. */
  1664. U8 GH_EPHY_get_PLL_ADC_CTRL2_gc_ref_vgen(void);
  1665. /*! \brief Writes the bit group 'gc_ref_vcom' of register 'EPHY_PLL_ADC_CTRL2'. */
  1666. void GH_EPHY_set_PLL_ADC_CTRL2_gc_ref_vcom(U8 data);
  1667. /*! \brief Reads the bit group 'gc_ref_vcom' of register 'EPHY_PLL_ADC_CTRL2'. */
  1668. U8 GH_EPHY_get_PLL_ADC_CTRL2_gc_ref_vcom(void);
  1669. /*! \brief Writes the bit group 'gc_ref_vcmpcmvx' of register 'EPHY_PLL_ADC_CTRL2'. */
  1670. void GH_EPHY_set_PLL_ADC_CTRL2_gc_ref_vcmpcmvx(U8 data);
  1671. /*! \brief Reads the bit group 'gc_ref_vcmpcmvx' of register 'EPHY_PLL_ADC_CTRL2'. */
  1672. U8 GH_EPHY_get_PLL_ADC_CTRL2_gc_ref_vcmpcmvx(void);
  1673. /*! \brief Writes the bit group 'pd_lpf_op' of register 'EPHY_PLL_ADC_CTRL2'. */
  1674. void GH_EPHY_set_PLL_ADC_CTRL2_pd_lpf_op(U8 data);
  1675. /*! \brief Reads the bit group 'pd_lpf_op' of register 'EPHY_PLL_ADC_CTRL2'. */
  1676. U8 GH_EPHY_get_PLL_ADC_CTRL2_pd_lpf_op(void);
  1677. /*! \brief Writes the bit group 'gc_adc_force1' of register 'EPHY_PLL_ADC_CTRL2'. */
  1678. void GH_EPHY_set_PLL_ADC_CTRL2_gc_adc_force1(U8 data);
  1679. /*! \brief Reads the bit group 'gc_adc_force1' of register 'EPHY_PLL_ADC_CTRL2'. */
  1680. U8 GH_EPHY_get_PLL_ADC_CTRL2_gc_adc_force1(void);
  1681. /*! \brief Writes the bit group 'gc_adc_force0' of register 'EPHY_PLL_ADC_CTRL2'. */
  1682. void GH_EPHY_set_PLL_ADC_CTRL2_gc_adc_force0(U8 data);
  1683. /*! \brief Reads the bit group 'gc_adc_force0' of register 'EPHY_PLL_ADC_CTRL2'. */
  1684. U8 GH_EPHY_get_PLL_ADC_CTRL2_gc_adc_force0(void);
  1685. /*! \brief Writes the bit group 'endiscz_10' of register 'EPHY_PLL_ADC_CTRL2'. */
  1686. void GH_EPHY_set_PLL_ADC_CTRL2_endiscz_10(U8 data);
  1687. /*! \brief Reads the bit group 'endiscz_10' of register 'EPHY_PLL_ADC_CTRL2'. */
  1688. U8 GH_EPHY_get_PLL_ADC_CTRL2_endiscz_10(void);
  1689. /*! \brief Writes the bit group 'gcr_adcpl_pdphadc' of register 'EPHY_PLL_ADC_CTRL2'. */
  1690. void GH_EPHY_set_PLL_ADC_CTRL2_gcr_adcpl_pdphadc(U8 data);
  1691. /*! \brief Reads the bit group 'gcr_adcpl_pdphadc' of register 'EPHY_PLL_ADC_CTRL2'. */
  1692. U8 GH_EPHY_get_PLL_ADC_CTRL2_gcr_adcpl_pdphadc(void);
  1693. /*! \brief Writes the bit group 'adcpl_bank' of register 'EPHY_PLL_ADC_CTRL2'. */
  1694. void GH_EPHY_set_PLL_ADC_CTRL2_adcpl_bank(U8 data);
  1695. /*! \brief Reads the bit group 'adcpl_bank' of register 'EPHY_PLL_ADC_CTRL2'. */
  1696. U8 GH_EPHY_get_PLL_ADC_CTRL2_adcpl_bank(void);
  1697. /*! \brief Writes the bit group 'adcpl_phase_force' of register 'EPHY_PLL_ADC_CTRL2'. */
  1698. void GH_EPHY_set_PLL_ADC_CTRL2_adcpl_phase_force(U8 data);
  1699. /*! \brief Reads the bit group 'adcpl_phase_force' of register 'EPHY_PLL_ADC_CTRL2'. */
  1700. U8 GH_EPHY_get_PLL_ADC_CTRL2_adcpl_phase_force(void);
  1701. /*! \brief Writes the bit group 'adcpl_phase_force_st' of register 'EPHY_PLL_ADC_CTRL2'. */
  1702. void GH_EPHY_set_PLL_ADC_CTRL2_adcpl_phase_force_st(U8 data);
  1703. /*! \brief Reads the bit group 'adcpl_phase_force_st' of register 'EPHY_PLL_ADC_CTRL2'. */
  1704. U8 GH_EPHY_get_PLL_ADC_CTRL2_adcpl_phase_force_st(void);
  1705. /*! \brief Writes the bit group 'adcpl_force_go' of register 'EPHY_PLL_ADC_CTRL2'. */
  1706. void GH_EPHY_set_PLL_ADC_CTRL2_adcpl_force_go(U8 data);
  1707. /*! \brief Reads the bit group 'adcpl_force_go' of register 'EPHY_PLL_ADC_CTRL2'. */
  1708. U8 GH_EPHY_get_PLL_ADC_CTRL2_adcpl_force_go(void);
  1709. /*----------------------------------------------------------------------------*/
  1710. /* register EPHY_TEST_TX (read/write) */
  1711. /*----------------------------------------------------------------------------*/
  1712. /*! \brief Writes the register 'EPHY_TEST_TX'. */
  1713. void GH_EPHY_set_TEST_TX(U16 data);
  1714. /*! \brief Reads the register 'EPHY_TEST_TX'. */
  1715. U16 GH_EPHY_get_TEST_TX(void);
  1716. /*----------------------------------------------------------------------------*/
  1717. /* register EPHY_PWR (read/write) */
  1718. /*----------------------------------------------------------------------------*/
  1719. /*! \brief Writes the register 'EPHY_PWR'. */
  1720. void GH_EPHY_set_PWR(U16 data);
  1721. /*! \brief Reads the register 'EPHY_PWR'. */
  1722. U16 GH_EPHY_get_PWR(void);
  1723. /*! \brief Writes the bit group 'pwr_k_in_lp' of register 'EPHY_PWR'. */
  1724. void GH_EPHY_set_PWR_pwr_k_in_lp(U8 data);
  1725. /*! \brief Reads the bit group 'pwr_k_in_lp' of register 'EPHY_PWR'. */
  1726. U8 GH_EPHY_get_PWR_pwr_k_in_lp(void);
  1727. /*! \brief Writes the bit group 'dtpwr_enable_lp' of register 'EPHY_PWR'. */
  1728. void GH_EPHY_set_PWR_dtpwr_enable_lp(U8 data);
  1729. /*! \brief Reads the bit group 'dtpwr_enable_lp' of register 'EPHY_PWR'. */
  1730. U8 GH_EPHY_get_PWR_dtpwr_enable_lp(void);
  1731. /*! \brief Writes the bit group 'gcr_adcpl_div_lp' of register 'EPHY_PWR'. */
  1732. void GH_EPHY_set_PWR_gcr_adcpl_div_lp(U8 data);
  1733. /*! \brief Reads the bit group 'gcr_adcpl_div_lp' of register 'EPHY_PWR'. */
  1734. U8 GH_EPHY_get_PWR_gcr_adcpl_div_lp(void);
  1735. /*! \brief Writes the bit group 'dummy' of register 'EPHY_PWR'. */
  1736. void GH_EPHY_set_PWR_dummy(U16 data);
  1737. /*! \brief Reads the bit group 'dummy' of register 'EPHY_PWR'. */
  1738. U16 GH_EPHY_get_PWR_dummy(void);
  1739. /*----------------------------------------------------------------------------*/
  1740. /* register EPHY_ADC_DC (read/write) */
  1741. /*----------------------------------------------------------------------------*/
  1742. /*! \brief Writes the register 'EPHY_ADC_DC'. */
  1743. void GH_EPHY_set_ADC_DC(U16 data);
  1744. /*! \brief Reads the register 'EPHY_ADC_DC'. */
  1745. U16 GH_EPHY_get_ADC_DC(void);
  1746. /*! \brief Writes the bit group 'dc_force_en' of register 'EPHY_ADC_DC'. */
  1747. void GH_EPHY_set_ADC_DC_dc_force_en(U8 data);
  1748. /*! \brief Reads the bit group 'dc_force_en' of register 'EPHY_ADC_DC'. */
  1749. U8 GH_EPHY_get_ADC_DC_dc_force_en(void);
  1750. /*! \brief Writes the bit group 'dc_force' of register 'EPHY_ADC_DC'. */
  1751. void GH_EPHY_set_ADC_DC_dc_force(U8 data);
  1752. /*! \brief Reads the bit group 'dc_force' of register 'EPHY_ADC_DC'. */
  1753. U8 GH_EPHY_get_ADC_DC_dc_force(void);
  1754. /*! \brief Writes the bit group 'dc_can_inv' of register 'EPHY_ADC_DC'. */
  1755. void GH_EPHY_set_ADC_DC_dc_can_inv(U8 data);
  1756. /*! \brief Reads the bit group 'dc_can_inv' of register 'EPHY_ADC_DC'. */
  1757. U8 GH_EPHY_get_ADC_DC_dc_can_inv(void);
  1758. /*! \brief Writes the bit group 'analog_blw' of register 'EPHY_ADC_DC'. */
  1759. void GH_EPHY_set_ADC_DC_analog_blw(U8 data);
  1760. /*! \brief Reads the bit group 'analog_blw' of register 'EPHY_ADC_DC'. */
  1761. U8 GH_EPHY_get_ADC_DC_analog_blw(void);
  1762. /*! \brief Writes the bit group 'dc_k' of register 'EPHY_ADC_DC'. */
  1763. void GH_EPHY_set_ADC_DC_dc_k(U8 data);
  1764. /*! \brief Reads the bit group 'dc_k' of register 'EPHY_ADC_DC'. */
  1765. U8 GH_EPHY_get_ADC_DC_dc_k(void);
  1766. /*! \brief Writes the bit group 'srst' of register 'EPHY_ADC_DC'. */
  1767. void GH_EPHY_set_ADC_DC_srst(U8 data);
  1768. /*! \brief Reads the bit group 'srst' of register 'EPHY_ADC_DC'. */
  1769. U8 GH_EPHY_get_ADC_DC_srst(void);
  1770. /*! \brief Writes the bit group 'adc_cancel_out' of register 'EPHY_ADC_DC'. */
  1771. void GH_EPHY_set_ADC_DC_adc_cancel_out(U8 data);
  1772. /*! \brief Reads the bit group 'adc_cancel_out' of register 'EPHY_ADC_DC'. */
  1773. U8 GH_EPHY_get_ADC_DC_adc_cancel_out(void);
  1774. /*! \brief Writes the bit group 'adc_cancel_disable' of register 'EPHY_ADC_DC'. */
  1775. void GH_EPHY_set_ADC_DC_adc_cancel_disable(U8 data);
  1776. /*! \brief Reads the bit group 'adc_cancel_disable' of register 'EPHY_ADC_DC'. */
  1777. U8 GH_EPHY_get_ADC_DC_adc_cancel_disable(void);
  1778. /*! \brief Writes the bit group 'adc_start' of register 'EPHY_ADC_DC'. */
  1779. void GH_EPHY_set_ADC_DC_adc_start(U8 data);
  1780. /*! \brief Reads the bit group 'adc_start' of register 'EPHY_ADC_DC'. */
  1781. U8 GH_EPHY_get_ADC_DC_adc_start(void);
  1782. /*----------------------------------------------------------------------------*/
  1783. /* register EPHY_ADCPL (read/write) */
  1784. /*----------------------------------------------------------------------------*/
  1785. /*! \brief Writes the register 'EPHY_ADCPL'. */
  1786. void GH_EPHY_set_ADCPL(U16 data);
  1787. /*! \brief Reads the register 'EPHY_ADCPL'. */
  1788. U16 GH_EPHY_get_ADCPL(void);
  1789. /*! \brief Writes the bit group 'mod_10t' of register 'EPHY_ADCPL'. */
  1790. void GH_EPHY_set_ADCPL_mod_10t(U8 data);
  1791. /*! \brief Reads the bit group 'mod_10t' of register 'EPHY_ADCPL'. */
  1792. U8 GH_EPHY_get_ADCPL_mod_10t(void);
  1793. /*! \brief Writes the bit group 'mod' of register 'EPHY_ADCPL'. */
  1794. void GH_EPHY_set_ADCPL_mod(U8 data);
  1795. /*! \brief Reads the bit group 'mod' of register 'EPHY_ADCPL'. */
  1796. U8 GH_EPHY_get_ADCPL_mod(void);
  1797. /*! \brief Writes the bit group 'mod_lp' of register 'EPHY_ADCPL'. */
  1798. void GH_EPHY_set_ADCPL_mod_lp(U8 data);
  1799. /*! \brief Reads the bit group 'mod_lp' of register 'EPHY_ADCPL'. */
  1800. U8 GH_EPHY_get_ADCPL_mod_lp(void);
  1801. /*! \brief Writes the bit group 'adc_frc_zero' of register 'EPHY_ADCPL'. */
  1802. void GH_EPHY_set_ADCPL_adc_frc_zero(U8 data);
  1803. /*! \brief Reads the bit group 'adc_frc_zero' of register 'EPHY_ADCPL'. */
  1804. U8 GH_EPHY_get_ADCPL_adc_frc_zero(void);
  1805. /*! \brief Writes the bit group 'adcpl_step' of register 'EPHY_ADCPL'. */
  1806. void GH_EPHY_set_ADCPL_adcpl_step(U8 data);
  1807. /*! \brief Reads the bit group 'adcpl_step' of register 'EPHY_ADCPL'. */
  1808. U8 GH_EPHY_get_ADCPL_adcpl_step(void);
  1809. /*! \brief Writes the bit group 'ac_a_timer_start' of register 'EPHY_ADCPL'. */
  1810. void GH_EPHY_set_ADCPL_ac_a_timer_start(U8 data);
  1811. /*! \brief Reads the bit group 'ac_a_timer_start' of register 'EPHY_ADCPL'. */
  1812. U8 GH_EPHY_get_ADCPL_ac_a_timer_start(void);
  1813. /*! \brief Writes the bit group 'ac_sample_timer_start' of register 'EPHY_ADCPL'. */
  1814. void GH_EPHY_set_ADCPL_ac_sample_timer_start(U8 data);
  1815. /*! \brief Reads the bit group 'ac_sample_timer_start' of register 'EPHY_ADCPL'. */
  1816. U8 GH_EPHY_get_ADCPL_ac_sample_timer_start(void);
  1817. /*! \brief Writes the bit group 'txramp_gen_10t' of register 'EPHY_ADCPL'. */
  1818. void GH_EPHY_set_ADCPL_txramp_gen_10t(U8 data);
  1819. /*! \brief Reads the bit group 'txramp_gen_10t' of register 'EPHY_ADCPL'. */
  1820. U8 GH_EPHY_get_ADCPL_txramp_gen_10t(void);
  1821. /*----------------------------------------------------------------------------*/
  1822. /* register EPHY_LDO (read/write) */
  1823. /*----------------------------------------------------------------------------*/
  1824. /*! \brief Writes the register 'EPHY_LDO'. */
  1825. void GH_EPHY_set_LDO(U16 data);
  1826. /*! \brief Reads the register 'EPHY_LDO'. */
  1827. U16 GH_EPHY_get_LDO(void);
  1828. /*! \brief Writes the bit group 'dummy' of register 'EPHY_LDO'. */
  1829. void GH_EPHY_set_LDO_dummy(U16 data);
  1830. /*! \brief Reads the bit group 'dummy' of register 'EPHY_LDO'. */
  1831. U16 GH_EPHY_get_LDO_dummy(void);
  1832. /*----------------------------------------------------------------------------*/
  1833. /* register EPHY_CLK_GATE (read) */
  1834. /*----------------------------------------------------------------------------*/
  1835. /*! \brief Reads the register 'EPHY_CLK_GATE'. */
  1836. U16 GH_EPHY_get_CLK_GATE(void);
  1837. /*! \brief Reads the bit group 'eee_capability' of register 'EPHY_CLK_GATE'. */
  1838. U16 GH_EPHY_get_CLK_GATE_eee_capability(void);
  1839. /*----------------------------------------------------------------------------*/
  1840. /* register EPHY_CLK1 (read/write) */
  1841. /*----------------------------------------------------------------------------*/
  1842. /*! \brief Writes the register 'EPHY_CLK1'. */
  1843. void GH_EPHY_set_CLK1(U16 data);
  1844. /*! \brief Reads the register 'EPHY_CLK1'. */
  1845. U16 GH_EPHY_get_CLK1(void);
  1846. /*! \brief Writes the bit group 'unkown' of register 'EPHY_CLK1'. */
  1847. void GH_EPHY_set_CLK1_unkown(U8 data);
  1848. /*! \brief Reads the bit group 'unkown' of register 'EPHY_CLK1'. */
  1849. U8 GH_EPHY_get_CLK1_unkown(void);
  1850. /*! \brief Writes the bit group 'clko_200_gat' of register 'EPHY_CLK1'. */
  1851. void GH_EPHY_set_CLK1_clko_200_gat(U8 data);
  1852. /*! \brief Reads the bit group 'clko_200_gat' of register 'EPHY_CLK1'. */
  1853. U8 GH_EPHY_get_CLK1_clko_200_gat(void);
  1854. /*! \brief Writes the bit group 'clko_200_inv' of register 'EPHY_CLK1'. */
  1855. void GH_EPHY_set_CLK1_clko_200_inv(U8 data);
  1856. /*! \brief Reads the bit group 'clko_200_inv' of register 'EPHY_CLK1'. */
  1857. U8 GH_EPHY_get_CLK1_clko_200_inv(void);
  1858. /*! \brief Writes the bit group 'lut_new' of register 'EPHY_CLK1'. */
  1859. void GH_EPHY_set_CLK1_lut_new(U8 data);
  1860. /*! \brief Reads the bit group 'lut_new' of register 'EPHY_CLK1'. */
  1861. U8 GH_EPHY_get_CLK1_lut_new(void);
  1862. /*----------------------------------------------------------------------------*/
  1863. /* register EPHY_GCR_TX (read/write) */
  1864. /*----------------------------------------------------------------------------*/
  1865. /*! \brief Writes the register 'EPHY_GCR_TX'. */
  1866. void GH_EPHY_set_GCR_TX(U16 data);
  1867. /*! \brief Reads the register 'EPHY_GCR_TX'. */
  1868. U16 GH_EPHY_get_GCR_TX(void);
  1869. /*! \brief Writes the bit group 'ioffset_sel' of register 'EPHY_GCR_TX'. */
  1870. void GH_EPHY_set_GCR_TX_ioffset_sel(U8 data);
  1871. /*! \brief Reads the bit group 'ioffset_sel' of register 'EPHY_GCR_TX'. */
  1872. U8 GH_EPHY_get_GCR_TX_ioffset_sel(void);
  1873. /*! \brief Writes the bit group 'ld_vcmo' of register 'EPHY_GCR_TX'. */
  1874. void GH_EPHY_set_GCR_TX_ld_vcmo(U8 data);
  1875. /*! \brief Reads the bit group 'ld_vcmo' of register 'EPHY_GCR_TX'. */
  1876. U8 GH_EPHY_get_GCR_TX_ld_vcmo(void);
  1877. /*! \brief Writes the bit group 'ph_delay' of register 'EPHY_GCR_TX'. */
  1878. void GH_EPHY_set_GCR_TX_ph_delay(U8 data);
  1879. /*! \brief Reads the bit group 'ph_delay' of register 'EPHY_GCR_TX'. */
  1880. U8 GH_EPHY_get_GCR_TX_ph_delay(void);
  1881. /*! \brief Writes the bit group 'phase_100t' of register 'EPHY_GCR_TX'. */
  1882. void GH_EPHY_set_GCR_TX_phase_100t(U8 data);
  1883. /*! \brief Reads the bit group 'phase_100t' of register 'EPHY_GCR_TX'. */
  1884. U8 GH_EPHY_get_GCR_TX_phase_100t(void);
  1885. /*! \brief Writes the bit group 'ld_iq_sel' of register 'EPHY_GCR_TX'. */
  1886. void GH_EPHY_set_GCR_TX_ld_iq_sel(U8 data);
  1887. /*! \brief Reads the bit group 'ld_iq_sel' of register 'EPHY_GCR_TX'. */
  1888. U8 GH_EPHY_get_GCR_TX_ld_iq_sel(void);
  1889. /*! \brief Writes the bit group 'ld_iq_ibias' of register 'EPHY_GCR_TX'. */
  1890. void GH_EPHY_set_GCR_TX_ld_iq_ibias(U8 data);
  1891. /*! \brief Reads the bit group 'ld_iq_ibias' of register 'EPHY_GCR_TX'. */
  1892. U8 GH_EPHY_get_GCR_TX_ld_iq_ibias(void);
  1893. /*! \brief Writes the bit group 'en_tx_ioffset' of register 'EPHY_GCR_TX'. */
  1894. void GH_EPHY_set_GCR_TX_en_tx_ioffset(U8 data);
  1895. /*! \brief Reads the bit group 'en_tx_ioffset' of register 'EPHY_GCR_TX'. */
  1896. U8 GH_EPHY_get_GCR_TX_en_tx_ioffset(void);
  1897. /*! \brief Writes the bit group 'save2x_tx' of register 'EPHY_GCR_TX'. */
  1898. void GH_EPHY_set_GCR_TX_save2x_tx(U8 data);
  1899. /*! \brief Reads the bit group 'save2x_tx' of register 'EPHY_GCR_TX'. */
  1900. U8 GH_EPHY_get_GCR_TX_save2x_tx(void);
  1901. /*! \brief Writes the bit group 'wssel_inv' of register 'EPHY_GCR_TX'. */
  1902. void GH_EPHY_set_GCR_TX_wssel_inv(U8 data);
  1903. /*! \brief Reads the bit group 'wssel_inv' of register 'EPHY_GCR_TX'. */
  1904. U8 GH_EPHY_get_GCR_TX_wssel_inv(void);
  1905. /*----------------------------------------------------------------------------*/
  1906. /* register EPHY_POWER (read/write) */
  1907. /*----------------------------------------------------------------------------*/
  1908. /*! \brief Writes the register 'EPHY_POWER'. */
  1909. void GH_EPHY_set_POWER(U16 data);
  1910. /*! \brief Reads the register 'EPHY_POWER'. */
  1911. U16 GH_EPHY_get_POWER(void);
  1912. /*! \brief Writes the bit group 'pd_tx_ld' of register 'EPHY_POWER'. */
  1913. void GH_EPHY_set_POWER_pd_tx_ld(U8 data);
  1914. /*! \brief Reads the bit group 'pd_tx_ld' of register 'EPHY_POWER'. */
  1915. U8 GH_EPHY_get_POWER_pd_tx_ld(void);
  1916. /*! \brief Writes the bit group 'pd_tx_idac' of register 'EPHY_POWER'. */
  1917. void GH_EPHY_set_POWER_pd_tx_idac(U8 data);
  1918. /*! \brief Reads the bit group 'pd_tx_idac' of register 'EPHY_POWER'. */
  1919. U8 GH_EPHY_get_POWER_pd_tx_idac(void);
  1920. /*! \brief Writes the bit group 'pd_dacramp_new' of register 'EPHY_POWER'. */
  1921. void GH_EPHY_set_POWER_pd_dacramp_new(U8 data);
  1922. /*! \brief Reads the bit group 'pd_dacramp_new' of register 'EPHY_POWER'. */
  1923. U8 GH_EPHY_get_POWER_pd_dacramp_new(void);
  1924. /*! \brief Writes the bit group 'pd_dacnew_testen' of register 'EPHY_POWER'. */
  1925. void GH_EPHY_set_POWER_pd_dacnew_testen(U8 data);
  1926. /*! \brief Reads the bit group 'pd_dacnew_testen' of register 'EPHY_POWER'. */
  1927. U8 GH_EPHY_get_POWER_pd_dacnew_testen(void);
  1928. /*! \brief Writes the bit group 'pd_tx_ld_10t' of register 'EPHY_POWER'. */
  1929. void GH_EPHY_set_POWER_pd_tx_ld_10t(U8 data);
  1930. /*! \brief Reads the bit group 'pd_tx_ld_10t' of register 'EPHY_POWER'. */
  1931. U8 GH_EPHY_get_POWER_pd_tx_ld_10t(void);
  1932. /*! \brief Writes the bit group 'pd_tx_ld_100t' of register 'EPHY_POWER'. */
  1933. void GH_EPHY_set_POWER_pd_tx_ld_100t(U8 data);
  1934. /*! \brief Reads the bit group 'pd_tx_ld_100t' of register 'EPHY_POWER'. */
  1935. U8 GH_EPHY_get_POWER_pd_tx_ld_100t(void);
  1936. /*! \brief Writes the bit group 'pd_tx_ld_lp' of register 'EPHY_POWER'. */
  1937. void GH_EPHY_set_POWER_pd_tx_ld_lp(U8 data);
  1938. /*! \brief Reads the bit group 'pd_tx_ld_lp' of register 'EPHY_POWER'. */
  1939. U8 GH_EPHY_get_POWER_pd_tx_ld_lp(void);
  1940. /*! \brief Writes the bit group 'pd_tx_idac_10t' of register 'EPHY_POWER'. */
  1941. void GH_EPHY_set_POWER_pd_tx_idac_10t(U8 data);
  1942. /*! \brief Reads the bit group 'pd_tx_idac_10t' of register 'EPHY_POWER'. */
  1943. U8 GH_EPHY_get_POWER_pd_tx_idac_10t(void);
  1944. /*! \brief Writes the bit group 'pd_tx_idac_100t' of register 'EPHY_POWER'. */
  1945. void GH_EPHY_set_POWER_pd_tx_idac_100t(U8 data);
  1946. /*! \brief Reads the bit group 'pd_tx_idac_100t' of register 'EPHY_POWER'. */
  1947. U8 GH_EPHY_get_POWER_pd_tx_idac_100t(void);
  1948. /*! \brief Writes the bit group 'pd_tx_idac_lp' of register 'EPHY_POWER'. */
  1949. void GH_EPHY_set_POWER_pd_tx_idac_lp(U8 data);
  1950. /*! \brief Reads the bit group 'pd_tx_idac_lp' of register 'EPHY_POWER'. */
  1951. U8 GH_EPHY_get_POWER_pd_tx_idac_lp(void);
  1952. /*----------------------------------------------------------------------------*/
  1953. /* register EPHY_MDIIO (read/write) */
  1954. /*----------------------------------------------------------------------------*/
  1955. /*! \brief Writes the register 'EPHY_MDIIO'. */
  1956. void GH_EPHY_set_MDIIO(U16 data);
  1957. /*! \brief Reads the register 'EPHY_MDIIO'. */
  1958. U16 GH_EPHY_get_MDIIO(void);
  1959. /*! \brief Writes the bit group 'mdio_idle_error_cnt_clear' of register 'EPHY_MDIIO'. */
  1960. void GH_EPHY_set_MDIIO_mdio_idle_error_cnt_clear(U8 data);
  1961. /*! \brief Reads the bit group 'mdio_idle_error_cnt_clear' of register 'EPHY_MDIIO'. */
  1962. U8 GH_EPHY_get_MDIIO_mdio_idle_error_cnt_clear(void);
  1963. /*! \brief Writes the bit group 'pd_vbuf' of register 'EPHY_MDIIO'. */
  1964. void GH_EPHY_set_MDIIO_pd_vbuf(U8 data);
  1965. /*! \brief Reads the bit group 'pd_vbuf' of register 'EPHY_MDIIO'. */
  1966. U8 GH_EPHY_get_MDIIO_pd_vbuf(void);
  1967. /*----------------------------------------------------------------------------*/
  1968. /* register EPHY_CLK0 (read/write) */
  1969. /*----------------------------------------------------------------------------*/
  1970. /*! \brief Writes the register 'EPHY_CLK0'. */
  1971. void GH_EPHY_set_CLK0(U16 data);
  1972. /*! \brief Reads the register 'EPHY_CLK0'. */
  1973. U16 GH_EPHY_get_CLK0(void);
  1974. /*! \brief Writes the bit group 'lpi_tx_tq_timer_msb' of register 'EPHY_CLK0'. */
  1975. void GH_EPHY_set_CLK0_lpi_tx_tq_timer_msb(U8 data);
  1976. /*! \brief Reads the bit group 'lpi_tx_tq_timer_msb' of register 'EPHY_CLK0'. */
  1977. U8 GH_EPHY_get_CLK0_lpi_tx_tq_timer_msb(void);
  1978. /*! \brief Writes the bit group 'clko_125_inv' of register 'EPHY_CLK0'. */
  1979. void GH_EPHY_set_CLK0_clko_125_inv(U8 data);
  1980. /*! \brief Reads the bit group 'clko_125_inv' of register 'EPHY_CLK0'. */
  1981. U8 GH_EPHY_get_CLK0_clko_125_inv(void);
  1982. /*! \brief Writes the bit group 'clko_100_gat' of register 'EPHY_CLK0'. */
  1983. void GH_EPHY_set_CLK0_clko_100_gat(U8 data);
  1984. /*! \brief Reads the bit group 'clko_100_gat' of register 'EPHY_CLK0'. */
  1985. U8 GH_EPHY_get_CLK0_clko_100_gat(void);
  1986. /*! \brief Writes the bit group 'clko_100_inv' of register 'EPHY_CLK0'. */
  1987. void GH_EPHY_set_CLK0_clko_100_inv(U8 data);
  1988. /*! \brief Reads the bit group 'clko_100_inv' of register 'EPHY_CLK0'. */
  1989. U8 GH_EPHY_get_CLK0_clko_100_inv(void);
  1990. /*----------------------------------------------------------------------------*/
  1991. /* register EPHY_WAVE_CTRL (read/write) */
  1992. /*----------------------------------------------------------------------------*/
  1993. /*! \brief Writes the register 'EPHY_WAVE_CTRL'. */
  1994. void GH_EPHY_set_WAVE_CTRL(U16 data);
  1995. /*! \brief Reads the register 'EPHY_WAVE_CTRL'. */
  1996. U16 GH_EPHY_get_WAVE_CTRL(void);
  1997. /*! \brief Writes the bit group 'shadow' of register 'EPHY_WAVE_CTRL'. */
  1998. void GH_EPHY_set_WAVE_CTRL_shadow(U8 data);
  1999. /*! \brief Reads the bit group 'shadow' of register 'EPHY_WAVE_CTRL'. */
  2000. U8 GH_EPHY_get_WAVE_CTRL_shadow(void);
  2001. /*----------------------------------------------------------------------------*/
  2002. /* init function */
  2003. /*----------------------------------------------------------------------------*/
  2004. /*! \brief Initialises the registers and mirror variables. */
  2005. void GH_EPHY_init(void);
  2006. #ifdef SRC_INLINE
  2007. #define SRC_INC 1
  2008. #include "gh_ephy.c"
  2009. #undef SRC_INC
  2010. #endif
  2011. #ifdef __cplusplus
  2012. }
  2013. #endif
  2014. #endif /* _GH_EPHY_H */
  2015. /*----------------------------------------------------------------------------*/
  2016. /* end of file */
  2017. /*----------------------------------------------------------------------------*/