Home
last modified time | relevance | path

Searched refs:reg_save (Results 1 – 3 of 3) sorted by relevance

/device/soc/esp/esp32/components/hal/esp32/include/hal/
Dtwai_ll.h788 static inline void twai_ll_save_reg(twai_dev_t *hw, twai_ll_reg_save_t *reg_save) in twai_ll_save_reg() argument
790 reg_save->mode_reg = (uint8_t) hw->mode_reg.val; in twai_ll_save_reg()
791 reg_save->interrupt_enable_reg = (uint8_t) hw->interrupt_enable_reg.val; in twai_ll_save_reg()
792 reg_save->bus_timing_0_reg = (uint8_t) hw->bus_timing_0_reg.val; in twai_ll_save_reg()
793 reg_save->bus_timing_1_reg = (uint8_t) hw->bus_timing_1_reg.val; in twai_ll_save_reg()
794 reg_save->error_warning_limit_reg = (uint8_t) hw->error_warning_limit_reg.val; in twai_ll_save_reg()
796 reg_save->acr_reg[i] = hw->acceptance_filter.acr[i].byte; in twai_ll_save_reg()
797 reg_save->amr_reg[i] = hw->acceptance_filter.amr[i].byte; in twai_ll_save_reg()
799 reg_save->rx_error_counter_reg = (uint8_t) hw->rx_error_counter_reg.val; in twai_ll_save_reg()
800 reg_save->tx_error_counter_reg = (uint8_t) hw->tx_error_counter_reg.val; in twai_ll_save_reg()
[all …]
/device/soc/esp/esp32/components/hal/
Dtwai_hal_iram.c164 …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);
/device/soc/esp/esp32/components/hal/include/hal/
Dtwai_hal.h72 twai_ll_reg_save_t reg_save; member