knx-catalog 0.0.8

Reviewed KNX datapoint-type catalogue as const data
Documentation
// @generated by knx-data-gen from the reviewed data in
// tools/knx-data-gen/data/catalog/. Do not edit by hand: edit the
// reviewed data and regenerate with `cargo run -p knx-data-gen`.

//! The shared Z8 status/command contract.

use crate::generated::bit_sets::*;
use crate::generated::code_tables::*;
use crate::schema::*;

/// The standardised Z8 contract: the status reading's bit set, the
/// command enumeration, and the fault-information codes.
#[rustfmt::skip]
pub static Z8: Z8Descriptor = Z8Descriptor {
    status: &BITS_21_001,
    commands: &[
        Z8Command { code: 0, label: "NormalWrite", main_value: Z8MainValue::Valid },
        Z8Command { code: 1, label: "Override", main_value: Z8MainValue::Valid },
        Z8Command { code: 2, label: "Release", main_value: Z8MainValue::DontCare },
        Z8Command { code: 3, label: "SetOSV", main_value: Z8MainValue::DontCare },
        Z8Command { code: 4, label: "ResetOSV", main_value: Z8MainValue::Valid },
        Z8Command { code: 5, label: "AlarmAck", main_value: Z8MainValue::DontCare },
        Z8Command { code: 6, label: "SetToDefault", main_value: Z8MainValue::DontCare },
    ],
    fault_info: &CODES_Z8_FAULT_INFO,
};