matc/clusters/codec/dishwasher_alarm.rs
1//! Matter TLV encoders and decoders for Dishwasher Alarm Cluster
2//! Cluster ID: 0x005D
3//!
4//! This file is automatically generated from DishwasherAlarm.xml
5
6#![allow(clippy::too_many_arguments)]
7
8
9
10// Bitmap definitions
11
12/// Alarm bitmap type
13pub type Alarm = u8;
14
15/// Constants for Alarm
16pub mod alarm {
17 /// Water inflow is abnormal
18 pub const INFLOW_ERROR: u8 = 0x01;
19 /// Water draining is abnormal
20 pub const DRAIN_ERROR: u8 = 0x02;
21 /// Door or door lock is abnormal
22 pub const DOOR_ERROR: u8 = 0x04;
23 /// Unable to reach normal temperature
24 pub const TEMP_TOO_LOW: u8 = 0x08;
25 /// Temperature is too high
26 pub const TEMP_TOO_HIGH: u8 = 0x10;
27 /// Water level is abnormal
28 pub const WATER_LEVEL_ERROR: u8 = 0x20;
29}
30