krnl 1
Loading...
Searching...
No Matches
k01debug.ino File Reference
#include <krnl.h>
Include dependency graph for k01debug.ino:

Go to the source code of this file.

Macros

#define STKSIZE   100
#define TASKPRIO   10

Functions

void task ()
void setup ()
void loop ()
void k_sem_clip (unsigned char nr, int i)
void k_sem_noclip (unsigned char nr)
void k_breakout ()

Variables

char stak [100]
struct k_tpStak
unsigned char led13

Macro Definition Documentation

◆ STKSIZE

#define STKSIZE   100

Definition at line 7 of file k01debug.ino.

◆ TASKPRIO

#define TASKPRIO   10

Definition at line 9 of file k01debug.ino.

Function Documentation

◆ k_breakout()

void k_breakout ( void )

Definition at line 74 of file k01debug.ino.

References pRun.

◆ k_sem_clip()

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

Parameters
[in]nrid of semaphore 1,2,3,...
[in]nrClipnumber of times clip has occured (may be reset by call k_wait_lost)

Definition at line 56 of file k01debug.ino.

References i, led13, and k_t::nr.

◆ k_sem_noclip()

void k_sem_noclip ( unsigned char nr)

Definition at line 63 of file k01debug.ino.

References led13, and k_t::nr.

◆ loop()

void loop ( void )

Definition at line 46 of file k01debug.ino.

◆ setup()

void setup ( )

Definition at line 32 of file k01debug.ino.

References i, k_crt_task(), k_init(), k_start(), pStak, stak, STKSIZE, task, and TASKPRIO.

Here is the call graph for this function:

◆ task()

void task ( )

Definition at line 14 of file k01debug.ino.

References k_sleep().

Here is the call graph for this function:

Variable Documentation

◆ led13

unsigned char led13

Definition at line 55 of file k01debug.ino.

◆ pStak

struct k_t* pStak

Definition at line 12 of file k01debug.ino.

◆ stak

char stak[100]

Definition at line 11 of file k01debug.ino.