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

Go to the source code of this file.

Functions

void sampl ()
 
void alg01 ()
 
void aktuer01 ()
 
void aktuer02 ()
 
void t1 (void)
 
void t2 ()
 
void setup ()
 
void loop ()
 
void k_breakout ()
 

Variables

const int STKSZ = 200
 
struct k_tpt1
 
struct k_tpt2
 
char stak1 [STKSZ]
 
char stak2 [STKSZ]
 
int loopNr = 0
 
volatile int i = 1000
 

Function Documentation

◆ aktuer01()

void aktuer01 ( )

Definition at line 17 of file k02twotasks.ino.

References loopNr.

Referenced by t1().

Here is the caller graph for this function:

◆ aktuer02()

void aktuer02 ( )

Definition at line 22 of file k02twotasks.ino.

References loopNr.

Referenced by t2().

Here is the caller graph for this function:

◆ alg01()

void alg01 ( )

Definition at line 13 of file k02twotasks.ino.

◆ k_breakout()

void k_breakout ( )

Definition at line 93 of file k02twotasks.ino.

References k_t::nr, and pRun.

◆ loop()

void loop ( )

Definition at line 85 of file k02twotasks.ino.

◆ sampl()

void sampl ( )

Definition at line 11 of file k02twotasks.ino.

◆ setup()

void setup ( )

Definition at line 54 of file k02twotasks.ino.

References k_crt_task(), k_init(), k_start(), pt1, pt2, stak1, stak2, STKSZ, t1(), and t2().

Here is the call graph for this function:

◆ t1()

void t1 ( void  )

dette er en test

Definition at line 33 of file k02twotasks.ino.

References aktuer01().

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 46 of file k02twotasks.ino.

References aktuer02().

Referenced by setup().

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

Variable Documentation

◆ i

volatile int i = 1000

◆ loopNr

int loopNr = 0

Definition at line 15 of file k02twotasks.ino.

Referenced by aktuer01(), and aktuer02().

◆ pt1

struct k_t* pt1

Definition at line 6 of file k02twotasks.ino.

Referenced by setup().

◆ pt2

struct k_t * pt2

Definition at line 7 of file k02twotasks.ino.

Referenced by setup().

◆ stak1

char stak1[STKSZ]

Definition at line 9 of file k02twotasks.ino.

Referenced by setup().

◆ stak2

char stak2[STKSZ]

Definition at line 9 of file k02twotasks.ino.

Referenced by setup().

◆ STKSZ

const int STKSZ = 200

Definition at line 4 of file k02twotasks.ino.

Referenced by setup().