Porting file declarations for the LMA codebase.
This file provides declarations of the LMA porting requirements - everything in this file must be considered when porting between platforms.
#include "LMA_Types.h"

Go to the source code of this file.
Macros | |
| #define | LMA_CRITICAL_SECTION_PREPARE() |
| Macro to prepare function/code block for a crticial section. | |
| #define | LMA_CRITICAL_SECTION_ENTER() |
| Macro used to enter critical section. | |
| #define | LMA_CRITICAL_SECTION_EXIT() |
| Macro used to exit critical section. | |
Functions | |
| void | LMA_AccPhaseRun (LMA_Phase *const p_phase) |
| handles sample accumulation for a phase | |
| void | LMA_AccPhaseReset (LMA_Phase *const p_phase) |
| handles sample reset between cycles for a phase | |
| void | LMA_AccPhaseLoad (LMA_Phase *const p_phase) |
| Move accumulators from temp to snapshot. | |
| void | LMA_PhaseResetHook (LMA_Phase *const p_phase) |
| Hook called when resetting a phase. | |
| void | LMA_ADC_Init (void) |
| Initialises ADC. | |
| void | LMA_ADC_Start (void) |
| Starts the ADC running. | |
| void | LMA_ADC_Stop (void) |
| Stops the ADC running. | |
| void | LMA_TMR_Init (void) |
| Initialises TMR. | |
| void | LMA_TMR_Start (void) |
| Starts the TMR running. | |
| void | LMA_TMR_Stop (void) |
| Stops the TMR running. | |
| void | LMA_RTC_Init (void) |
| Initialises RTC. | |
| void | LMA_RTC_Start (void) |
| Starts the RTC running. | |
| void | LMA_RTC_Stop (void) |
| Stops the RTC running. | |
| void | LMA_IMP_ActiveOn (void) |
| Callback to turn on active impulse LED. | |
| void | LMA_IMP_ActiveOff (void) |
| Callback to turn off active impulse LED. | |
| void | LMA_IMP_ReactiveOn (void) |
| Callback to turn on reactive impulse LED. | |
| void | LMA_IMP_ReactiveOff (void) |
| Callback to turn off reactive impulse LED. | |
| void | LMA_IMP_ApparentOn (void) |
| Callback to turn on apparent impulse LED. | |
| void | LMA_IMP_ApparentOff (void) |
| Callback to turn off apparent impulse LED. | |