stm32-rs / stm32l4xx-hal

A Hardware abstraction layer for the stm32l432xx series chips written in rust.
157 stars 104 forks source link

Is it possible to configure half-duplex SPI? #314

Open msrd0 opened 2 years ago

msrd0 commented 2 years ago

I want to connect an SPI display to my STM32L476 nucleo board, which does not return any data, so the STM32 chip will never have to read any data. Therefore, I was trying to setup a half-duplex SPI connection, similar to how NoMiso exists for the STM32L0xx crate. However, I was unable to find a similar struct in this crate. Is it possible to configure half-duplex SPI with this crate?