Searched refs:btr0 (Results 1 – 2 of 2) sorted by relevance
119 uint8_t btr0; in can_esp32_twai_set_timing() local128 btr0 = TWAI_BAUD_PRESC_PREP(timing->prescaler - 1) | in can_esp32_twai_set_timing()137 can_esp32_twai_write_reg32(dev, TWAI_BUS_TIMING_0_REG, btr0); in can_esp32_twai_set_timing()
111 uint8_t btr0; in can_sja1000_set_timing() local120 btr0 = CAN_SJA1000_BTR0_BRP_PREP(timing->prescaler - 1) | in can_sja1000_set_timing()129 can_sja1000_write_reg(dev, CAN_SJA1000_BTR0, btr0); in can_sja1000_set_timing()