Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/gpio/gpio_api_1pin/src/
Dtest_pin.c14 int val_expected, int idx) in pin_get_raw_and_verify() argument
21 zassert_equal(val_expected, val_actual, in pin_get_raw_and_verify()
26 int val_expected, int idx) in pin_get_and_verify() argument
33 zassert_equal(val_expected, val_actual, in pin_get_and_verify()
63 int val_expected; in ZTEST() local
86 val_expected = i % 2; in ZTEST()
88 pin_get_raw_and_verify(port, TEST_PIN, val_expected, i); in ZTEST()
105 int val_expected; in ZTEST() local
127 val_expected = i % 2; in ZTEST()
128 TC_PRINT("LED %s\n", val_expected == 1 ? "ON" : "OFF"); in ZTEST()
[all …]
Dtest_port.c16 gpio_port_value_t val_expected, int idx) in port_get_raw_and_verify() argument
22 zassert_equal(val_expected & mask, val_actual & mask, in port_get_raw_and_verify()
28 gpio_port_value_t val_expected, int idx) in port_get_and_verify() argument
34 zassert_equal(val_expected & mask, val_actual & mask, in port_get_and_verify()
114 gpio_port_value_t val_expected; in ZTEST() local
132 val_expected = BIT(TEST_PIN); in ZTEST()
139 val_expected ^= BIT(TEST_PIN); in ZTEST()
141 port_get_raw_and_verify(port, BIT(TEST_PIN), val_expected, i); in ZTEST()
330 gpio_port_value_t val_expected = 0; in ZTEST() local
359 val_expected |= test_vector[i][0] & (BIT(TEST_PIN)); in ZTEST()
[all …]
Dtest_config.c17 int val_expected, int idx) in pin_get_raw_and_verify() argument
24 zassert_equal(val_expected, val_actual, in pin_get_raw_and_verify()