Lines Matching +full:spi +full:- +full:bus
31 .Nd SPI generic I/O device driver
36 .Bd -ragged -offset indent
37 .Cd "device spi"
45 .Bd -literal -offset indent
51 driver provides direct access to a slave device on the SPI bus.
54 device is associated with a single chip-select
55 line on the bus, and all I/O performed through that instance is done
56 with that chip-select line asserted.
58 SPI data transfers are inherently bi-directional; there are no separate
71 driver provides access to the SPI slave device with the following
75 .Bl -tag -width indent
83 .Bd -literal
91 The buffers for the transfer are a previously-mmap'd region.
100 is non-zero, the data appears in the memory region immediately
104 .Bd -literal
111 Get the maximum clock speed (bus frequency in Hertz) to be used
114 Set the maximum clock speed (bus frequency in Hertz) to be used
118 The actual bus frequency may be lower due to hardware limitations
119 of the SPI bus controller device.
121 Get the SPI mode (clock polarity and phase) to be used
124 Set the SPI mode (clock polarity and phase) to be used
136 .Bl -tag -width indent
142 The maximum bus frequency to use when communicating with this device.
143 Actual bus speed may be lower, depending on the capabilities of the SPI
146 The chip-select number to assert when performing I/O for this device.
149 The SPI mode (0-3) to use when communicating with this device.
155 of the SPI bus controller node.
161 The most commonly-used ones are documented below.
166 .Bl -tag -width indent
171 .It Va spi-max-frequency
172 The maximum bus frequency to use when communicating with this slave device.
173 Actual bus speed may be lower, depending on the capabilities of the SPI
180 .Bl -tag -width indent
181 .It Va spi-cpha
184 .It Va spi-cpol
187 .It Va spi-cs-high
191 .Bl -tag -width -compact
197 .Xr spi 8