dit projekt
Macros | Functions | Variables
k04periodic-simple.ino File Reference
#include <krnl.h>
Include dependency graph for k04periodic-simple.ino:

Go to the source code of this file.

Macros

#define STK   100
 

Functions

void t1 ()
 
void t2 ()
 
void setup ()
 
void loop ()
 

Variables

struct k_tp1
 
struct k_tp2
 
struct k_ts1
 
char stk1 [STK]
 
char stk2 [STK]
 

Macro Definition Documentation

◆ STK

#define STK   100

Definition at line 40 of file k04periodic-simple.ino.

Function Documentation

◆ loop()

void loop ( )

Definition at line 67 of file k04periodic-simple.ino.

◆ setup()

void setup ( )

Definition at line 43 of file k04periodic-simple.ino.

References k_crt_sem(), k_crt_task(), k_init(), k_start(), p1, p2, s1, STK, stk1, stk2, t1(), and t2().

Here is the call graph for this function:

◆ t1()

void t1 ( void  )

Definition at line 7 of file k04periodic-simple.ino.

References k_set_sem_timer(), k_wait(), and s1.

Referenced by setup().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ t2()

void t2 ( )

Definition at line 18 of file k04periodic-simple.ino.

References k_t::cnt1, k_sleep(), and pRun.

Referenced by setup().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ p1

struct k_t* p1

Definition at line 5 of file k04periodic-simple.ino.

Referenced by setup().

◆ p2

struct k_t * p2

Definition at line 5 of file k04periodic-simple.ino.

Referenced by setup().

◆ s1

struct k_t * s1

Definition at line 5 of file k04periodic-simple.ino.

Referenced by setup(), and t1().

◆ stk1

char stk1[STK]

Definition at line 41 of file k04periodic-simple.ino.

Referenced by setup().

◆ stk2

char stk2[STK]

Definition at line 41 of file k04periodic-simple.ino.

Referenced by setup().