~aleteoryx/muditaos

ref: ccce9bb19f4725b03d8b713ed04df6421f2d223e muditaos/module-utils/utility/Units.hpp -rw-r--r-- 336 bytes
ccce9bb1 — Bartosz [MOS-724] CodeQL setup 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