abstract class Can::Message(T)

Defined in:

can/message.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new(bytes : Bytes) #

[View source]
def self.new(can_body : T) #

[View source]
def self.new #

[View source]

Instance Method Detail

def can_body : T #

[View source]
def can_body=(can_body : T) #

[View source]
def created_at #

[View source]
def created_at=(created_at : Time) #

[View source]
def get_slice_be(start = 0, size = 1, prim = UInt32) #

[View source]
def get_slice_le(start = 0, size = 16, prim = UInt32) #

[View source]
def pp_bytes #

[View source]
def set_slice_be(value : T, start = 0, size = 1) #

[View source]
def set_slice_le(value : T, start = 0, size = 16) #

[View source]
def to_bytes #

[View source]

Macro Detail

macro can_field(name, start, size, multiplex = nil, multiplier = 1, offset = 0, endian = 1, signed = "+", min = 0, max = 255, unit = "num", receiver = "VLM") #

[View source]
macro wrapup #

[View source]