class GBA::Reg::WINOUT
- GBA::Reg::WINOUT
- BitField(UInt16)
- Reference
- Object
Included Modules
Defined in:
crab/gba/reg.crConstant Summary
-
FIELDS =
[{outside_enable_bits, T, 5, false, false}, {outside_color_special_effect, Bool, 1, false, false}, {not_used_outside, T, 2, true, false}, {obj_window_enable_bits, T, 5, false, false}, {obj_window_color_special_effect, Bool, 1, false, false}, {not_used_obj, T, 2, true, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
-
SIZE =
16
Constructors
Instance Method Summary
-
#==(other : self)
Returns
true
if this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher)
- #not_used_obj : UInt16
- #not_used_obj=(val : UInt16) : Nil
- #not_used_outside : UInt16
- #not_used_outside=(val : UInt16) : Nil
- #obj_window_color_special_effect : Bool
- #obj_window_color_special_effect=(val : Bool) : Nil
- #obj_window_enable_bits : UInt16
- #obj_window_enable_bits=(val : UInt16) : Nil
- #outside_color_special_effect : Bool
- #outside_color_special_effect=(val : Bool) : Nil
- #outside_enable_bits : UInt16
- #outside_enable_bits=(val : UInt16) : Nil
-
#to_s(io : IO) : Nil
Appends a short String representation of this object which includes its class name and its object address.
- #value : T
- #value=(value : T)
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
Instance Method Detail
def ==(other : self)
#
Description copied from class Reference
Returns true
if this reference is the same as other. Invokes same?
.
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>