Lucas De Marchi
036eb21c09
AP_HAL: remove init() method with unused argument
9 years ago
Lucas De Marchi
6b1c5e6f72
AP_HAL: add init() method without argument
...
The argument in init() is not used by any implementation. Add a second
method without it so the HAL implementation can used it instead. Later
the unused method will be removed.
9 years ago
mirkix
f48bdc281f
AP_HAL: Add support for using SPI devices of the same type.
10 years ago
Gustavo Jose de Sousa
e05928a7e8
AP_HAL: make SPIDeviceDriver::transaction() return success or failure
10 years ago
Lucas De Marchi
384d650a23
AP_HAL: allow to have spi device state
10 years ago
Andrew Tridgell
5ccf8409b4
AP_HAL: added an optional spi.set_bus_speed() API
...
this will be used by MPU6000 on APM2 to change speed after init
11 years ago
Andrew Tridgell
6415f00ce3
AP_HAL: added a bulk transfer() method
...
very useful for dataflash
12 years ago
Pat Hickey
d2f7402243
AP_HAL: add bulk transaction to SPIDeviceDriver
12 years ago
Pat Hickey
b79bd01761
SPIDriver: namespace explicit to better permit copypasta
12 years ago
Pat Hickey
f543cede01
AP_HAL & AP_HAL_AVR: new SPI driver model
12 years ago
Pat Hickey
b0d8f43111
AP_HAL_AVR: Implemented SPIDriver based on Arduino, but it doesn't work yet
...
* I don't have an APM2.5 board I can easily connect a logic analyzer to see
the traffic on the bus...
12 years ago
Pat Hickey
dc03b1190f
AP_HAL: Stub implementations of pure virtual AP_HAL classes
12 years ago