Property | Type | Description | |
---|---|---|---|
commandPort | IReadWriteIOPort | ||
dataPort | IReadWriteIOPort | ||
fifoBuffer | byte[] | ||
fifoEnd | uint | ||
fifoStart | uint | ||
spinLock | SpinLock |
Method | Description | |
---|---|---|
GetScanCode ( ) : byte |
Gets the scan code from the fifo
|
|
OnInterrupt ( ) : bool |
Called when interrupt is received.
|
|
Setup ( HardwareResources hardwareResources ) : bool |
Setups the standard keyboard driver
|
|
StandardKeyboard ( ) : Mosa.DeviceSystem |
Initializes a new instance of the StandardKeyboard class.
|
|
Start ( ) : DeviceDriverStartStatus |
Starts the standard keyboard device.
|
Method | Description | |
---|---|---|
AddToFIFO ( byte value ) : void |
Adds scan code to FIFO.
|
|
GetFromFIFO ( ) : byte |
Gets scan code from FIFO.
|
|
IsFIFODataAvailable ( ) : bool |
Determines whether FIFO data is available
|
|
IsFIFOFull ( ) : bool |
Determines whether the FIFO is full
|
|
ReadScanCode ( ) : void |
Reads the scan code from the device
|
protected AddToFIFO ( byte value ) : void | ||
value | byte | The value. |
return | void |
public Setup ( HardwareResources hardwareResources ) : bool | ||
hardwareResources | HardwareResources | |
return | bool |
public StandardKeyboard ( ) : Mosa.DeviceSystem | ||
return | Mosa.DeviceSystem |