class GBA::Reg::WININ

Included Modules

Defined in:

crab/gba/reg.cr

Constant Summary

FIELDS = [{window_0_enable_bits, T, 5, false, false}, {window_0_color_special_effect, Bool, 1, false, false}, {not_used_0, T, 2, true, false}, {window_1_enable_bits, T, 5, false, false}, {window_1_color_special_effect, Bool, 1, false, false}, {not_used_1, T, 2, true, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
SIZE = 16

Constructors

Instance Method Summary

Instance methods inherited from module GBA::Reg::Base16

read_byte(byte_num : Int) : UInt8 read_byte, write_byte(byte_num : Int, byte : UInt8) : UInt8 write_byte

Constructor Detail

def self.new(value : T) #

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def not_used_0 : UInt16 #

def not_used_0=(val : UInt16) : Nil #

def not_used_1 : UInt16 #

def not_used_1=(val : UInt16) : Nil #

def to_s(io : IO) : Nil #
Description copied from class Reference

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>

def value : T #

def value=(value : T) #

def window_0_color_special_effect : Bool #

def window_0_color_special_effect=(val : Bool) : Nil #

def window_0_enable_bits : UInt16 #

def window_0_enable_bits=(val : UInt16) : Nil #

def window_1_color_special_effect : Bool #

def window_1_color_special_effect=(val : Bool) : Nil #

def window_1_enable_bits : UInt16 #

def window_1_enable_bits=(val : UInt16) : Nil #