Thermal2 Unit for M5UnitUnified.
More...
#include <M5UnitComponent.hpp>
#include <m5_utility/container/circular_buffer.hpp>
#include <limits>
#include <cmath>
#include <array>
Go to the source code of this file.
|
| namespace | m5 |
| | Top level namespace of M5stack.
|
| |
| namespace | thermal2 |
| | For UnitThermal2.
|
| |
|
|
|
|
constexpr uint8_t | m5::unit::thermal2::button_is_pressed {0x01} |
| |
|
constexpr uint8_t | m5::unit::thermal2::button_was_pressed {0x02} |
| |
|
constexpr uint8_t | m5::unit::thermal2::button_was_released {0x04} |
| |
|
constexpr uint8_t | m5::unit::thermal2::button_was_clicked {0x08} |
| |
|
constexpr uint8_t | m5::unit::thermal2::button_was_hold {0x10} |
| |
|
|
|
constexpr uint8_t | m5::unit::thermal2::enabled_function_buzzer {0x01} |
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_function_led {0x02} |
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_function_auto_refresh {0x04} |
| |
|
- See also
- m5::unit::UnitThermal2::readEnabledAlarm m5::unit::UnitThermal2::writeEnabledAlarm
|
|
constexpr uint8_t | m5::unit::thermal2::enabled_low_temperature_low {0x01} |
| | Low temp reached low threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_med_temperature_low {0x02} |
| | Med temp reached low threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_ave_temperature_low {0x04} |
| | Ave temp reached low threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_high_temperature_low {0x08} |
| | High temp reached low threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_low_temperature_high {0x10} |
| | Low temp reached high threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_med_temperature_high {0x20} |
| | Med temp reached high threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_ave_temperature_high {0x40} |
| | Ave temp reached high threshold.
|
| |
|
constexpr uint8_t | m5::unit::thermal2::enabled_high_temperature_high {0x80} |
| | High temp reached high threshold.
|
| |
Thermal2 Unit for M5UnitUnified.
◆ Refresh
Refresh rate(Hz)
| Enumerator |
|---|
| Rate0_5Hz | 0.5Hz
|
| Rate1Hz | 1Hz
|
| Rate2Hz | 2Hz
|
| Rate4Hz | 4Hz
|
| Rate8Hz | 8Hz
|
| Rate16Hz | 16Hz
|
| Rate32Hz | 32Hz
|
| Rate64Hz | 64Hz
|