Added initialization_mode method to DynAux trait, to enable software support for disabling of the CAN bus.
Created a new method initialization_mode in reg, similar to configuration_mode but without setting the configuration bit. While CCCR.INIT is set, message transfer from and to the CAN bus is stopped. Setting CCCR.INIT does not change any configuration register.
Exposed the initialization mode by adding the initialization_mode function to the DynAux trait, with will implement a call to the initialization_mode method in reg.
Thank you!
Thank you for your contribution.
Please make sure that your submission includes the following:
Must
[x] The code compiles without errors or warnings.
[x] All tests pass and in the best case you also added new tests.
[x] cargo +stable fmt was run.
[x] cargo +stable clippy yields no warnings.
[x] Your changes were added to the CHANGELOG.md in the proper section.
[x] You add a description of your work to this PR.
[x] You added proper docs (in code, rustdoc and README.md) for your
newly added features and code.
Added initialization_mode method to DynAux trait, to enable software support for disabling of the CAN bus.
Created a new method initialization_mode in reg, similar to configuration_mode but without setting the configuration bit. While CCCR.INIT is set, message transfer from and to the CAN bus is stopped. Setting CCCR.INIT does not change any configuration register.
Exposed the initialization mode by adding the initialization_mode function to the DynAux trait, with will implement a call to the initialization_mode method in reg.
Thank you!
Thank you for your contribution. Please make sure that your submission includes the following:
Must
errors
orwarnings
.cargo +stable fmt
was run.cargo +stable clippy
yields nowarnings
.CHANGELOG.md
in the proper section.