GBA::Reg::DISPCNT
Inherits GBA::Reg::Base16 < BitField < Reference < Object
Constants
FIELDS = [{bg_mode, T, 3, false, false}, {reserved_for_bios, Bool, 1, true, false}, {display_frame_select, Bool, 1, false, false}, {hblank_interval_free, Bool, 1, false, false}, {obj_mapping_1d, Bool, 1, false, false}, {forced_blank, Bool, 1, false, false}, {default_enable_bits, T, 5, false, false}, {window_0_display, Bool, 1, false, false}, {window_1_display, Bool, 1, false, false}, {obj_window_display, Bool, 1, false, false}] of Tuple(String, Crystal::Macros::Path, Int32, Bool, Bool)
SIZE = 16
Constructors
new(value : T)
Instance methods
==(other : self)
Returns true if this reference is the same as other. Invokes same?.
bg_mode
bg_mode=(val : T) : Nil
default_enable_bits
default_enable_bits=(val : T) : Nil
display_frame_select
forced_blank
hash(hasher)
See Object#hash(hasher)
hblank_interval_free
obj_mapping_1d
obj_window_display
reserved_for_bios
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>
value
value=(value : T)
window_0_display
window_1_display