raspi_gpio_hal.h 431 B

123456789101112131415161718192021
  1. /*
  2. raspi_gpio_hal.h
  3. This could needs to be compiled with -DU8X8_USE_PINS
  4. */
  5. #ifndef raspi_gpio_hal_h
  6. #define raspi_gpio_hal_h
  7. #include "u8x8.h"
  8. void delaynanoseconds(unsigned long ns);
  9. int gpio_export(int pin);
  10. int gpio_direction(int pin, int dir);
  11. int gpio_write(int pin, int value);
  12. uint8_t u8x8_gpio_and_delay_raspi_gpio_hal(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr);
  13. #endif /* raspi_gpio_hal_h */