mirror of
https://github.com/isometimes/rpi4-osdev
synced 2024-11-26 04:00:44 +00:00
6 lines
314 B
C
6 lines
314 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_send_no_selection(unsigned char command);
|
|
void spi_chip_select(unsigned char chip_select);
|