프로퍼티 | 타입 | 설명 | |
---|---|---|---|
commandPort | IReadWriteIOPort | ||
dataPort | IReadWriteIOPort | ||
fifoBuffer | byte[] | ||
fifoEnd | uint | ||
fifoStart | uint | ||
spinLock | SpinLock |
메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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
|
public Setup ( HardwareResources hardwareResources ) : bool | ||
hardwareResources | HardwareResources | |
리턴 | bool |