15 volatile bool run_main =
true;
17 #define TMR1_TIMEOUT 30000
18 volatile bool LOW_PRIORITY_GO =
false;
82 volatile uint16_t retval = 1;
83 volatile uint16_t timeout = 0;
107 while ((!LOW_PRIORITY_GO) && (timeout++ < TMR1_TIMEOUT));
108 LOW_PRIORITY_GO =
false;
144 volatile uint16_t retval=1;
174 volatile uint16_t retval=1;
195 void __attribute__((__interrupt__, context, no_auto_psv))
_OsTimerInterrupt(
void)
197 volatile uint16_t retval=1;
205 LOW_PRIORITY_GO =
true;
int main(void)
Application main function executed after device comes out of RESET.
volatile uint16_t sysLowPriorityTasks_Execute(void)
Low priority task sequence executed after the high priority task sequence execution is complete.
volatile uint16_t sysHighPriorityTasks_Execute(void)
High priority task sequence executed at a fixed repetition frequency.
volatile uint16_t SYSTEM_Initialize(void)
Initializes essential chip resources.
volatile uint16_t sysUserPeriperhals_Initialize(void)
Initializes the user-defined chip resources.
volatile uint16_t sysOsTimer_Enable(volatile bool interrupt_enable, volatile uint8_t interrupt_priority)
volatile uint16_t sysUserTasks_Initialize(void)
Initializes the user-defined tasks.
#define _OsTimerInterrupt
Global state-machine peripheral assignments.
#define _OSTIMER_PRIORITY
interrupt priority (1 ... 7, default = 2)
#define _OSTIMER_IF
interrupt flag bit
#define DBGPIN1_Set()
Macro instruction to set a pin state to logic HIGH.
#define DBGPIN1_Clear()
Macro instruction to set a pin state to logic LOW.
volatile uint16_t appFaultMonitor_Execute(void)
Application wide fault object monitoring routine.
volatile uint16_t appLCD_Execute(void)
Refreshes the LC display.
volatile uint16_t appLED_Execute(void)
Executes the debugging LED driver.
volatile uint16_t appPowerSupply_Execute(void)
This is the top-level function call triggering the most recent state machine of all associated power ...
volatile uint16_t appPushButton_Execute(void)
Executes the USER push button monitor.