I'm currently working on a project that requires very low-level access to peripherals. Because of this, I'm mostly working with the RAL and HAL, rather than the BSP. However, I don't want to have to configure all of the clock settings myself, and would like to let the BSP take care of this for me. Unfortunately, to do that, It's currently required to provide the raw peripheral instances over to the BSP, which causes an ownership transfer that I don't want to do.
Giving access to this function allows driver creators to let the teensy's clocks be set up easily, while still providing low-level access to everything else.
I'm currently working on a project that requires very low-level access to peripherals. Because of this, I'm mostly working with the RAL and HAL, rather than the BSP. However, I don't want to have to configure all of the clock settings myself, and would like to let the BSP take care of this for me. Unfortunately, to do that, It's currently required to provide the raw peripheral instances over to the BSP, which causes an ownership transfer that I don't want to do.
Giving access to this function allows driver creators to let the teensy's clocks be set up easily, while still providing low-level access to everything else.