mc13783.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. /*
  2. * (C) Copyright 2011
  3. * Helmut Raiger, HALE electronic GmbH, helmut.raiger@hale.at
  4. *
  5. * See file CREDITS for list of people who contributed to this
  6. * project.
  7. *
  8. * This program is free software; you can redistribute it and/or
  9. * modify it under the terms of the GNU General Public License as
  10. * published by the Free Software Foundation; either version 2 of
  11. * the License, or (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License
  19. * along with this program; if not, write to the Free Software
  20. * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
  21. * MA 02111-1307 USA
  22. */
  23. #ifndef __MC13783_H__
  24. #define __MC13783_H__
  25. /* REG_MODE_0 */
  26. #define VAUDIOEN (1 << 0)
  27. #define VAUDIOSTBY (1 << 1)
  28. #define VAUDIOMODE (1 << 2)
  29. #define VIOHIEN (1 << 3)
  30. #define VIOHISTBY (1 << 4)
  31. #define VIOHIMODE (1 << 5)
  32. #define VIOLOEN (1 << 6)
  33. #define VIOLOSTBY (1 << 7)
  34. #define VIOLOMODE (1 << 8)
  35. #define VDIGEN (1 << 9)
  36. #define VDIGSTBY (1 << 10)
  37. #define VDIGMODE (1 << 11)
  38. #define VGENEN (1 << 12)
  39. #define VGENSTBY (1 << 13)
  40. #define VGENMODE (1 << 14)
  41. #define VRFDIGEN (1 << 15)
  42. #define VRFDIGSTBY (1 << 16)
  43. #define VRFDIGMODE (1 << 17)
  44. #define VRFREFEN (1 << 18)
  45. #define VRFREFSTBY (1 << 19)
  46. #define VRFREFMODE (1 << 20)
  47. #define VRFCPEN (1 << 21)
  48. #define VRFCPSTBY (1 << 22)
  49. #define VRFCPMODE (1 << 23)
  50. /* REG_MODE_1 */
  51. #define VSIMEN (1 << 0)
  52. #define VSIMSTBY (1 << 1)
  53. #define VSIMMODE (1 << 2)
  54. #define VESIMEN (1 << 3)
  55. #define VESIMSTBY (1 << 4)
  56. #define VESIMMODE (1 << 5)
  57. #define VCAMEN (1 << 6)
  58. #define VCAMSTBY (1 << 7)
  59. #define VCAMMODE (1 << 8)
  60. #define VRFBGEN (1 << 9)
  61. #define VRFBGSTBY (1 << 10)
  62. #define VVIBEN (1 << 11)
  63. #define VRF1EN (1 << 12)
  64. #define VRF1STBY (1 << 13)
  65. #define VRF1MODE (1 << 14)
  66. #define VRF2EN (1 << 15)
  67. #define VRF2STBY (1 << 16)
  68. #define VRF2MODE (1 << 17)
  69. #define VMMC1EN (1 << 18)
  70. #define VMMC1STBY (1 << 19)
  71. #define VMMC1MODE (1 << 20)
  72. #define VMMC2EN (1 << 21)
  73. #define VMMC2STBY (1 << 22)
  74. #define VMMC2MODE (1 << 23)
  75. #endif