C# Class Mosa.DeviceDriver.ISA.PIT

Inheritance: Mosa.DeviceSystem.HardwareDevice, IDevice, IHardwareDevice
Mostra file Open project: tgiphil/MOSA-Project

Protected Properties

Property Type Description
counter0Divisor IReadWriteIOPort
modeControlPort IReadWriteIOPort
tickCount uint

Public Methods

Method Description
GetTickCount ( ) : uint

Gets the tick count.

OnInterrupt ( ) : bool

Called when an interrupt is received.

PIT ( ) : Mosa.HardwareSystem

Initializes a new instance of the PIT class.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Method Details

GetTickCount() public method

Gets the tick count.
public GetTickCount ( ) : uint
return uint

OnInterrupt() public method

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

PIT() public method

Initializes a new instance of the PIT class.
public PIT ( ) : Mosa.HardwareSystem
return Mosa.HardwareSystem

Setup() public method

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

Start() public method

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

Property Details

counter0Divisor protected_oe property

protected IReadWriteIOPort counter0Divisor
return IReadWriteIOPort

modeControlPort protected_oe property

protected IReadWriteIOPort modeControlPort
return IReadWriteIOPort

tickCount protected_oe property

protected uint tickCount
return uint