class KNX::GroupAddress2Level

Defined in:

knx/address.cr

Constant Summary

ENDIAN = ["big"]
KLASS_NAME = [KNX::GroupAddress2Level]
PARTS = [{type: "bitfield", name: 5, cls: KNX::GroupAddress2Level, onlyif: nil, verify: nil}] of Nil
REMAINING = [] of Nil

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class KNX::Address

__format__ : IO::ByteFormat __format__, group? group?, to_i to_i, to_s : String to_s

Class methods inherited from class KNX::Address

bit_fields bit_fields, parse(input) parse

Macros inherited from class KNX::Address

knx_address(name, onlyif = nil, verify = nil, value = nil) knx_address, knx_cemi(name, onlyif = nil, verify = nil, value = nil) knx_cemi, knx_header(name, onlyif = nil, verify = nil, value = nil) knx_header, knx_header_timer(name, onlyif = nil, verify = nil, value = nil) knx_header_timer, knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) knx_header_wrapper

Class Method Detail

def self.bit_fields #

[View source]
def self.parse_friendly(string) #

[View source]

Macro Detail

macro knx_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_cemi(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_group_address2_level(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_timer(name, onlyif = nil, verify = nil, value = nil) #

[View source]
macro knx_header_wrapper(name, onlyif = nil, verify = nil, value = nil) #

[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
def _reserved_ : UInt8 #

def _reserved_=(_reserved_ : UInt8) #

def main_group : UInt8 #

def main_group=(main_group : UInt8) #

def sub_group : UInt16 #

def sub_group=(sub_group : UInt16) #

def to_s : String #
Description copied from class Object

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.


[View source]