led.h 418 B

123456789101112131415161718192021
  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. * 2021-08-25 AisinoChip the first version
  9. */
  10. #ifndef __LED_H__
  11. #define __LED_H__
  12. #include <rtthread.h>
  13. void rt_hw_led_init(void);
  14. void rt_hw_led_on(rt_uint32_t led);
  15. void rt_hw_led_off(rt_uint32_t led);
  16. void rt_hw_led_toggle(rt_uint32_t led);
  17. #endif