blob: 0f70f759c4aeebc22a3a58c50ccdfd9055039957 [file] [log] [blame]
{{> header}}
// Prevent multiple inclusion
#pragma once
#include <stdint.h>
// ZCL enums
{{#zcl_enums}}
{{#unless (isStrEqual label "Status")}}
{{#unless (isStrEqual label "ReportingDirection")}}
{{#if (isWeaklyTypedEnum label)}}
// Enum for {{label}}
enum EmberAf{{asType label}} : {{asUnderlyingZclType name}} {
{{#zcl_enum_items}}
{{ident}}EMBER_ZCL_{{asDelimitedMacro parent.label}}_{{asDelimitedMacro label}} = {{value}},
{{/zcl_enum_items}}
};
{{/if}}
{{/unless}}
{{/unless}}
{{/zcl_enums}}
{{#zcl_bitmaps}}
{{#zcl_bitmap_items}}
#define EMBER_AF_{{asDelimitedMacro parent.label}}_{{asDelimitedMacro label}} ({{mask}})
#define EMBER_AF_{{asDelimitedMacro parent.label}}_{{asDelimitedMacro label}}_OFFSET ({{asOffset mask}})
{{/zcl_bitmap_items}}
{{/zcl_bitmaps}}