Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/drivers/can/
Dcan_stm32_bxcan.c268 uint32_t bus_off; in can_stm32_tx_isr_handler() local
271 bus_off = can->ESR & CAN_ESR_BOFF; in can_stm32_tx_isr_handler()
273 if ((can->TSR & CAN_TSR_RQCP0) | bus_off) { in can_stm32_tx_isr_handler()
277 bus_off ? -ENETUNREACH : in can_stm32_tx_isr_handler()
284 if ((can->TSR & CAN_TSR_RQCP1) | bus_off) { in can_stm32_tx_isr_handler()
288 bus_off ? -ENETUNREACH : in can_stm32_tx_isr_handler()
295 if ((can->TSR & CAN_TSR_RQCP2) | bus_off) { in can_stm32_tx_isr_handler()
299 bus_off ? -ENETUNREACH : in can_stm32_tx_isr_handler()