drv_pin.h 403 B

1234567891011121314151617181920
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2018-03-13 Liuguang the first version.
  9. * 2018-03-19 Liuguang add GPIO interrupt mode support.
  10. */
  11. #ifndef __DRV_PIN_H__
  12. #define __DRV_PIN_H__
  13. #include <rtthread.h>
  14. #include <rtdevice.h>
  15. int rt_hw_pin_init(void);
  16. #endif