|
krnl 1
|
#include <krnl.h>
Go to the source code of this file.
Functions | |
| void | wr (void) |
| void | rd (void) |
| void | setup () |
| void | loop () |
Variables | |
| struct k_rwlock_t | lock1 |
| volatile int | rdNr = 0 |
| void loop | ( | void | ) |
Definition at line 55 of file rt-arduino-rdwr.ino.
| void rd | ( | void | ) |
| void setup | ( | ) |
Definition at line 40 of file rt-arduino-rdwr.ino.
References k_crt_task(), k_init(), k_start(), lock1, rd(), and wr().

| void wr | ( | void | ) |
Definition at line 10 of file rt-arduino-rdwr.ino.
References i, k_sleep(), and lock1.

| struct k_rwlock_t lock1 |
Definition at line 7 of file rt-arduino-rdwr.ino.
| volatile int rdNr = 0 |
Definition at line 23 of file rt-arduino-rdwr.ino.
Referenced by rd().