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

Go to the source code of this file.

Data Structures

struct  shft

Macros

#define STAKSIZE   100

Functions

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

Variables

struct k_tpT1
struct k_tpT2
struct k_tsem1
struct k_tsem2
char stak1 [100]
char stak2 [100]
struct shft logg [200]
volatile int wI = 0
unsigned long k_millis_counter

Macro Definition Documentation

◆ STAKSIZE

#define STAKSIZE   100

Definition at line 7 of file krnlregistercodetime.ino.

Referenced by setup().

Function Documentation

◆ k_breakout()

void k_breakout ( void )

Definition at line 78 of file krnlregistercodetime.ino.

References k_millis_counter, logg, pRun, and wI.

◆ loop()

void loop ( void )

Definition at line 69 of file krnlregistercodetime.ino.

◆ setup()

void setup ( )

Definition at line 55 of file krnlregistercodetime.ino.

References k_crt_sem(), k_crt_task(), k_init(), k_start(), pT1, pT2, sem1, sem2, stak1, stak2, STAKSIZE, t1, and t2.

Here is the call graph for this function:

◆ t1()

void t1 ( void )

Definition at line 20 of file krnlregistercodetime.ino.

References i, k_set_sem_timer(), k_wait(), logg, shft::nrr, sem1, shft::t, and wI.

Here is the call graph for this function:

◆ t2()

void t2 ( void )

Definition at line 43 of file krnlregistercodetime.ino.

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

Here is the call graph for this function:

Variable Documentation

◆ k_millis_counter

unsigned long k_millis_counter
extern

Definition at line 161 of file krnl.c.

Referenced by if(), k_breakout(), k_millis(), ki_millis(), and wr().

◆ logg

struct shft logg[200]

Definition at line 16 of file krnlregistercodetime.ino.

Referenced by k_breakout(), and t1().

◆ pT1

struct k_t* pT1

Definition at line 3 of file krnlregistercodetime.ino.

◆ pT2

struct k_t * pT2

Definition at line 3 of file krnlregistercodetime.ino.

◆ sem1

struct k_t* sem1

Definition at line 5 of file krnlregistercodetime.ino.

◆ sem2

struct k_t * sem2

Definition at line 5 of file krnlregistercodetime.ino.

◆ stak1

char stak1[100]

Definition at line 8 of file krnlregistercodetime.ino.

◆ stak2

char stak2[100]

Definition at line 9 of file krnlregistercodetime.ino.

◆ wI

volatile int wI = 0

Definition at line 17 of file krnlregistercodetime.ino.

Referenced by k_breakout(), and t1().