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
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 Tue Jul 12 2022 21:35:27 by
1.7.2