|
krnl 1
|
#include <krnl.h>
Go to the source code of this file.
Macros | |
| #define | TICKSPEED 10 |
| #define | STK 100 |
Functions | |
| void | highprio () |
| void | medprio () |
| void | lowprio () |
| void | setup () |
| void | k_sem_clip (unsigned char nr, int i) |
| void | k_send_Q_clip (unsigned char nr, int i) |
| breakout for k_send | |
| void | k_breakout () |
| void | loop () |
Variables | |
| struct k_t * | pt1 |
| struct k_t * | pt2 |
| struct k_t * | pt3 |
| struct k_t * | sem1 |
| struct k_t * | sem2 |
| struct k_t * | sem3 |
| char | st1 [100] |
| char | st2 [100] |
| char | st3 [100] |
| volatile int | cnt = 0 |
| #define STK 100 |
Definition at line 8 of file akrnltaskblink.ino.
| #define TICKSPEED 10 |
Definition at line 6 of file akrnltaskblink.ino.
| void highprio | ( | ) |
Definition at line 13 of file akrnltaskblink.ino.
References k_t::clip, cnt, k_set_sem_timer(), loop(), sem1, and TICKSPEED.

| void k_breakout | ( | void | ) |
Definition at line 104 of file akrnltaskblink.ino.
References pRun.
| void k_sem_clip | ( | unsigned char | nr, |
| int | nrClip ) |
a function for overloading on usersite which is called when a semaphore is overflooding no occur - it's only reading out semaphore idendity Signal operations has not taken place ! 1: means first semahore allocated by user, 2 the next etc Interrupt is disabled when called and must not be enabled during.. so no print etc
| [in] | nr | id of semaphore 1,2,3,... |
| [in] | nrClip | number of times clip has occured (may be reset by call k_wait_lost) |
Definition at line 94 of file akrnltaskblink.ino.
| void k_send_Q_clip | ( | unsigned char | nr, |
| int | nrClip ) |
breakout for k_send
a function for overloading on usersite which is called when a msgQ is overflooding no reset occur - it's only readind out smsgQ idendity 1: means first msgQ allocated by user etc Interrupt is disabled when called and must not be enabled during.. so no print etc
| [out] | nr | : id of send Q 0,1,2,... |
| [out] | nrClip | number of times clip has occured (may be reset by call k_receive and lost parm not eq NULL) |
Definition at line 100 of file akrnltaskblink.ino.
| void loop | ( | void | ) |
Definition at line 116 of file akrnltaskblink.ino.
| void lowprio | ( | ) |
Definition at line 49 of file akrnltaskblink.ino.
References k_t::clip, k_set_sem_timer(), sem3, and TICKSPEED.

| void medprio | ( | ) |
Definition at line 36 of file akrnltaskblink.ino.
References k_t::clip, k_set_sem_timer(), sem2, and TICKSPEED.

| void setup | ( | ) |
Definition at line 65 of file akrnltaskblink.ino.
References highprio(), i, k_crt_sem(), k_crt_task(), k_init(), k_start(), lowprio(), medprio(), pt1, pt2, pt3, sem1, sem2, sem3, st1, st2, st3, and STK.

| volatile int cnt = 0 |
Definition at line 11 of file akrnltaskblink.ino.
| struct k_t* pt1 |
Definition at line 3 of file akrnltaskblink.ino.
| struct k_t * pt2 |
Definition at line 3 of file akrnltaskblink.ino.
| struct k_t * pt3 |
Definition at line 3 of file akrnltaskblink.ino.
| struct k_t * sem1 |
Definition at line 3 of file akrnltaskblink.ino.
| struct k_t * sem2 |
Definition at line 3 of file akrnltaskblink.ino.
| struct k_t * sem3 |
Definition at line 3 of file akrnltaskblink.ino.
| char st1[100] |
Definition at line 9 of file akrnltaskblink.ino.
| char st2[100] |
Definition at line 9 of file akrnltaskblink.ino.
| char st3[100] |
Definition at line 9 of file akrnltaskblink.ino.