Home
last modified time | relevance | path

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

/Zephyr-latest/samples/userspace/shared_mem/src/
Denc.c52 printk("Index: %d, %d, %d\n", IW1, IW2, IW3); in enig_enc()
67 tmpIndex = (W2[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
83 tmpIndex = (W2R[IMOD(IW2, tmpIndex)] + WHEEL_SIZE - IW2) % WHEEL_SIZE; in enig_enc()
153 IW2++; in update_wheel_index()
155 if (IW2 >= WHEEL_SIZE) { in update_wheel_index()
156 IW2 %= WHEEL_SIZE; in update_wheel_index()
Denc.h34 extern volatile int IW2;
Dmain.c59 volatile _app_enc_b int IW2; variable
126 IW2 = 0; in main()
225 IW2 = 2; in enc()