tea6420.h 522 B

123456789101112131415161718192021222324
  1. #ifndef __INCLUDED_TEA6420__
  2. #define __INCLUDED_TEA6420__
  3. /* input pins */
  4. #define TEA6420_OUTPUT1 1
  5. #define TEA6420_OUTPUT2 2
  6. #define TEA6420_OUTPUT3 3
  7. #define TEA6420_OUTPUT4 4
  8. /* output pins */
  9. #define TEA6420_INPUT1 1
  10. #define TEA6420_INPUT2 2
  11. #define TEA6420_INPUT3 3
  12. #define TEA6420_INPUT4 4
  13. #define TEA6420_INPUT5 5
  14. #define TEA6420_INPUT6 6
  15. /* gain on the output pins, ORed with the output pin */
  16. #define TEA6420_GAIN0 0x00
  17. #define TEA6420_GAIN2 0x20
  18. #define TEA6420_GAIN4 0x40
  19. #define TEA6420_GAIN6 0x60
  20. #endif