drv_pin.h 587 B

123456789101112131415161718192021222324
  1. /*
  2. * File : drv_pin.h
  3. * This file is part of RT-Thread RTOS
  4. * COPYRIGHT (C) 2006-2013, RT-Thread Development Team
  5. *
  6. * The license and distribution terms for this file may be
  7. * found in the file LICENSE in this distribution or at
  8. * http://www.rt-thread.org/license/LICENSE
  9. *
  10. * Change Logs:
  11. * Date Author Notes
  12. * 2018-03-13 Liuguang the first version.
  13. * 2018-03-19 Liuguang add GPIO interrupt mode support.
  14. */
  15. #ifndef __DRV_PIN_H__
  16. #define __DRV_PIN_H__
  17. #include <rtthread.h>
  18. #include <rtdevice.h>
  19. int rt_hw_pin_init(void);
  20. #endif