rpi4-osdev/part15a-tcpip-webserver-gpio-interrupt/include/spi.h
2024-03-27 12:35:12 +01:00

5 lines
263 B
C

void spi_init();
void spi_send_recv(unsigned char *sbuffer, unsigned char *rbuffer, unsigned int size);
void spi_send(unsigned char *data, unsigned int size);
void spi_recv(unsigned char *data, unsigned int size);
void spi_chip_select(unsigned char chip_select);