| ... | @@ -4,7 +4,7 @@ Formerly, these function were provided by the infamous `BusTemplate.h`. |
... | @@ -4,7 +4,7 @@ Formerly, these function were provided by the infamous `BusTemplate.h`. |
|
|
SPIDriver allow for sensors working with different bus configurations (baud rate, polarity, phase etc) to work togheter on the same bus, by appropriately reconfiguring the bus before each transaction.
|
|
SPIDriver allow for sensors working with different bus configurations (baud rate, polarity, phase etc) to work togheter on the same bus, by appropriately reconfiguring the bus before each transaction.
|
|
|
|
|
|
|
|
## General architecture
|
|
## General architecture
|
|
|
SPIDriver.h
|
|

|
|
|
### SPIBusInterface
|
|
### SPIBusInterface
|
|
|
Low level access to the SPI bus is provided trough the interface SPIBusInterfaces, a virtual class the provides all the methods needed to perform operations on the bus:
|
|
Low level access to the SPI bus is provided trough the interface SPIBusInterfaces, a virtual class the provides all the methods needed to perform operations on the bus:
|
|
|
- `configure(...)` Configures the bus with the provided parameters
|
|
- `configure(...)` Configures the bus with the provided parameters
|
| ... | | ... | |