nodemcu-firmware/components/modules/spi_common.h

19 lines
336 B
C
Raw Normal View History

2017-05-01 22:02:07 +02:00
#ifndef _NODEMCU_SPI_COMMON_H_
#define _NODEMCU_SPI_COMMON_H_
#include "lauxlib.h"
2017-05-26 21:39:29 +02:00
typedef struct {
int host;
} lspi_host_t;
2017-05-01 22:02:07 +02:00
// ***************************************************************************
// SPI master
//
int luaopen_spi_master( lua_State *L );
int lspi_master( lua_State *L );
#endif /*_NODEMCU_SPI_COMMON_H_*/