SRK Version of mDot LoRa_Sensormode_SRK
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
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 Wed Jul 13 2022 09:23:48 by 1.7.2