C# Class Mosa.DeviceDriver.ISA.DMA8Bit

Inheritance: Mosa.HardwareSystem.HardwareDevice, IDevice, IHardwareDevice
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
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

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
GetTranserAddress ( byte channel ) : IMemory

Gets the DMA transer address.

Method Details

DMA8Bit() public méthode

Initializes a new instance of the DMA8Bit class.
public DMA8Bit ( ) : Mosa.HardwareSystem
Résultat Mosa.HardwareSystem

GetTranserAddress() protected méthode

Gets the DMA transer address.
protected GetTranserAddress ( byte channel ) : IMemory
channel byte The channel.
Résultat IMemory

OnInterrupt() public méthode

Called when an interrupt is received.
public OnInterrupt ( ) : bool
Résultat bool

Setup() public méthode

Setups this hardware device driver
public Setup ( HardwareResources hardwareResources ) : bool
hardwareResources Mosa.HardwareSystem.HardwareResources
Résultat bool

SetupChannel() public méthode

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].
Résultat bool

Start() public méthode

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
Résultat DeviceDriverStartStatus

TransferIn() public méthode

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.
Résultat bool

TransferOut() public méthode

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.
Résultat bool

Property Details

byteWordRegister protected_oe property

protected IWriteOnlyIOPort byteWordRegister
Résultat IWriteOnlyIOPort

channel0Address protected_oe property

protected IReadWriteIOPort channel0Address
Résultat IReadWriteIOPort

channel0Count protected_oe property

protected IReadWriteIOPort channel0Count
Résultat IReadWriteIOPort

channel0Page protected_oe property

protected IReadWriteIOPort channel0Page
Résultat IReadWriteIOPort

channel1Address protected_oe property

protected IReadWriteIOPort channel1Address
Résultat IReadWriteIOPort

channel1Count protected_oe property

protected IReadWriteIOPort channel1Count
Résultat IReadWriteIOPort

channel1Page protected_oe property

protected IReadWriteIOPort channel1Page
Résultat IReadWriteIOPort

channel2Address protected_oe property

protected IReadWriteIOPort channel2Address
Résultat IReadWriteIOPort

channel2Count protected_oe property

protected IReadWriteIOPort channel2Count
Résultat IReadWriteIOPort

channel2Page protected_oe property

protected IReadWriteIOPort channel2Page
Résultat IReadWriteIOPort

channel3Address protected_oe property

protected IReadWriteIOPort channel3Address
Résultat IReadWriteIOPort

channel3Count protected_oe property

protected IReadWriteIOPort channel3Count
Résultat IReadWriteIOPort

channel3Page protected_oe property

protected IReadWriteIOPort channel3Page
Résultat IReadWriteIOPort

channelMaskRegister protected_oe property

protected IWriteOnlyIOPort channelMaskRegister
Résultat IWriteOnlyIOPort

commandRegister protected_oe property

protected IWriteOnlyIOPort commandRegister
Résultat IWriteOnlyIOPort

intermediateRegister protected_oe property

protected IReadOnlyIOPort intermediateRegister
Résultat IReadOnlyIOPort

maskRegister protected_oe property

protected IWriteOnlyIOPort maskRegister
Résultat IWriteOnlyIOPort

memory0 protected_oe property

protected IMemory memory0
Résultat IMemory

memory1 protected_oe property

protected IMemory memory1
Résultat IMemory

memory2 protected_oe property

protected IMemory memory2
Résultat IMemory

memory3 protected_oe property

protected IMemory memory3
Résultat IMemory

modeRegister protected_oe property

protected IWriteOnlyIOPort modeRegister
Résultat IWriteOnlyIOPort

requestRegister protected_oe property

protected IWriteOnlyIOPort requestRegister
Résultat IWriteOnlyIOPort

statusRegister protected_oe property

protected IReadOnlyIOPort statusRegister
Résultat IReadOnlyIOPort