|
krnl 1
|
#include <krnl.h>
Go to the source code of this file.
Functions | |
| void | task1Body (void) |
| void | task2Body (void) |
| void | setup () |
| void | loop () |
Variables | |
| struct k_t * | syncSem |
| struct k_t * | loopSem |
| struct k_t * | ptask1 |
| struct k_t * | ptask2 |
| char | stak1 [100] |
| char | stak2 [100] |
| void loop | ( | void | ) |
Definition at line 42 of file kernelkick.ino.
| void setup | ( | ) |
Definition at line 30 of file kernelkick.ino.
References k_crt_sem(), k_crt_task(), k_init(), k_start(), loopSem, ptask1, ptask2, stak1, stak2, syncSem, task1Body(), and task2Body().

| void task1Body | ( | void | ) |
Definition at line 13 of file kernelkick.ino.
References k_wait(), and syncSem.

| void task2Body | ( | void | ) |
Definition at line 21 of file kernelkick.ino.
References k_set_sem_timer(), k_signal(), k_wait(), loopSem, and syncSem.

| struct k_t * loopSem |
Definition at line 9 of file kernelkick.ino.
| struct k_t * ptask1 |
Definition at line 9 of file kernelkick.ino.
| struct k_t * ptask2 |
Definition at line 9 of file kernelkick.ino.
| char stak1[100] |
Definition at line 11 of file kernelkick.ino.
| char stak2[100] |
Definition at line 11 of file kernelkick.ino.
| struct k_t* syncSem |
Definition at line 9 of file kernelkick.ino.