Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_PL050_KEYBOARD Struct Reference

#include <pl050.h>

Data Fields

KEYBOARD_DEVICE keyboard
uint32_t irq
PL050_KMI_REGISTERSregisters
 Device registers.
uint8_t scancodeset
 The currently selected scancode set.
PL050_KEYBOARD_SCANCODE scancodedata [PL050_KEYBOARD_SCANCODE_COUNT]
 Buffers for scancode receiving.
uint32_t scancodestart
 The scancode buffer to use for the next receive.
uint32_t scancodecount
 The number of scancode buffers that are in use.
uint16_t lastcode
 The scan code of the last key pressed.
uint32_t shiftstate
 The modifier flags of the current shift state.
uint32_t discardcount
 Number of received bytes discarded (due to no buffer or other reasons).
uint32_t interruptcount
 Number of interrupt requests received by the device.

Field Documentation

◆ keyboard

KEYBOARD_DEVICE keyboard

◆ irq

uint32_t irq

◆ registers

PL050_KMI_REGISTERS* registers

Device registers.

◆ scancodeset

uint8_t scancodeset

The currently selected scancode set.

◆ scancodedata

Buffers for scancode receiving.

◆ scancodestart

uint32_t scancodestart

The scancode buffer to use for the next receive.

◆ scancodecount

uint32_t scancodecount

The number of scancode buffers that are in use.

◆ lastcode

uint16_t lastcode

The scan code of the last key pressed.

◆ shiftstate

uint32_t shiftstate

The modifier flags of the current shift state.

◆ discardcount

uint32_t discardcount

Number of received bytes discarded (due to no buffer or other reasons).

◆ interruptcount

uint32_t interruptcount

Number of interrupt requests received by the device.


The documentation for this struct was generated from the following file: