Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/can/host/pytest/
Dtest_can.py72 def skip_if_unsupported(can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None:
77 if can_host.protocol == CanProtocol.CAN_20:
80 def test_dut_to_host(self, can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None:
82 self.skip_if_unsupported(can_dut, can_host, msg)
85 rx = can_host.recv(timeout=TIMEOUT)
88 def test_host_to_dut(self, can_dut: BusABC, can_host: BusABC, msg: can.Message) -> None:
90 self.skip_if_unsupported(can_dut, can_host, msg)
92 can_host.send(msg, timeout=TIMEOUT)
Dconftest.py63 def can_host(context: str) -> BusABC: function
/Zephyr-latest/tests/drivers/can/host/
DCMakeLists.txt5 project(can_host) project
/Zephyr-latest/tests/drivers/can/host/src/
Dmain.c35 SHELL_CMD_REGISTER(can_host, &sub_can_host_cmds, "CAN host test commands", NULL);