Searched refs:test_callback (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/tests/drivers/gpio/gpio_basic_api/src/ |
D | test_callback_trigger.c | 34 static int test_callback(int mode) in test_callback() function 123 zassert_equal(test_callback(GPIO_INT_EDGE_FALLING), TC_PASS, in ZTEST() 125 zassert_equal(test_callback(GPIO_INT_EDGE_RISING), TC_PASS, in ZTEST() 127 zassert_equal(test_callback(GPIO_INT_EDGE_TO_ACTIVE), TC_PASS, in ZTEST() 129 zassert_equal(test_callback(GPIO_INT_EDGE_TO_INACTIVE), TC_PASS, in ZTEST() 131 zassert_equal(test_callback(GPIO_INT_LEVEL_HIGH), TC_PASS, in ZTEST() 133 zassert_equal(test_callback(GPIO_INT_LEVEL_LOW), TC_PASS, in ZTEST() 135 zassert_equal(test_callback(GPIO_INT_LEVEL_ACTIVE), TC_PASS, in ZTEST() 137 zassert_equal(test_callback(GPIO_INT_LEVEL_INACTIVE), TC_PASS, in ZTEST() 139 zassert_equal(test_callback(GPIO_INT_EDGE_BOTH), TC_PASS, in ZTEST()
|
/Zephyr-Core-3.7.0/tests/subsys/mgmt/mcumgr/handler_demo/src/ |
D | main.c | 24 static struct mgmt_callback test_callback; variable 56 test_callback.callback = test_function; in main() 57 test_callback.event_id = MGMT_EVT_OP_EXAMPLE_OTHER; in main() 58 mgmt_callback_register(&test_callback); in main()
|
/Zephyr-Core-3.7.0/tests/lib/notify/src/ |
D | main.c | 170 ZTEST(sys_notify_api, test_callback) in ZTEST() argument
|