|
MSP Gas Metering Library
|
Contains all MSP430 Gas Metering Library enums, structs, macros, function and global variables definitions. More...
#include <msp430.h>#include <stdint.h>#include <stdbool.h>Data Structures | |
| union | GASMETERING_Status_Flags |
| The following structure contains all status flags used by the library. More... | |
| struct | GASMETERING_System_Configuration |
| This structure allows user to provide System Configuration parameters. More... | |
| struct | GASMETERING_Meter_Configuration |
| This structure allows user to provide Gas Meter configuration parameters. More... | |
| struct | GASMETERING_Measurement_Configuration |
| This structure allows the user to configure firing and capture setting. More... | |
| struct | GASMETERING_Algorithms_Configuration |
| This structure allows to configure the Time of Flight Algorithm. More... | |
| struct | GASMETERING_HAL_functions |
| This structure is use to provide the pointer to Gas Metering HAL functions. More... | |
| struct | GASMETERING_Algorithms_Results |
| This structure is used by GASMETERING_runAlgorithms to return the results for Abs ToF, Delta ToD and Volume Flow Rate calculations. More... | |
| struct | GASMETERING_handle |
| This hanlde is initialized when calling GASMETERING_configureUltrasonicMeasurement and GASMETERING_intializeAlgorithm. More... | |
| struct | GASMETERING_configuration |
| This is the Gas Metering configuration structure. All expect a a pointer to this configuration structure. The Application will define this structure via the configuration files of the library. More... | |
Functions | |
| GASMETERING_return_code | GASMETERING_configureUltrasonicMeasurement (GASMETERING_configuration *pLibraryConfig) |
| Configures measurement for first time. More... | |
| GASMETERING_return_code | GASMETERING_startUltrasonicMeasurement (GASMETERING_configuration *pLibraryConfig) |
| Triggers a firing and capture. More... | |
| GASMETERING_return_code | GASMETERING_updateUltrasonicMeasurement (GASMETERING_configuration *pLibraryConfig) |
| Updates measurement configuration during run time. More... | |
| GASMETERING_return_code | GASMETERING_generateLPMDelay (GASMETERING_configuration *pLibraryConfig, uint16_t delayCount, GASMETERING_low_power_mode mode) |
| Generates a low power delay. More... | |
| GASMETERING_return_code | GASMETERING_intializeAlgorithm (GASMETERING_configuration *pLibraryConfig) |
| Initializes algorithm. More... | |
| GASMETERING_return_code | GASMETERING_runAlgorithm (GASMETERING_configuration *pLibraryConfig, GASMETERING_Algorithms_Results *pResults) |
| Runs ToF algorithm. More... | |
Variables | |
| volatile GASMETERING_Status_Flags | gGASMETERINGFlags |
| volatile uint16_t | gGASMETRINGLEASCIFG_DEBUG |
| const char | GASMETERING_version [] |
Contains all MSP430 Gas Metering Library enums, structs, macros, function and global variables definitions.
Lists supported computation modes for gas metering.
Lists supported crystal frequencies for HFXT.
This enum lists all possible APIs return codes.
Lists supported signal sampling frequencies by the library.