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

Go to the source code of this file.

Macros

#define STK_SIZE   200

Functions

void doBlink (void)
void t1 (void)
void t2 (void)
 ISR (INT0_vect, ISR_NAKED)
void installISR2 ()
void setup ()
void loop (void)

Variables

struct k_ttSm1
struct k_ttSm2
struct k_tp_t1
struct k_tp_t2
struct k_msg_tpMsg
struct k_msg_tpMsg2
char mar [10 *2]
char mar2 [10 *2]
char s1 [200]
char s2 [200]
volatile int icnt =0
volatile unsigned long nowISR =0
volatile unsigned long lastISR =0

Macro Definition Documentation

◆ STK_SIZE

#define STK_SIZE   200

Definition at line 24 of file msgtstisrsimplenoglitch.ino.

Function Documentation

◆ doBlink()

void doBlink ( void )

Definition at line 34 of file msgtstisrsimplenoglitch.ino.

Referenced by t1().

Here is the caller graph for this function:

◆ installISR2()

void installISR2 ( )

Definition at line 87 of file msgtstisrsimplenoglitch.ino.

References DI, and EI.

Referenced by setup().

Here is the caller graph for this function:

◆ ISR()

ISR ( INT0_vect ,
ISR_NAKED  )

Definition at line 66 of file msgtstisrsimplenoglitch.ino.

References icnt, K_CHG_STAK, k_running, ki_send(), lastISR, nowISR, pMsg, PUSHREGS(), and RETI.

Here is the call graph for this function:

◆ loop()

void loop ( void )

Definition at line 132 of file msgtstisrsimplenoglitch.ino.

◆ setup()

void setup ( )

Definition at line 105 of file msgtstisrsimplenoglitch.ino.

References installISR2(), k_crt_sem(), k_crt_send_Q(), k_crt_task(), k_init(), k_start(), KRNL_VRS, mar, mar2, p_t1, p_t2, pMsg, pMsg2, s1, s2, STK_SIZE, t1, t2, tSm1, and tSm2.

Here is the call graph for this function:

◆ t1()

void t1 ( void )

Definition at line 40 of file msgtstisrsimplenoglitch.ino.

References doBlink(), i, k_receive(), and pMsg2.

Here is the call graph for this function:

◆ t2()

void t2 ( void )

Definition at line 50 of file msgtstisrsimplenoglitch.ino.

References i, k_receive(), k_send(), pMsg, and pMsg2.

Here is the call graph for this function:

Variable Documentation

◆ icnt

volatile int icnt =0

Definition at line 29 of file msgtstisrsimplenoglitch.ino.

◆ lastISR

volatile unsigned long lastISR =0

Definition at line 31 of file msgtstisrsimplenoglitch.ino.

◆ mar

char mar[10 *2]

Definition at line 21 of file msgtstisrsimplenoglitch.ino.

◆ mar2

char mar2[10 *2]

Definition at line 22 of file msgtstisrsimplenoglitch.ino.

◆ nowISR

volatile unsigned long nowISR =0

Definition at line 31 of file msgtstisrsimplenoglitch.ino.

Referenced by ISR().

◆ p_t1

struct k_t* p_t1

Definition at line 18 of file msgtstisrsimplenoglitch.ino.

◆ p_t2

struct k_t * p_t2

Definition at line 18 of file msgtstisrsimplenoglitch.ino.

◆ pMsg

struct k_msg_t* pMsg

Definition at line 20 of file msgtstisrsimplenoglitch.ino.

◆ pMsg2

struct k_msg_t * pMsg2

Definition at line 20 of file msgtstisrsimplenoglitch.ino.

◆ s1

char s1[200]

Definition at line 26 of file msgtstisrsimplenoglitch.ino.

◆ s2

char s2[200]

Definition at line 27 of file msgtstisrsimplenoglitch.ino.

◆ tSm1

struct k_t* tSm1

Definition at line 17 of file msgtstisrsimplenoglitch.ino.

◆ tSm2

struct k_t * tSm2

Definition at line 17 of file msgtstisrsimplenoglitch.ino.