C# Class Mosa.DeviceDriver.ISA.PIC

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

Protected Properties

Свойство Type Description
masterCommandPort IReadWriteIOPort
masterDataPort IReadWriteIOPort
masterInterruptMask byte
slaveCommandPort IReadWriteIOPort
slaveDataPort IReadWriteIOPort
slaveInterruptMask byte

Méthodes publiques

Méthode Description
DisableIRQ ( byte irq ) : void

Disables the IRQ.

DisableIRQs ( ) : void

Disables the IRQs.

EnableIRQ ( byte irq ) : void

Enables the IRQ.

OnInterrupt ( ) : bool

Called when an interrupt is received.

PIC ( ) : Mosa.HardwareSystem

Initializes a new instance of the PIC class.

SendEndOfInterrupt ( byte irq ) : void

Sends the end of interrupt.

Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

Méthodes protégées

Méthode Description
DisableMasterIRQ ( byte irq ) : void

Disables the master IRQ.

DisableSlaveIRQ ( byte irq ) : void

Disables the slave IRQ.

EnableMasterIRQ ( byte irq ) : void

Enables the master IRQs.

EnableSlaveIRQ ( byte irq ) : void

Enables the slave IRQ.

Method Details

DisableIRQ() public méthode

Disables the IRQ.
public DisableIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

DisableIRQs() public méthode

Disables the IRQs.
public DisableIRQs ( ) : void
Résultat void

DisableMasterIRQ() protected méthode

Disables the master IRQ.
protected DisableMasterIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

DisableSlaveIRQ() protected méthode

Disables the slave IRQ.
protected DisableSlaveIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

EnableIRQ() public méthode

Enables the IRQ.
public EnableIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

EnableMasterIRQ() protected méthode

Enables the master IRQs.
protected EnableMasterIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

EnableSlaveIRQ() protected méthode

Enables the slave IRQ.
protected EnableSlaveIRQ ( byte irq ) : void
irq byte The irq.
Résultat void

OnInterrupt() public méthode

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

PIC() public méthode

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

SendEndOfInterrupt() public méthode

Sends the end of interrupt.
public SendEndOfInterrupt ( byte irq ) : void
irq byte The irq.
Résultat void

Setup() public méthode

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

Start() public méthode

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

Property Details

masterCommandPort protected_oe property

protected IReadWriteIOPort masterCommandPort
Résultat IReadWriteIOPort

masterDataPort protected_oe property

protected IReadWriteIOPort masterDataPort
Résultat IReadWriteIOPort

masterInterruptMask protected_oe property

protected byte masterInterruptMask
Résultat byte

slaveCommandPort protected_oe property

protected IReadWriteIOPort slaveCommandPort
Résultat IReadWriteIOPort

slaveDataPort protected_oe property

protected IReadWriteIOPort slaveDataPort
Résultat IReadWriteIOPort

slaveInterruptMask protected_oe property

protected byte slaveInterruptMask
Résultat byte