C# Class Mosa.DeviceDriver.ISA.CMOS

Inheritance: Mosa.HardwareSystem.HardwareDevice, IDevice, IHardwareDevice
Mostra file Open project: tgiphil/MOSA-Project Class Usage Examples

Protected Properties

Property Type Description
commandPort IReadWriteIOPort
dataPort IReadWriteIOPort
spinLock Mosa.HardwareSystem.SpinLock

Public Methods

Method Description
CMOS ( ) : Mosa.HardwareSystem

OnInterrupt ( ) : bool

Called when an interrupt is received.

Read ( byte address ) : byte

Reads the specified address.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Method Details

CMOS() public method

public CMOS ( ) : Mosa.HardwareSystem
return Mosa.HardwareSystem

OnInterrupt() public method

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

Read() public method

Reads the specified address.
public Read ( byte address ) : byte
address byte The address.
return byte

Setup() public method

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

Start() public method

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
return DeviceDriverStartStatus

Property Details

commandPort protected_oe property

protected IReadWriteIOPort commandPort
return IReadWriteIOPort

dataPort protected_oe property

protected IReadWriteIOPort dataPort
return IReadWriteIOPort

spinLock protected_oe property

protected SpinLock,Mosa.HardwareSystem spinLock
return Mosa.HardwareSystem.SpinLock