![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
SRK Version of mDot LoRa_Sensormode_SRK
Dependencies: libmDot mbed-rtos mbed
Fork of mDot_LoRa_Sensornode by
SI1143Config Class Reference
A configuration container for the SI1143 Sensor. More...
#include <SI1143Config.h>
Public Member Functions | |
void | build (SI1143_MODE desiredMode) |
Generates a configuration and sets its value according to the chosen SI1143_MODE. | |
uint8_t | getLed1Voltage () |
Gets the voltage of Led1 from the actual configuration. | |
uint8_t | getInterruptEnable () |
Gets the interrupt enable from the actual configuration. | |
uint8_t | getProximitySensing1Threshold () |
Gets the proximity sensing threshold for led 1. |
Detailed Description
A configuration container for the SI1143 Sensor.
All its configuration values are stored an held inside this Class. Depending on the SI1143_MODE it sets all the configuration values.
Definition at line 38 of file SI1143Config.h.
Member Function Documentation
void build | ( | SI1143_MODE | desiredMode ) |
Generates a configuration and sets its value according to the chosen SI1143_MODE.
- Parameters:
-
desiredMode the mode to build the configuration according to
Definition at line 19 of file SI1143Config.cpp.
uint8_t getInterruptEnable | ( | ) |
Gets the interrupt enable from the actual configuration.
- Returns:
- interrupt enable register value
Definition at line 47 of file SI1143Config.cpp.
uint8_t getLed1Voltage | ( | ) |
Gets the voltage of Led1 from the actual configuration.
- Returns:
- led 1 voltage register value
Definition at line 39 of file SI1143Config.cpp.
uint8_t getProximitySensing1Threshold | ( | ) |
Gets the proximity sensing threshold for led 1.
- Returns:
- proximity sensing threshold for led 1 register value
Definition at line 43 of file SI1143Config.cpp.
Generated on Wed Jul 13 2022 09:23:48 by
![doxygen](doxygen.png)