MCPcopy Create free account
hub / github.com/RobTillaart/Arduino / setSPIspeed

Method setSPIspeed

libraries/MCP_DAC/MCP_DAC.cpp:206–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204
205
206void MCP_DAC::setSPIspeed(uint32_t speed)
207{
208 _SPIspeed = speed;
209 _spi_settings = SPISettings(_SPIspeed, MSBFIRST, SPI_MODE0);
210};
211
212
213//////////////////////////////////////////////////////////////////

Callers 1

unittestFunction · 0.45

Calls

no outgoing calls

Tested by 1

unittestFunction · 0.36