|
Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
Macros | |
| #define | DATA_ATTR __xy __attribute__((section(".Xdata"))) |
Functions | |
| static | K_SEM_DEFINE (test_exit_sem, 0, 1) |
| static void | calculate_low (void) |
| Entry point for the low priority compute task. | |
| static void | calculate_high (void) |
| Entry point for the high priority compute task. | |
| K_THREAD_DEFINE (cal_low,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), calculate_low, NULL, NULL, NULL, 10,(K_DSP_REGS|K_AGU_REGS), K_TICKS_FOREVER) | |
| K_THREAD_DEFINE (cal_high,(1024+CONFIG_TEST_EXTRA_STACK_SIZE), calculate_high, NULL, NULL, NULL, 5,(K_DSP_REGS|K_AGU_REGS), K_TICKS_FOREVER) | |
| void | test_calculation (void) |
Variables | |
| static __xy const cq15_t | cq15_a [3] = {{0x20, 10}, {0x10, 20}, {4, 30}} |
| static __xy const cq15_t | cq15_b [3] = {{0x20, 11}, {0x10, 21}, {5, 31}} |
| static volatile short | reference_result |
| static volatile unsigned int | calc_low_count |
| static volatile unsigned int | calc_high_count |
| static volatile bool | test_exited |
| #define DATA_ATTR __xy __attribute__((section(".Xdata"))) |
|
static |
Entry point for the high priority compute task.
|
static |
Entry point for the low priority compute task.
|
static |
| K_THREAD_DEFINE | ( | cal_high | , |
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| calculate_high | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 5 | , | ||
| (K_DSP_REGS|K_AGU_REGS) | , | ||
| K_TICKS_FOREVER | ) |
| K_THREAD_DEFINE | ( | cal_low | , |
| (1024+CONFIG_TEST_EXTRA_STACK_SIZE) | , | ||
| calculate_low | , | ||
| NULL | , | ||
| NULL | , | ||
| NULL | , | ||
| 10 | , | ||
| (K_DSP_REGS|K_AGU_REGS) | , | ||
| K_TICKS_FOREVER | ) |
| void test_calculation | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |