C# 클래스 Mosa.DeviceDriver.ISA.PIC

상속: Mosa.DeviceSystem.HardwareDevice, IDevice, IHardwareDevice
파일 보기 프로젝트 열기: tgiphil/MOSA-Project

보호된 프로퍼티들

프로퍼티 타입 설명
masterCommandPort IReadWriteIOPort
masterDataPort IReadWriteIOPort
masterInterruptMask byte
slaveCommandPort IReadWriteIOPort
slaveDataPort IReadWriteIOPort
slaveInterruptMask byte

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
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.

메소드 상세

DisableIRQ() 공개 메소드

Disables the IRQ.
public DisableIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

DisableIRQs() 공개 메소드

Disables the IRQs.
public DisableIRQs ( ) : void
리턴 void

DisableMasterIRQ() 보호된 메소드

Disables the master IRQ.
protected DisableMasterIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

DisableSlaveIRQ() 보호된 메소드

Disables the slave IRQ.
protected DisableSlaveIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

EnableIRQ() 공개 메소드

Enables the IRQ.
public EnableIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

EnableMasterIRQ() 보호된 메소드

Enables the master IRQs.
protected EnableMasterIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

EnableSlaveIRQ() 보호된 메소드

Enables the slave IRQ.
protected EnableSlaveIRQ ( byte irq ) : void
irq byte The irq.
리턴 void

OnInterrupt() 공개 메소드

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

PIC() 공개 메소드

Initializes a new instance of the PIC class.
public PIC ( ) : Mosa.HardwareSystem
리턴 Mosa.HardwareSystem

SendEndOfInterrupt() 공개 메소드

Sends the end of interrupt.
public SendEndOfInterrupt ( byte irq ) : void
irq byte The irq.
리턴 void

Setup() 공개 메소드

Setups this hardware device driver
public Setup ( Mosa.DeviceSystem.HardwareResources hardwareResources ) : bool
hardwareResources Mosa.DeviceSystem.HardwareResources
리턴 bool

Start() 공개 메소드

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
리턴 DeviceDriverStartStatus

프로퍼티 상세

masterCommandPort 보호되어 있는 프로퍼티

protected IReadWriteIOPort masterCommandPort
리턴 IReadWriteIOPort

masterDataPort 보호되어 있는 프로퍼티

protected IReadWriteIOPort masterDataPort
리턴 IReadWriteIOPort

masterInterruptMask 보호되어 있는 프로퍼티

protected byte masterInterruptMask
리턴 byte

slaveCommandPort 보호되어 있는 프로퍼티

protected IReadWriteIOPort slaveCommandPort
리턴 IReadWriteIOPort

slaveDataPort 보호되어 있는 프로퍼티

protected IReadWriteIOPort slaveDataPort
리턴 IReadWriteIOPort

slaveInterruptMask 보호되어 있는 프로퍼티

protected byte slaveInterruptMask
리턴 byte