Свойство | Type | Description | |
---|---|---|---|
commandPort | IReadWriteIOPort | ||
dataPort | IReadWriteIOPort | ||
fifoBuffer | byte[] | ||
fifoEnd | uint | ||
fifoStart | uint | ||
spinLock | SpinLock |
Méthode | 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.
|
Méthode | 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. |
Résultat | void |
public Setup ( HardwareResources hardwareResources ) : bool | ||
hardwareResources | HardwareResources | |
Résultat | bool |
public StandardKeyboard ( ) : Mosa.DeviceSystem | ||
Résultat | Mosa.DeviceSystem |