FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Declarations for simpleGPIO.c implementations. More...
Go to the source code of this file.
Macros | |
#define | EXTERN extern |
Functions | |
void | performSimpleGPIO (void) FPAGE_FE |
Perform GP outputs based on values of assigned variables. |
Declarations for simpleGPIO.c implementations.
Definition in file simpleGPIO.h.
#define EXTERN extern |
Definition at line 47 of file simpleGPIO.h.
void performSimpleGPIO | ( | void | ) |
Perform GP outputs based on values of assigned variables.
Compare upper and lower thresholds with the value of the selected variable and switch on or off as appropriate. Atomic blocks ensure no concurrency issues with current ECT.
Definition at line 47 of file simpleGPIO.c.
References ATOMIC_END, ATOMIC_START, fixedConfigs1, singleSimpleGPOutput::flags, singleSimpleGPOutput::lowerValue, singleSimpleGPOutput::mask, NUMBER_OF_OUTPUT_CONFIGS, simpleGPIOSetting::numberConfigured, simpleGPIOSetting::outputConfigs, singleSimpleGPOutput::port, fixedConfig1::simpleGPIOSettings, singleSimpleGPOutput::upperValue, and singleSimpleGPOutput::variable.
Referenced by main().