dit projekt
|
#include <krnl.h>
Go to the source code of this file.
Macros | |
#define | STK 110 |
Functions | |
void | task1 () |
void | task2 () |
void | setup () |
void | loop () |
void | k_breakout () |
Variables | |
struct k_t * | p1 |
struct k_t * | p2 |
struct k_t * | s1 |
int | pendingWait = 0 |
int | loopCnt = 0 |
int | er2 |
char | a1 [STK] |
char | a2 [STK] |
#define STK 110 |
Definition at line 104 of file k06syncsem.ino.
void k_breakout | ( | ) |
Definition at line 141 of file k06syncsem.ino.
void loop | ( | ) |
Definition at line 137 of file k06syncsem.ino.
void setup | ( | ) |
Definition at line 107 of file k06syncsem.ino.
References a1, a2, i, k_crt_sem(), k_crt_task(), k_init(), k_start(), p1, p2, s1, STK, task1(), and task2().
void task1 | ( | ) |
Definition at line 43 of file k06syncsem.ino.
References er2, k_eat_msec(), k_set_sem_timer(), k_wait(), loopCnt, and s1.
Referenced by setup().
void task2 | ( | ) |
Definition at line 92 of file k06syncsem.ino.
References k_eat_msec(), and k_sleep().
Referenced by setup().
char a1[STK] |
Definition at line 105 of file k06syncsem.ino.
Referenced by setup().
char a2[STK] |
Definition at line 105 of file k06syncsem.ino.
Referenced by setup().
int er2 |
Definition at line 42 of file k06syncsem.ino.
Referenced by task1().
int loopCnt = 0 |
Definition at line 40 of file k06syncsem.ino.
Referenced by task1().
struct k_t* p1 |
Definition at line 37 of file k06syncsem.ino.
Referenced by setup().
struct k_t * p2 |
Definition at line 37 of file k06syncsem.ino.
Referenced by setup().
int pendingWait = 0 |
Definition at line 40 of file k06syncsem.ino.
struct k_t * s1 |
Definition at line 37 of file k06syncsem.ino.