SFBReflex.h File Reference

Reflex-related declarations and macros. More...

#include "SFBTypes.h"

Include dependency graph for SFBReflex.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define RF_DIE_PACKET_ERROR   0x00000001
 Die if a packet has any transmission error or buffer overflow.
#define RF_RED_BOOT_CODE_FLOW   0x00000002
 Allow outbound code flow even if in red boot mode.
#define RF_NO_CODE_FLOW   0x00000004
 Do not advertise or flow our code to anybody.
#define RF_OKAY_NEW_GUY   0x00000008
 Reenter bootloader after blinking code (else just blink).
#define RF_KARMIC_REBIRTH   0x00000010
 Invalidate sketch on fatal (i.e., blink code) error.
#define RF_LESS_EEPROM   0x00000020
 Avoid frequent EEPROM writes (e.g., don't count power on hours).
#define RF_DIE_ALOUD   0x00000040
 Try to seize NORTH at 9600 and report death info while dying.
#define RF_DIE_NESTED_DISPATCH   0x00000080
 Die if dispatching occurs on a locked packet buffer (else ignored).
#define RF_DONT_FEED_DOG   0x00000100
 Even if the watchdog timer is running, the library won't feed it.
#define RF_RESERVED09   0x00000200
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED10   0x00000400
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED11   0x00000800
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED12   0x00001000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED13   0x00002000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED14   0x00004000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED15   0x00008000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED16   0x00010000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED17   0x00020000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED18   0x00040000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED19   0x00080000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED20   0x00100000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED21   0x00200000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED22   0x00400000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED23   0x00800000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED24   0x01000000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED25   0x02000000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED26   0x04000000
 Reserved flag / should be 0 / value must be ignored.
#define RF_RESERVED27   0x08000000
 Reserved flag / should be 0 / value must be ignored.
#define RF_DEBUG0   0x10000000
 Debug flag 0.
#define RF_DEBUG1   0x20000000
 Debug flag 1.
#define RF_DEBUG2   0x40000000
 Debug flag 2.
#define RF_DEBUG3   0x80000000
 Debug flag 3.
#define TEST_REFLEX_FLAGS(flags)   ((reflexLibraryFlags&(flags))!=0)
 Non-zero if any of the flags bits are set in the core software reflex flags.
#define SET_REFLEX_FLAGS(flags)   (reflexLibraryFlags |= (flags))
 Set the flags bits in the core software reflex flags.
#define CLEAR_REFLEX_FLAGS(flags)   (reflexLibraryFlags &= ~(flags))
 Clear the flags bits in the core software reflex flags.

Functions

int reflex_maybe_dispatch (u32 deadline)
int reflex_dispatch (u32 deadline)
void reflex_startup_initialization ()

Variables

u32 reflexLibraryFlags


Detailed Description

Reflex-related declarations and macros.

Author:
David H. Ackley.
Date:
(C) 2008 All rights reserved.
Code License:
The GNU Lesser General Public License
License Note:
All code samples shown in documentation are placed into the public domain.

Define Documentation

#define RF_RED_BOOT_CODE_FLOW   0x00000002

Allow outbound code flow even if in red boot mode.

Since:
0.9.6


Generated on Fri Apr 22 06:56:43 2011 for SFB by doxygen 1.5.9