You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.2 KiB

4 years ago
4 years ago
  1. #pragma once
  2. #include "system_ES8P5066.h"
  3. #include <stdbool.h> //���岼��
  4. #define UART0_RXD0_PIN GPIO_Pin_A22
  5. #define UART0_TXD0_PIN GPIO_Pin_A23
  6. //����
  7. void port_debug_set(bool state);
  8. void port_led0_set(bool state);
  9. void port_led1_set(bool state);
  10. void port_led2_set(bool state);
  11. void port_led3_set(bool state);
  12. void port_led_r_set(bool state);
  13. void port_led_g_set(bool state);
  14. void port_led_b_set(bool state);
  15. bool port_gpio_get_timer_key_state(void);
  16. bool port_gpio_get_gears_key_state(void);
  17. bool port_gpio_get_interval_key_state(void);
  18. /*
  19. ŷ
  20. H PA11
  21. M PA16 ߵ͵ѡ͹رգ1ߵ2ɫ3ɫ4رգ
  22. LED0 PA3
  23. LED1 PB13
  24. LED2 PA5
  25. LED3 PA6
  26. LED_R PA7
  27. LED_G PA8
  28. LED_B PA9
  29. PWM PA4
  30. PB1
  31. ʱ |
  32. --------------------|------
  33. λ |
  34. --------------------|------
  35. Ӧled |
  36. --------------------|------
  37. RGB |
  38. --------------------|------
  39. PWMƵ |
  40. --------------------|------
  41. pwmռձ |
  42. --------------------|------
  43. ʱ |
  44. --------------------|------
  45. */