krnl 1
Loading...
Searching...
No Matches
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 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.

◆ alg01()

void alg01 ( )

Definition at line 13 of file k02twotasks.ino.

◆ k_breakout()

void k_breakout ( void )

Definition at line 86 of file k02twotasks.ino.

References pRun.

◆ loop()

void loop ( void )

Definition at line 78 of file k02twotasks.ino.

◆ sampl()

void sampl ( )

Definition at line 11 of file k02twotasks.ino.

◆ setup()

void setup ( )

Definition at line 47 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 28 of file k02twotasks.ino.

References aktuer01(), alg01(), k_eat_msec(), k_sleep(), and sampl().

Here is the call graph for this function:

◆ t2()

void t2 ( void )

Definition at line 40 of file k02twotasks.ino.

References k_sleep().

Here is the call graph for this function:

Variable Documentation

◆ i

volatile int i = 1000

Definition at line 24 of file k02twotasks.ino.

◆ loopNr

int loopNr = 0

Definition at line 15 of file k02twotasks.ino.

◆ pt1

struct k_t* pt1

Definition at line 6 of file k02twotasks.ino.

◆ pt2

struct k_t * pt2

Definition at line 7 of file k02twotasks.ino.

◆ stak1

char stak1[STKSZ]

Definition at line 9 of file k02twotasks.ino.

◆ stak2

char stak2[STKSZ]

Definition at line 9 of file k02twotasks.ino.

◆ STKSZ

const int STKSZ = 200

Definition at line 4 of file k02twotasks.ino.