class GBA::DMA

Defined in:

crab/gba/dma.cr

Constant Summary

DST_MASK = Slice[134217727_u32, 134217727_u32, 134217727_u32, 268435455_u32]
LEN_MASK = Slice[16383_u16, 16383_u16, 16383_u16, 65535_u16]
SRC_MASK = Slice[134217727_u32, 268435455_u32, 268435455_u32, 268435455_u32]

Constructors

Instance Method Summary

Constructor Detail

def self.new(gba : GBA) #

[View source]

Instance Method Detail

def [](io_addr : UInt32) : UInt8 #

[View source]
def []=(io_addr : UInt32, value : UInt8) : Nil #

[View source]
def dmacnt_l : Slice(UInt16) #

[View source]
def trigger(channel : Int) : Nil #

[View source]
def trigger_fifo(fifo_channel : Int) : Nil #

todo: maybe abstract these various triggers


[View source]
def trigger_hdma : Nil #

[View source]
def trigger_vdma : Nil #

[View source]