mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-26 10:38:28 -04:00
AP_HAL: add bulk transaction to SPIDeviceDriver
This commit is contained in:
parent
087b1fa196
commit
d2f7402243
@ -20,6 +20,8 @@ class AP_HAL::SPIDeviceDriver {
|
||||
public:
|
||||
virtual void init() = 0;
|
||||
virtual AP_HAL::Semaphore* get_semaphore() = 0;
|
||||
virtual void transaction(const uint8_t *tx, uint8_t *rx, uint16_t len) = 0;
|
||||
|
||||
virtual void cs_assert() = 0;
|
||||
virtual void cs_release() = 0;
|
||||
virtual uint8_t transfer (uint8_t data) = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user