class

GBA::Reg::WAITCNT

Inherits GBA::Reg::Base16 < BitField < Reference < Object

Constants

FIELDS = [{sram_wait_control, T, 2, false, false}, {wait_state_0_first_access, T, 2, false, false}, {wait_state_0_second_access, T, 1, false, false}, {wait_state_1_first_access, T, 2, false, false}, {wait_state_1_second_access, T, 1, false, false}, {wait_state_2_first_access, T, 2, false, false}, {wait_state_2_second_access, T, 1, false, false}, {phi_terminal_output, T, 2, false, false}, {not_used, Bool, 1, true, false}, {gamepack_prefetch_buffer, Bool, 1, false, false}, {gamepak_type, Bool, 1, true, 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?.

gamepack_prefetch_buffer
gamepack_prefetch_buffer=(val : Bool) : Nil
gamepak_type
gamepak_type=(val : Bool) : Nil
hash(hasher)

See Object#hash(hasher)

not_used
not_used=(val : Bool) : Nil
phi_terminal_output
phi_terminal_output=(val : T) : Nil
sram_wait_control
sram_wait_control=(val : T) : Nil
to_s(io : IO) : Nil

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)
wait_state_0_first_access
wait_state_0_first_access=(val : T) : Nil
wait_state_0_second_access
wait_state_0_second_access=(val : T) : Nil
wait_state_1_first_access
wait_state_1_first_access=(val : T) : Nil
wait_state_1_second_access
wait_state_1_second_access=(val : T) : Nil
wait_state_2_first_access
wait_state_2_first_access=(val : T) : Nil
wait_state_2_second_access
wait_state_2_second_access=(val : T) : Nil