Home
last modified time | relevance | path

Searched refs:btr0 (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/can/
Dcan_esp32_twai.c119 uint8_t btr0; in can_esp32_twai_set_timing() local
128 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()
Dcan_sja1000.c111 uint8_t btr0; in can_sja1000_set_timing() local
120 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()