This commit refactors the TWAI HAL such that it now tracks the harwdare's state instead of at the driver layer. Some HAL and LL cleanup was also done.
This commit refactors the TWAI HAL such that it now tracks the harwdare's state instead of at the driver layer. Some HAL and LL cleanup was also done.