Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
main.h
00001 00002 #ifndef MAIN_H 00003 #define MAIN_H 00004 00005 // macros to handle the schedule timer 00006 #define sys_timer timer_interrupt 00007 #define reset_sys_timer() timer_interrupt = 0 00008 #define reset_node_id() change_node_id = 0 00009 // Sample Timebase [us] - used by demo (not the stack) 00010 #define CYCLE_TIME 1000 00011 00012 typedef enum NMTStateAdjustment NMTStateAdjustment; 00013 enum NMTStateAdjustment{ 00014 reset, 00015 start, 00016 stop, 00017 undefined 00018 }; 00019 00020 // interrupt for the main program timing control 00021 void serviceSysTimer(); 00022 00023 #endif 00024 00025
Generated on Tue Jul 12 2022 17:11:51 by
1.7.2