StratifyLabs / StratifyOS-mcu-stm32

Stratify OS MCU Abstraction Library for STM32 Cortex M Devices
MIT License
6 stars 5 forks source link

Full duplex SPI implementation #32

Open tyler-gilbert opened 6 years ago

tyler-gilbert commented 6 years ago

See StratifyLabs/StratifyOS#157

tyler-gilbert commented 6 years ago

this will be done with

aio_read(aio_struct);
write(buffer, 16);

The read won't start until write happens. If read() is called first, it will block forever.