spi_common.h 336 B

123456789101112131415161718
  1. #ifndef _NODEMCU_SPI_COMMON_H_
  2. #define _NODEMCU_SPI_COMMON_H_
  3. #include "lauxlib.h"
  4. typedef struct {
  5. int host;
  6. } lspi_host_t;
  7. // ***************************************************************************
  8. // SPI master
  9. //
  10. int luaopen_spi_master( lua_State *L );
  11. int lspi_master( lua_State *L );
  12. #endif /*_NODEMCU_SPI_COMMON_H_*/