Add ability to re-configure SPI. #42
Labels
good first issue
Things that aren't too difficult to implement/fix and might be a great way to start contributing
hal-api
API design for the different components of avr-hal
hal-generic
Related to MCU generic parts of avr-hal
help wanted
Extra attention is needed
I'm trying to use SPI to read off an SD card, and part of the requirements of an SD card is that it needs to initialize at 100-400kHz, but then you can run it faster afterwards.
I'm using
embedded-sdmmc
, and it allows you to reconfigure the peripheral after initializing through a function. However as this HAL currently exists, there is no way to do that other than releasing the existing instance and creating a new one.I have tested the following and it seems to work (haven't built the hardware to test yet):
The text was updated successfully, but these errors were encountered: