|
krnl 1
|
#include <krnl.h>
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_t * | tSm1 |
| struct k_t * | tSm2 |
| struct k_t * | p_t1 |
| struct k_t * | p_t2 |
| struct k_msg_t * | pMsg |
| struct k_msg_t * | pMsg2 |
| 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 |
| #define STK_SIZE 200 |
Definition at line 24 of file msgtstisrsimplenoglitch.ino.
| void doBlink | ( | void | ) |
Definition at line 34 of file msgtstisrsimplenoglitch.ino.
Referenced by t1().

| void installISR2 | ( | ) |
Definition at line 87 of file msgtstisrsimplenoglitch.ino.
Referenced by setup().

| 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.

| void loop | ( | void | ) |
Definition at line 132 of file msgtstisrsimplenoglitch.ino.
| 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.

| void t1 | ( | void | ) |
Definition at line 40 of file msgtstisrsimplenoglitch.ino.
References doBlink(), i, k_receive(), and pMsg2.

| void t2 | ( | void | ) |
Definition at line 50 of file msgtstisrsimplenoglitch.ino.
References i, k_receive(), k_send(), pMsg, and pMsg2.

| volatile int icnt =0 |
Definition at line 29 of file msgtstisrsimplenoglitch.ino.
| volatile unsigned long lastISR =0 |
Definition at line 31 of file msgtstisrsimplenoglitch.ino.
| char mar[10 *2] |
Definition at line 21 of file msgtstisrsimplenoglitch.ino.
| char mar2[10 *2] |
Definition at line 22 of file msgtstisrsimplenoglitch.ino.
| volatile unsigned long nowISR =0 |
Definition at line 31 of file msgtstisrsimplenoglitch.ino.
Referenced by ISR().
| struct k_t* p_t1 |
Definition at line 18 of file msgtstisrsimplenoglitch.ino.
| struct k_t * p_t2 |
Definition at line 18 of file msgtstisrsimplenoglitch.ino.
| struct k_msg_t* pMsg |
Definition at line 20 of file msgtstisrsimplenoglitch.ino.
| struct k_msg_t * pMsg2 |
Definition at line 20 of file msgtstisrsimplenoglitch.ino.
| char s1[200] |
Definition at line 26 of file msgtstisrsimplenoglitch.ino.
| char s2[200] |
Definition at line 27 of file msgtstisrsimplenoglitch.ino.
| struct k_t* tSm1 |
Definition at line 17 of file msgtstisrsimplenoglitch.ino.
| struct k_t * tSm2 |
Definition at line 17 of file msgtstisrsimplenoglitch.ino.