twibus_gpio.h 441 B

123456789101112131415161718192021222324
  1. #ifndef _DEV_TWIBUS_GPIO_H_
  2. #define _DEV_TWIBUS_GPIO_H_
  3. #include <sys/types.h>
  4. typedef struct _NUTTWIICB NUTTWIICB;
  5. /*
  6. * Runtime Data container.
  7. * This is installed in heap at initializaton
  8. * of a bus.
  9. */
  10. struct _NUTTWIICB {
  11. /********** Master mode *********/
  12. /*! \brief Bus last error condition.
  13. */
  14. };
  15. extern NUTTWIBUS TwGpioBus;
  16. #ifndef DEF_TWIBUS
  17. #define DEF_TWIBUS TwGpioBus
  18. #endif
  19. #endif /* _DEV_TWIBUS_GPIO_H_ */