MCPcopy Create free account
hub / github.com/ArduPilot/ardupilot / bouncebuffer_finish

Method bouncebuffer_finish

libraries/AP_HAL_ChibiOS/Device.cpp:199–207  ·  view source on GitHub ↗

complete a transfer using DMA bounce buffer */

Source from the content-addressed store, hash-verified

197 complete a transfer using DMA bounce buffer
198 */
199void DeviceBus::bouncebuffer_finish(const uint8_t *buf_tx, uint8_t *buf_rx, uint16_t rx_len)
200{
201 if (buf_rx) {
202 bouncebuffer_finish_read(bounce_buffer_rx, buf_rx, rx_len);
203 }
204 if (buf_tx) {
205 bouncebuffer_finish_write(bounce_buffer_tx, buf_tx);
206 }
207}
208
209#endif // HAL_USE_I2C || HAL_USE_SPI

Callers 3

transferMethod · 0.80
_transferMethod · 0.80
do_transferMethod · 0.80

Calls 2

bouncebuffer_finish_readFunction · 0.85

Tested by

no test coverage detected