Lines Matching refs:args
44 const delay_test_arg_t args = { variable
50 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 0);
51 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
52 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
55 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 1);
56 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
57 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
61 vSemaphoreDelete(args.done);
67 const delay_test_arg_t args = { variable
73 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 0);
74 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
75 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
78 xTaskCreatePinnedToCore(test_delay_task, "", 2048, (void *)&args, 3, NULL, 1);
79 TEST_ASSERT(xSemaphoreTake(args.done, delay_ms * 2 / portTICK_PERIOD_MS));
80 TEST_ASSERT_INT32_WITHIN(1000, args.delay_us, args.result);
84 vSemaphoreDelete(args.done);