hw_eqep.h 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. /**
  2. * \file hw_eqep.h
  3. *
  4. * \brief EQEP register definitions
  5. */
  6. /*
  7. * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/
  8. */
  9. /*
  10. * Redistribution and use in source and binary forms, with or without
  11. * modification, are permitted provided that the following conditions
  12. * are met:
  13. *
  14. * Redistributions of source code must retain the above copyright
  15. * notice, this list of conditions and the following disclaimer.
  16. *
  17. * Redistributions in binary form must reproduce the above copyright
  18. * notice, this list of conditions and the following disclaimer in the
  19. * documentation and/or other materials provided with the
  20. * distribution.
  21. *
  22. * Neither the name of Texas Instruments Incorporated nor the names of
  23. * its contributors may be used to endorse or promote products derived
  24. * from this software without specific prior written permission.
  25. *
  26. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  27. * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  28. * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  29. * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  30. * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  31. * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  32. * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  33. * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  34. * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  35. * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  36. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  37. *
  38. */
  39. #ifndef _HW_EQEP_H_
  40. #define _HW_EQEP_H_
  41. #ifdef __cplusplus
  42. extern "C" {
  43. #endif
  44. #define EQEP_QPOSCNT (0x0)
  45. #define EQEP_QPOSINIT (0x4)
  46. #define EQEP_QPOSMAX (0x8)
  47. #define EQEP_QPOSCMP (0xC)
  48. #define EQEP_QPOSILAT (0x10)
  49. #define EQEP_QPOSSLAT (0x14)
  50. #define EQEP_QPOSLAT (0x18)
  51. #define EQEP_QUTMR (0x1C)
  52. #define EQEP_QUPRD (0x20)
  53. #define EQEP_QWDTMR (0x24)
  54. #define EQEP_QWDPRD (0x26)
  55. #define EQEP_QDECCTL (0x28)
  56. #define EQEP_QEPCTL (0x2A)
  57. #define EQEP_QCAPCTL (0x2C)
  58. #define EQEP_QPOSCTL (0x2E)
  59. #define EQEP_QEINT (0x30)
  60. #define EQEP_QFLG (0x32)
  61. #define EQEP_QCLR (0x34)
  62. #define EQEP_QFRC (0x36)
  63. #define EQEP_QEPSTS (0x38)
  64. #define EQEP_QCTMR (0x3A)
  65. #define EQEP_QCPRD (0x3C)
  66. #define EQEP_QCTMRLAT (0x3E)
  67. #define EQEP_QCPRDLAT (0x40)
  68. #define EQEP_REVID (0x5A)
  69. /**************************************************************************\
  70. * Field Definition Macros
  71. \**************************************************************************/
  72. /* QPOSCNT */
  73. #define EQEP_QPOSCNT_QPOSCNT (0xFFFFFFFFu)
  74. #define EQEP_QPOSCNT_QPOSCNT_SHIFT (0x00000000u)
  75. /* QPOSINIT */
  76. #define EQEP_QPOSINIT_QPOSINIT (0xFFFFFFFFu)
  77. #define EQEP_QPOSINIT_QPOSINIT_SHIFT (0x00000000u)
  78. /* QPOSMAX */
  79. #define EQEP_QPOSMAX_QPOSMAX (0xFFFFFFFFu)
  80. #define EQEP_QPOSMAX_QPOSMAX_SHIFT (0x00000000u)
  81. /* QPOSCMP */
  82. #define EQEP_QPOSCMP_QPOSCMP (0xFFFFFFFFu)
  83. #define EQEP_QPOSCMP_QPOSCMP_SHIFT (0x00000000u)
  84. /* QPOSILAT */
  85. #define EQEP_QPOSILAT_QPOSILAT (0xFFFFFFFFu)
  86. #define EQEP_QPOSILAT_QPOSILAT_SHIFT (0x00000000u)
  87. /* QPOSSLAT */
  88. #define EQEP_QPOSSLAT_QPOSSLAT (0xFFFFFFFFu)
  89. #define EQEP_QPOSSLAT_QPOSSLAT_SHIFT (0x00000000u)
  90. /* QPOSLAT */
  91. #define EQEP_QPOSLAT_QPOSLAT (0xFFFFFFFFu)
  92. #define EQEP_QPOSLAT_QPOSLAT_SHIFT (0x00000000u)
  93. /* QUTMR */
  94. #define EQEP_QUTMR_QUTMR (0xFFFFFFFFu)
  95. #define EQEP_QUTMR_QUTMR_SHIFT (0x00000000u)
  96. /* QUPRD */
  97. #define EQEP_QUPRD_QUPRD (0xFFFFFFFFu)
  98. #define EQEP_QUPRD_QUPRD_SHIFT (0x00000000u)
  99. /* QWDTMR */
  100. #define EQEP_QWDTMR_QWDTMR (0xFFFFu)
  101. #define EQEP_QWDTMR_QWDTMR_SHIFT (0x0000u)
  102. /* QWDPRD */
  103. #define EQEP_QWDPRD_QWDPRD (0xFFFFu)
  104. #define EQEP_QWDPRD_QWDPRD_SHIFT (0x0000u)
  105. /* QDECCTL */
  106. #define EQEP_QDECCTL_QSRC (0xC000u)
  107. #define EQEP_QDECCTL_QSRC_SHIFT (0x000Eu)
  108. #define EQEP_QDECCTL_QSRC_QUADCOUNT (0x0000u)
  109. #define EQEP_QDECCTL_QSRC_DIRCOUNT (0x0001u)
  110. #define EQEP_QDECCTL_QSRC_UPCOUNT (0x0002u)
  111. #define EQEP_QDECCTL_QSRC_DOWNCOUNT (0x0003u)
  112. #define EQEP_QDECCTL_SOEN (0x2000u)
  113. #define EQEP_QDECCTL_SOEN_SHIFT (0x000Du)
  114. #define EQEP_QDECCTL_SPSEL (0x1000u)
  115. #define EQEP_QDECCTL_SPSEL_SHIFT (0x000Cu)
  116. #define EQEP_QDECCTL_XCR (0x0800u)
  117. #define EQEP_QDECCTL_XCR_SHIFT (0x000Bu)
  118. #define EQEP_QDECCTL_SWAP (0x0400u)
  119. #define EQEP_QDECCTL_SWAP_SHIFT (0x000Au)
  120. #define EQEP_QDECCTL_IGATE (0x0200u)
  121. #define EQEP_QDECCTL_IGATE_SHIFT (0x0009u)
  122. #define EQEP_QDECCTL_QAP (0x0100u)
  123. #define EQEP_QDECCTL_QAP_SHIFT (0x0008u)
  124. #define EQEP_QDECCTL_QBP (0x0080u)
  125. #define EQEP_QDECCTL_QBP_SHIFT (0x0007u)
  126. #define EQEP_QDECCTL_QIP (0x0040u)
  127. #define EQEP_QDECCTL_QIP_SHIFT (0x0006u)
  128. #define EQEP_QDECCTL_QSP (0x0020u)
  129. #define EQEP_QDECCTL_QSP_SHIFT (0x0005u)
  130. /* QEPCTL */
  131. #define EQEP_QEPCTL_FREESOFT (0xC000u)
  132. #define EQEP_QEPCTL_FREESOFT_SHIFT (0x000Eu)
  133. #define EQEP_QEPCTL_FREESOFT_STOPNOW (0x0000u)
  134. #define EQEP_QEPCTL_FREESOFT_COUNTUNTIL (0x0001u)
  135. #define EQEP_QEPCTL_FREESOFT_IGNORE (0x0002u)
  136. #define EQEP_QEPCTL_FREESOFT_IGNORE1 (0x0003u)
  137. #define EQEP_QEPCTL_PCRM (0x3000u)
  138. #define EQEP_QEPCTL_PCRM_SHIFT (0x000Cu)
  139. #define EQEP_QEPCTL_PCRM_ONINDEX (0x0000u)
  140. #define EQEP_QEPCTL_PCRM_ONMAXPOS (0x0001u)
  141. #define EQEP_QEPCTL_PCRM_ON1STINDEX (0x0002u)
  142. #define EQEP_QEPCTL_PCRM_ONUTEVT (0x0003u)
  143. #define EQEP_QEPCTL_SEI (0x0C00u)
  144. #define EQEP_QEPCTL_SEI_SHIFT (0x000Au)
  145. #define EQEP_QEPCTL_SEI_NOEFFECT (0x0000u)
  146. #define EQEP_QEPCTL_SEI_NOEFFECT1 (0x0001u)
  147. #define EQEP_QEPCTL_SEI_ONREDGE (0x0002u)
  148. #define EQEP_QEPCTL_SEI_ONFEDGE (0x0003u)
  149. #define EQEP_QEPCTL_IEI (0x0300u)
  150. #define EQEP_QEPCTL_IEI_SHIFT (0x0008u)
  151. #define EQEP_QEPCTL_IEI_NOEFFECT (0x0000u)
  152. #define EQEP_QEPCTL_IEI_NOEFFECT1 (0x0001u)
  153. #define EQEP_QEPCTL_IEI_ONREDGE (0x0002u)
  154. #define EQEP_QEPCTL_IEI_ONFEDGE (0x0003u)
  155. #define EQEP_QEPCTL_SWI (0x0080u)
  156. #define EQEP_QEPCTL_SWI_SHIFT (0x0007u)
  157. #define EQEP_QEPCTL_SEL (0x0040u)
  158. #define EQEP_QEPCTL_SEL_SHIFT (0x0006u)
  159. #define EQEP_QEPCTL_IEL (0x0030u)
  160. #define EQEP_QEPCTL_IEL_SHIFT (0x0004u)
  161. #define EQEP_QEPCTL_IEL_RESERVED (0x0000u)
  162. #define EQEP_QEPCTL_IEL_ONREDGE (0x0001u)
  163. #define EQEP_QEPCTL_IEL_ONFEDGE (0x0002u)
  164. #define EQEP_QEPCTL_IEL_SWINDEX (0x0003u)
  165. #define EQEP_QEPCTL_QPEN (0x0008u)
  166. #define EQEP_QEPCTL_QPEN_SHIFT (0x0003u)
  167. #define EQEP_QEPCTL_QCLM (0x0004u)
  168. #define EQEP_QEPCTL_QCLM_SHIFT (0x0002u)
  169. #define EQEP_QEPCTL_UTE (0x0002u)
  170. #define EQEP_QEPCTL_UTE_SHIFT (0x0001u)
  171. #define EQEP_QEPCTL_WDE (0x0001u)
  172. #define EQEP_QEPCTL_WDE_SHIFT (0x0000u)
  173. /* QCAPCTL */
  174. #define EQEP_QCAPCTL_CEN (0x8000u)
  175. #define EQEP_QCAPCTL_CEN_SHIFT (0x000Fu)
  176. #define EQEP_QCAPCTL_CCPS (0x0070u)
  177. #define EQEP_QCAPCTL_CCPS_SHIFT (0x0004u)
  178. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV1 (0x0000u)
  179. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV2 (0x0001u)
  180. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV4 (0x0002u)
  181. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV8 (0x0003u)
  182. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV16 (0x0004u)
  183. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV32 (0x0005u)
  184. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV64 (0x0006u)
  185. #define EQEP_QCAPCTL_CCPS_SYSCLKOUTDIV128 (0x0007u)
  186. #define EQEP_QCAPCTL_UPPS (0x000Fu)
  187. #define EQEP_QCAPCTL_UPPS_SHIFT (0x0000u)
  188. #define EQEP_QCAPCTL_UPPS_QCLKDIV1 (0x0000u)
  189. #define EQEP_QCAPCTL_UPPS_QCLKDIV2 (0x0001u)
  190. #define EQEP_QCAPCTL_UPPS_QCLKDIV4 (0x0002u)
  191. #define EQEP_QCAPCTL_UPPS_QCLKDIV8 (0x0003u)
  192. #define EQEP_QCAPCTL_UPPS_QCLKDIV16 (0x0004u)
  193. #define EQEP_QCAPCTL_UPPS_QCLKDIV32 (0x0005u)
  194. #define EQEP_QCAPCTL_UPPS_QCLKDIV64 (0x0006u)
  195. #define EQEP_QCAPCTL_UPPS_QCLKDIV128 (0x0007u)
  196. #define EQEP_QCAPCTL_UPPS_QCLKDIV256 (0x0008u)
  197. #define EQEP_QCAPCTL_UPPS_QCLKDIV512 (0x0009u)
  198. #define EQEP_QCAPCTL_UPPS_QCLKDIV1024 (0x000Au)
  199. #define EQEP_QCAPCTL_UPPS_QCLKDIV2048 (0x000Bu)
  200. /* QPOSCTL */
  201. #define EQEP_QPOSCTL_PCSHDW (0x8000u)
  202. #define EQEP_QPOSCTL_PCSHDW_SHIFT (0x000Fu)
  203. #define EQEP_QPOSCTL_PCLOAD (0x4000u)
  204. #define EQEP_QPOSCTL_PCLOAD_SHIFT (0x000Eu)
  205. #define EQEP_QPOSCTL_PCPOL (0x2000u)
  206. #define EQEP_QPOSCTL_PCPOL_SHIFT (0x000Du)
  207. #define EQEP_QPOSCTL_PCE (0x1000u)
  208. #define EQEP_QPOSCTL_PCE_SHIFT (0x000Cu)
  209. #define EQEP_QPOSCTL_PCSPW (0x0FFFu)
  210. #define EQEP_QPOSCTL_PCSPW_SHIFT (0x0000u)
  211. /* QEINT */
  212. #define EQEP_QEINT_UTO (0x0800u)
  213. #define EQEP_QEINT_UTO_SHIFT (0x000Bu)
  214. #define EQEP_QEINT_IEL (0x0400u)
  215. #define EQEP_QEINT_IEL_SHIFT (0x000Au)
  216. #define EQEP_QEINT_SEL (0x0200u)
  217. #define EQEP_QEINT_SEL_SHIFT (0x0009u)
  218. #define EQEP_QEINT_PCM (0x0100u)
  219. #define EQEP_QEINT_PCM_SHIFT (0x0008u)
  220. #define EQEP_QEINT_PCR (0x0080u)
  221. #define EQEP_QEINT_PCR_SHIFT (0x0007u)
  222. #define EQEP_QEINT_PCO (0x0040u)
  223. #define EQEP_QEINT_PCO_SHIFT (0x0006u)
  224. #define EQEP_QEINT_PCU (0x0020u)
  225. #define EQEP_QEINT_PCU_SHIFT (0x0005u)
  226. #define EQEP_QEINT_WTO (0x0010u)
  227. #define EQEP_QEINT_WTO_SHIFT (0x0004u)
  228. #define EQEP_QEINT_QDC (0x0008u)
  229. #define EQEP_QEINT_QDC_SHIFT (0x0003u)
  230. #define EQEP_QEINT_PHE (0x0004u)
  231. #define EQEP_QEINT_PHE_SHIFT (0x0002u)
  232. #define EQEP_QEINT_PCE (0x0002u)
  233. #define EQEP_QEINT_PCE_SHIFT (0x0001u)
  234. /* QFLG */
  235. #define EQEP_QFLG_UTO (0x0800u)
  236. #define EQEP_QFLG_UTO_SHIFT (0x000Bu)
  237. #define EQEP_QFLG_UTO_NOINT (0x0000u)
  238. #define EQEP_QFLG_UTO_INT (0x0001u)
  239. #define EQEP_QFLG_IEL (0x0400u)
  240. #define EQEP_QFLG_IEL_SHIFT (0x000Au)
  241. #define EQEP_QFLG_SEL (0x0200u)
  242. #define EQEP_QFLG_SEL_SHIFT (0x0009u)
  243. #define EQEP_QFLG_PCM (0x0100u)
  244. #define EQEP_QFLG_PCM_SHIFT (0x0008u)
  245. #define EQEP_QFLG_PCR (0x0080u)
  246. #define EQEP_QFLG_PCR_SHIFT (0x0007u)
  247. #define EQEP_QFLG_PCO (0x0040u)
  248. #define EQEP_QFLG_PCO_SHIFT (0x0006u)
  249. #define EQEP_QFLG_PCU (0x0020u)
  250. #define EQEP_QFLG_PCU_SHIFT (0x0005u)
  251. #define EQEP_QFLG_WTO (0x0010u)
  252. #define EQEP_QFLG_WTO_SHIFT (0x0004u)
  253. #define EQEP_QFLG_QDC (0x0008u)
  254. #define EQEP_QFLG_QDC_SHIFT (0x0003u)
  255. #define EQEP_QFLG_PHE (0x0004u)
  256. #define EQEP_QFLG_PHE_SHIFT (0x0002u)
  257. #define EQEP_QFLG_PCE (0x0002u)
  258. #define EQEP_QFLG_PCE_SHIFT (0x0001u)
  259. #define EQEP_QFLG_INT (0x0001u)
  260. #define EQEP_QFLG_INT_SHIFT (0x0000u)
  261. /* QCLR */
  262. #define EQEP_QCLR_UTO (0x0800u)
  263. #define EQEP_QCLR_UTO_SHIFT (0x000Bu)
  264. #define EQEP_QCLR_IEL (0x0400u)
  265. #define EQEP_QCLR_IEL_SHIFT (0x000Au)
  266. #define EQEP_QCLR_SEL (0x0200u)
  267. #define EQEP_QCLR_SEL_SHIFT (0x0009u)
  268. #define EQEP_QCLR_PCM (0x0100u)
  269. #define EQEP_QCLR_PCM_SHIFT (0x0008u)
  270. #define EQEP_QCLR_PCR (0x0080u)
  271. #define EQEP_QCLR_PCR_SHIFT (0x0007u)
  272. #define EQEP_QCLR_PCO (0x0040u)
  273. #define EQEP_QCLR_PCO_SHIFT (0x0006u)
  274. #define EQEP_QCLR_PCU (0x0020u)
  275. #define EQEP_QCLR_PCU_SHIFT (0x0005u)
  276. #define EQEP_QCLR_WTO (0x0010u)
  277. #define EQEP_QCLR_WTO_SHIFT (0x0004u)
  278. #define EQEP_QCLR_QDC (0x0008u)
  279. #define EQEP_QCLR_QDC_SHIFT (0x0003u)
  280. #define EQEP_QCLR_PHE (0x0004u)
  281. #define EQEP_QCLR_PHE_SHIFT (0x0002u)
  282. #define EQEP_QCLR_PCE (0x0002u)
  283. #define EQEP_QCLR_PCE_SHIFT (0x0001u)
  284. #define EQEP_QCLR_INT (0x0001u)
  285. #define EQEP_QCLR_INT_SHIFT (0x0000u)
  286. /* QFRC */
  287. #define EQEP_QFRC_UTO (0x0800u)
  288. #define EQEP_QFRC_UTO_SHIFT (0x000Bu)
  289. #define EQEP_QFRC_IEL (0x0400u)
  290. #define EQEP_QFRC_IEL_SHIFT (0x000Au)
  291. #define EQEP_QFRC_SEL (0x0200u)
  292. #define EQEP_QFRC_SEL_SHIFT (0x0009u)
  293. #define EQEP_QFRC_PCM (0x0100u)
  294. #define EQEP_QFRC_PCM_SHIFT (0x0008u)
  295. #define EQEP_QFRC_PCR (0x0080u)
  296. #define EQEP_QFRC_PCR_SHIFT (0x0007u)
  297. #define EQEP_QFRC_PCO (0x0040u)
  298. #define EQEP_QFRC_PCO_SHIFT (0x0006u)
  299. #define EQEP_QFRC_PCU (0x0020u)
  300. #define EQEP_QFRC_PCU_SHIFT (0x0005u)
  301. #define EQEP_QFRC_WTO (0x0010u)
  302. #define EQEP_QFRC_WTO_SHIFT (0x0004u)
  303. #define EQEP_QFRC_QDC (0x0008u)
  304. #define EQEP_QFRC_QDC_SHIFT (0x0003u)
  305. #define EQEP_QFRC_PHE (0x0004u)
  306. #define EQEP_QFRC_PHE_SHIFT (0x0002u)
  307. #define EQEP_QFRC_PCE (0x0002u)
  308. #define EQEP_QFRC_PCE_SHIFT (0x0001u)
  309. /* QEPSTS */
  310. #define EQEP_QEPSTS_UPEVNT (0x0080u)
  311. #define EQEP_QEPSTS_UPEVNT_SHIFT (0x0007u)
  312. #define EQEP_QEPSTS_FDF (0x0040u)
  313. #define EQEP_QEPSTS_FDF_SHIFT (0x0006u)
  314. #define EQEP_QEPSTS_QDF (0x0020u)
  315. #define EQEP_QEPSTS_QDF_SHIFT (0x0005u)
  316. #define EQEP_QEPSTS_QDLF (0x0010u)
  317. #define EQEP_QEPSTS_QDLF_SHIFT (0x0004u)
  318. #define EQEP_QEPSTS_COEF (0x0008u)
  319. #define EQEP_QEPSTS_COEF_SHIFT (0x0003u)
  320. #define EQEP_QEPSTS_CDEF (0x0004u)
  321. #define EQEP_QEPSTS_CDEF_SHIFT (0x0002u)
  322. #define EQEP_QEPSTS_FIMF (0x0002u)
  323. #define EQEP_QEPSTS_FIMF_SHIFT (0x0001u)
  324. #define EQEP_QEPSTS_PCEF (0x0001u)
  325. #define EQEP_QEPSTS_PCEF_SHIFT (0x0000u)
  326. /* QCTMR */
  327. #define EQEP_QCTMR_QCTMR (0xFFFFu)
  328. #define EQEP_QCTMR_QCTMR_SHIFT (0x0000u)
  329. /* QCPRD */
  330. #define EQEP_QCPRD_QCPRD (0xFFFFu)
  331. #define EQEP_QCPRD_QCPRD_SHIFT (0x0000u)
  332. /* QCTMRLAT */
  333. #define EQEP_QCTMRLAT_QCTMRLAT (0xFFFFu)
  334. #define EQEP_QCTMRLAT_QCTMRLAT_SHIFT (0x0000u)
  335. /* QCPRDLAT */
  336. #define EQEP_QCPRDLAT_QCPDRLAT (0xFFFFu)
  337. #define EQEP_QCPRDLAT_QCPDRLAT_SHIFT (0x0000u)
  338. /* REVID */
  339. #define EQEP_REVID_REV (0xFFFFFFFFu)
  340. #define EQEP_REVID_REV_SHIFT (0x00000000u)
  341. #ifdef __cplusplus
  342. }
  343. #endif
  344. #endif