Searched refs:reg_save (Results 1 – 3 of 3) sorted by relevance
790 static inline void twai_ll_save_reg(twai_dev_t *hw, twai_ll_reg_save_t *reg_save) in twai_ll_save_reg() argument792 reg_save->mode_reg = (uint8_t) hw->mode_reg.val; in twai_ll_save_reg()793 reg_save->interrupt_enable_reg = (uint8_t) hw->interrupt_enable_reg.val; in twai_ll_save_reg()794 reg_save->bus_timing_0_reg = (uint8_t) hw->bus_timing_0_reg.val; in twai_ll_save_reg()795 reg_save->bus_timing_1_reg = (uint8_t) hw->bus_timing_1_reg.val; in twai_ll_save_reg()796 reg_save->error_warning_limit_reg = (uint8_t) hw->error_warning_limit_reg.val; in twai_ll_save_reg()798 reg_save->acr_reg[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->acceptance_filter.acr[i], byte); in twai_ll_save_reg()799 reg_save->amr_reg[i] = HAL_FORCE_READ_U32_REG_FIELD(hw->acceptance_filter.amr[i], byte); in twai_ll_save_reg()801 reg_save->rx_error_counter_reg = (uint8_t) hw->rx_error_counter_reg.val; in twai_ll_save_reg()802 reg_save->tx_error_counter_reg = (uint8_t) hw->tx_error_counter_reg.val; in twai_ll_save_reg()[all …]
164 …twai_ll_save_reg(hal_ctx->dev, &hal_ctx->reg_save); //Save remaining registers after entering rese…171 twai_ll_restore_reg(hal_ctx->dev, &hal_ctx->reg_save);
72 twai_ll_reg_save_t reg_save; member