Exemplo n.º 1
0
// Read SPI device default max speed hz
func SPI_IOC_RD_MAX_SPEED_HZ() uintptr {
	return sys.IOR(spiIoctlMAGIC, 4, 4)
}
Exemplo n.º 2
0
// Read SPI bit justification
func SPI_IOC_RD_LSB_FIRST() uintptr {
	return sys.IOR(spiIoctlMAGIC, 2, 1)
}
Exemplo n.º 3
0
// Read SPI device word length (1..N)
func SPI_IOC_RD_BITS_PER_WORD() uintptr {
	return sys.IOR(spiIoctlMAGIC, 3, 1)
}
Exemplo n.º 4
0
// Read of SPI mode (SPI_MODE_0..SPI_MODE_3)
func SPI_IOC_RD_MODE() uintptr {
	return sys.IOR(spiIoctlMAGIC, 1, 1)
}