Found 2 other functions taking a
twai_ll_reg_save_t
argument:
Restores the previous values of the TWAI controller's registers This function restores the previous values of some of the TWAI controller's registers following a hardware reset of the controller.
Saves the current values of the TWAI controller's registers This function saves the current values of the some of the TWAI controller's registers in preparation for a hardware reset of the controller.