dmi_ipmi_intr_polarity

Synopsis

#include <opendmi/entity/ipmi-device.h>

typedef enum dmi_ipmi_intr_polarity {
    DMI_IPMI_INTR_POLARITY_UNSPEC = 0x0,
    DMI_IPMI_INTR_POLARITY_LOW    = 0x1,
    DMI_IPMI_INTR_POLARITY_HIGH   = 0x2
} dmi_ipmi_intr_polarity_t;

const char *dmi_ipmi_intr_polarity_name(dmi_ipmi_intr_polarity_t value);

Description

The dmi_ipmi_intr_polarity_t enumeration tells the polarity of the interrupt of the system interface of an IPMI baseboard management controller, and is the type of the intr_polarity field of dmi_ipmi_device_t.

The dmi_ipmi_intr_polarity_name function returns the name of a value, as the command line tool shows it.

Values

DMI_IPMI_INTR_POLARITY_UNSPEC

Unspecified: the structure does not give the interrupt information.

DMI_IPMI_INTR_POLARITY_LOW

Active low.

DMI_IPMI_INTR_POLARITY_HIGH

Active high.

Return value

dmi_ipmi_intr_polarity_name returns the name of the value, or nullptr if the value has no name. The name is translated to the language of the current locale when the library is built with localization support and has a translation for it, and is in English otherwise. The string is owned by the library and must not be modified or freed.

Errors

None.

Standards

DMTF SMBIOS Specification (DSP0134), version 2.3 or newer.