led.h 440 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2017-09-14 Haley the first version
  9. */
  10. #ifndef __LED_H
  11. #define __LED_H
  12. #include <rtthread.h>
  13. /**
  14. * @brief External function definitions
  15. *
  16. */
  17. void rt_hw_led_init(void);
  18. void rt_hw_led_on(rt_uint8_t LEDNum);
  19. void rt_hw_led_off(rt_uint8_t LEDNum);
  20. #endif // __LED_H