~aleteoryx/muditaos

ref: 255d03a5da8506d06667d26c79f44ec6ca774961 muditaos/module-utils/utility/Units.hpp -rw-r--r-- 336 bytes
255d03a5 — Lefucjusz [MOS-677] Fix crash on importing unprocessable contact 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include <cstdint>

namespace units
{
    using Voltage     = std::uint32_t; /// mV
    using SOC         = std::uint8_t;  /// 0-100%
    using Temperature = float;
} // namespace units