|
sketchbook
|
#include <stdio.h>#include <stdint.h>#include <stdlib.h>#include <fcntl.h>#include <errno.h>#include <string.h>#include <sys/ioctl.h>#include <asm/ioctl.h>#include <linux/spi/spidev.h>#include "wiringPi.h"#include "wiringPiSPI.h"Functions | |
| int | wiringPiSPIGetFd (int channel) |
| int | wiringPiSPIDataRW (int channel, unsigned char *data, int len) |
| int | wiringPiSPISetupMode (int channel, int speed, int mode) |
| int | wiringPiSPISetup (int channel, int speed) |
| int wiringPiSPIDataRW | ( | int | channel, |
| unsigned char * | data, | ||
| int | len | ||
| ) |
| int wiringPiSPIGetFd | ( | int | channel | ) |
| int wiringPiSPISetup | ( | int | channel, |
| int | speed | ||
| ) |
| int wiringPiSPISetupMode | ( | int | channel, |
| int | speed, | ||
| int | mode | ||
| ) |
1.8.6