Updated data handling

This commit is contained in:
dario
2024-05-16 20:41:22 +02:00
parent 5519e3664a
commit d013fbe62b
2 changed files with 35 additions and 14 deletions

View File

@@ -71,7 +71,8 @@ namespace sta
* @brief All possible commands to send to the sensor
*
*/
enum Operations {
enum Operations
{
RESET = 0x1E,
READ_PROM = 0xA0,
D1_CONVERSION = 0x40,
@@ -79,6 +80,12 @@ namespace sta
ADC_RESULT = 0x00
};
enum DataType
{
PRESSURE,
TEMPERATURE
};
/**
* @brief SPI driver for the MS56xx pressure sensor series.
*