Documentation ¶
Index ¶
Constants ¶
View Source
const ( SPI_CONTINUE = 0 SPI_LAST = 1 SPI_MODE0 = 0x00 SPI_MODE1 = 0x01 SPI_MODE2 = 0x02 SPI_MODE3 = 0x03 SPI_CLOCK_DIV1 = 0x00 SPI_CLOCK_DIV2 = 0x01 SPI_CLOCK_DIV4 = 0x02 SPI_CLOCK_DIV8 = 0x03 SPI_CLOCK_DIV16 = 0x04 SPI_CLOCK_DIV32 = 0x05 SPI_CLOCK_DIV64 = 0x06 SPI_CLOCK_DIV128 = 0x07 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SPIDevice ¶
type SPIDevice struct {
// contains filtered or unexported fields
}
func NewSPIDevice ¶
func (*SPIDevice) SetBitOrder ¶
func (*SPIDevice) SetClockDivider ¶
func (*SPIDevice) SetDataMode ¶
Click to show internal directories.
Click to hide internal directories.