C# 클래스 Mosa.DeviceDriver.ISA.DMA8Bit

상속: Mosa.HardwareSystem.HardwareDevice, IDevice, IHardwareDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
byteWordRegister IWriteOnlyIOPort
channel0Address IReadWriteIOPort
channel0Count IReadWriteIOPort
channel0Page IReadWriteIOPort
channel1Address IReadWriteIOPort
channel1Count IReadWriteIOPort
channel1Page IReadWriteIOPort
channel2Address IReadWriteIOPort
channel2Count IReadWriteIOPort
channel2Page IReadWriteIOPort
channel3Address IReadWriteIOPort
channel3Count IReadWriteIOPort
channel3Page IReadWriteIOPort
channelMaskRegister IWriteOnlyIOPort
commandRegister IWriteOnlyIOPort
intermediateRegister IReadOnlyIOPort
maskRegister IWriteOnlyIOPort
memory0 IMemory
memory1 IMemory
memory2 IMemory
memory3 IMemory
modeRegister IWriteOnlyIOPort
requestRegister IWriteOnlyIOPort
statusRegister IReadOnlyIOPort

공개 메소드들

메소드 설명
DMA8Bit ( ) : Mosa.HardwareSystem

Initializes a new instance of the DMA8Bit class.

OnInterrupt ( ) : bool

Called when an interrupt is received.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

SetupChannel ( byte channel, uint count, DMAMode mode, DMATransferType type, bool auto ) : bool

Setups the channel.

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

TransferIn ( byte channel, uint count, byte source, uint offset ) : bool

Transfers the in.

TransferOut ( byte channel, uint count, byte destination, uint offset ) : bool

Transfers the out.

보호된 메소드들

메소드 설명
GetTranserAddress ( byte channel ) : IMemory

Gets the DMA transer address.

메소드 상세

DMA8Bit() 공개 메소드

Initializes a new instance of the DMA8Bit class.
public DMA8Bit ( ) : Mosa.HardwareSystem
리턴 Mosa.HardwareSystem

GetTranserAddress() 보호된 메소드

Gets the DMA transer address.
protected GetTranserAddress ( byte channel ) : IMemory
channel byte The channel.
리턴 IMemory

OnInterrupt() 공개 메소드

Called when an interrupt is received.
public OnInterrupt ( ) : bool
리턴 bool

Setup() 공개 메소드

Setups this hardware device driver
public Setup ( HardwareResources hardwareResources ) : bool
hardwareResources Mosa.HardwareSystem.HardwareResources
리턴 bool

SetupChannel() 공개 메소드

Setups the channel.
public SetupChannel ( byte channel, uint count, DMAMode mode, DMATransferType type, bool auto ) : bool
channel byte The channel.
count uint The count.
mode DMAMode The mode.
type DMATransferType The type.
auto bool if set to true [auto].
리턴 bool

Start() 공개 메소드

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
리턴 DeviceDriverStartStatus

TransferIn() 공개 메소드

Transfers the in.
public TransferIn ( byte channel, uint count, byte source, uint offset ) : bool
channel byte The channel.
count uint The count.
source byte The source.
offset uint The offset.
리턴 bool

TransferOut() 공개 메소드

Transfers the out.
public TransferOut ( byte channel, uint count, byte destination, uint offset ) : bool
channel byte The channel.
count uint The count.
destination byte The destination.
offset uint The offset.
리턴 bool

프로퍼티 상세

byteWordRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort byteWordRegister
리턴 IWriteOnlyIOPort

channel0Address 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel0Address
리턴 IReadWriteIOPort

channel0Count 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel0Count
리턴 IReadWriteIOPort

channel0Page 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel0Page
리턴 IReadWriteIOPort

channel1Address 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel1Address
리턴 IReadWriteIOPort

channel1Count 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel1Count
리턴 IReadWriteIOPort

channel1Page 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel1Page
리턴 IReadWriteIOPort

channel2Address 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel2Address
리턴 IReadWriteIOPort

channel2Count 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel2Count
리턴 IReadWriteIOPort

channel2Page 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel2Page
리턴 IReadWriteIOPort

channel3Address 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel3Address
리턴 IReadWriteIOPort

channel3Count 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel3Count
리턴 IReadWriteIOPort

channel3Page 보호되어 있는 프로퍼티

protected IReadWriteIOPort channel3Page
리턴 IReadWriteIOPort

channelMaskRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort channelMaskRegister
리턴 IWriteOnlyIOPort

commandRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort commandRegister
리턴 IWriteOnlyIOPort

intermediateRegister 보호되어 있는 프로퍼티

protected IReadOnlyIOPort intermediateRegister
리턴 IReadOnlyIOPort

maskRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort maskRegister
리턴 IWriteOnlyIOPort

memory0 보호되어 있는 프로퍼티

protected IMemory memory0
리턴 IMemory

memory1 보호되어 있는 프로퍼티

protected IMemory memory1
리턴 IMemory

memory2 보호되어 있는 프로퍼티

protected IMemory memory2
리턴 IMemory

memory3 보호되어 있는 프로퍼티

protected IMemory memory3
리턴 IMemory

modeRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort modeRegister
리턴 IWriteOnlyIOPort

requestRegister 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort requestRegister
리턴 IWriteOnlyIOPort

statusRegister 보호되어 있는 프로퍼티

protected IReadOnlyIOPort statusRegister
리턴 IReadOnlyIOPort