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

Method _cs_assert

libraries/AP_HAL_Linux/SPIDevice.cpp:399–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397
398
399void SPIDevice::_cs_assert()
400{
401 if (_desc.cs_pin == SPI_CS_KERNEL) {
402 return;
403 }
404
405 _cs->write(0);
406}
407
408void SPIDevice::_cs_release()
409{

Callers

nothing calls this directly

Calls 1

writeMethod · 0.45

Tested by

no test coverage detected