프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 ( |
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.
|
protected GetTranserAddress ( byte channel ) : IMemory | ||
channel | byte | The channel. |
리턴 | IMemory |
public Setup ( |
||
hardwareResources | ||
리턴 | bool |
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 |
리턴 | bool |
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 |
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 |