To encapsulate a lot of the hardware that we are interacting with that is onboard the MPU itself, I made an MPU interface that will abstract the HAL calls that would otherwise need to be made, as well as adding in a nice place for mutexing to occur
Notes
My implementation of ADC reading is probably a bit too mixed with application layer, as I am making an assumption that the dev is calling the read_adc function from a task. But this was the best way I could think of.
Changes
To encapsulate a lot of the hardware that we are interacting with that is onboard the MPU itself, I made an MPU interface that will abstract the HAL calls that would otherwise need to be made, as well as adding in a nice place for mutexing to occur
Notes
My implementation of ADC reading is probably a bit too mixed with application layer, as I am making an assumption that the dev is calling the
read_adc
function from a task. But this was the best way I could think of.To Do
Closes #112