SPI class usage


I have two questions about SPI

  1. Can you tell me the way (or example) how I can use your SPI class implementation in C?
  2. Do you have support for such functions as BeginTransaction and EndTransaction (example https://www.arduino.cc/en/Reference/SPIbeginTransaction)? I didn’t find them in documentation https://docs.zerynth.com/latest/official/core.zerynth.stdlib/docs/official_core.zerynth.stdlib_spi.html.


hi @baravovan
Please have a look at the SPI documentation in HAL.
As for the BeginTransaction, i think the vhalSpiConf in the documentation does a similar job.
You specify your settings in that struct and vhalSpiInit initiates SPI and uses this settings.:slight_smile: