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.
Dependencies: mDot_LoRa_Sensornode_Flowmeter_impl mbed-rtos mbed
MAX44009Config Class Reference
A configuration container for the MAX44009 Sensor. More...
#include <MAX44009Config.h>
Public Member Functions | |
| void | build (MAX44009_MODE desiredMode) |
| Generates a configuration according to the chosen MAX44009_MODE by setting all LoRa Module specific configuration values depending on the chosen MAX44009_MODE. | |
| uint8_t | getIntegrationTime () |
| Gets the integration Time for Lux Measurements defined in the actual MAX44009Config. | |
| uint8_t | getContinousMode () |
| Gets the Continuous Mode for Lux Measurements defined in the actual MAX44009Config. | |
| uint8_t | getManualConfig () |
| Gets the Manual Config for the Sensor defined in the actual MAX44009Config. | |
| uint8_t | getInterruptEnable () |
| Gets the interrupt Enable Value that has to be written to the MAX44009 according to the actual MAX44009Config. | |
| uint8_t | getUpperThreshold () |
| Gets the upper Threshold Value that has to be written to the MAX44009 according to the actual MAX44009Config. | |
| uint8_t | getLowerThreshold () |
| Gets the lower Threshold Value that has to be written to the MAX44009 according to the actual MAX44009Config. | |
Detailed Description
A configuration container for the MAX44009 Sensor.
All its configuration values are stored an held inside this Class. Depending on the MAX44009_MODE using as a parameter for the build() method it sets all the configuration values.
Definition at line 51 of file MAX44009Config.h.
Member Function Documentation
| void build | ( | MAX44009_MODE | desiredMode ) |
Generates a configuration according to the chosen MAX44009_MODE by setting all LoRa Module specific configuration values depending on the chosen MAX44009_MODE.
- Parameters:
-
desiredMode the mode to build the configuration according to
Definition at line 23 of file MAX44009Config.cpp.
| uint8_t getContinousMode | ( | ) |
Gets the Continuous Mode for Lux Measurements defined in the actual MAX44009Config.
- Returns:
Definition at line 72 of file MAX44009Config.cpp.
| uint8_t getIntegrationTime | ( | ) |
Gets the integration Time for Lux Measurements defined in the actual MAX44009Config.
- Returns:
Definition at line 68 of file MAX44009Config.cpp.
| uint8_t getInterruptEnable | ( | ) |
Gets the interrupt Enable Value that has to be written to the MAX44009 according to the actual MAX44009Config.
- Returns:
Definition at line 80 of file MAX44009Config.cpp.
| uint8_t getLowerThreshold | ( | ) |
Gets the lower Threshold Value that has to be written to the MAX44009 according to the actual MAX44009Config.
- Returns:
Definition at line 88 of file MAX44009Config.cpp.
| uint8_t getManualConfig | ( | ) |
Gets the Manual Config for the Sensor defined in the actual MAX44009Config.
- Returns:
Definition at line 76 of file MAX44009Config.cpp.
| uint8_t getUpperThreshold | ( | ) |
Gets the upper Threshold Value that has to be written to the MAX44009 according to the actual MAX44009Config.
- Returns:
Definition at line 84 of file MAX44009Config.cpp.
Generated on Tue Jul 12 2022 21:35:27 by
1.7.2