drv_gpio.h 443 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (c) 2006-2023, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2023/01/5 chushicheng first version
  9. *
  10. */
  11. #ifndef __DRV_GPIO_H__
  12. #define __DRV_GPIO_H__
  13. #include <rtthread.h>
  14. #include "rtdevice.h"
  15. #include <rthw.h>
  16. #include "bflb_gpio.h"
  17. #define GPIO_MAX (GPIO_PIN_45 + 1)
  18. int rt_hw_pin_init(void);
  19. #endif /* __DRV_GPIO_H__ */