tea6415c.h 723 B

12345678910111213141516171819202122232425262728
  1. #ifndef __INCLUDED_TEA6415C__
  2. #define __INCLUDED_TEA6415C__
  3. /* the tea6415c's design is quite brain-dead. although there are
  4. 8 inputs and 6 outputs, these aren't enumerated in any way. because
  5. I don't want to say "connect input pin 20 to output pin 17", I define
  6. a "virtual" pin-order. */
  7. /* input pins */
  8. #define TEA6415C_OUTPUT1 18
  9. #define TEA6415C_OUTPUT2 14
  10. #define TEA6415C_OUTPUT3 16
  11. #define TEA6415C_OUTPUT4 17
  12. #define TEA6415C_OUTPUT5 13
  13. #define TEA6415C_OUTPUT6 15
  14. /* output pins */
  15. #define TEA6415C_INPUT1 5
  16. #define TEA6415C_INPUT2 8
  17. #define TEA6415C_INPUT3 3
  18. #define TEA6415C_INPUT4 20
  19. #define TEA6415C_INPUT5 6
  20. #define TEA6415C_INPUT6 10
  21. #define TEA6415C_INPUT7 1
  22. #define TEA6415C_INPUT8 11
  23. #endif