globdefs.h 477 B

1234567891011121314151617181920212223
  1. /*
  2. * Squeezelite for esp32
  3. *
  4. * (c) Philippe G. 2019, philippe_44@outlook.com
  5. *
  6. * This software is released under the MIT License.
  7. * https://opensource.org/licenses/MIT
  8. *
  9. */
  10. #pragma once
  11. #define I2C_SYSTEM_PORT 1
  12. #define SPI_SYSTEM_HOST SPI2_HOST
  13. extern int i2c_system_port;
  14. extern int i2c_system_speed;
  15. extern int spi_system_host;
  16. extern int spi_system_dc_gpio;
  17. typedef struct {
  18. int timer, base_channel, max;
  19. } pwm_system_t;
  20. extern pwm_system_t pwm_system;