65 PAA5100JE_LED_OFF = 0,
66 PAA5100JE_LED_MEDIUM = 1,
67 PAA5100JE_LED_MAX = 2,
Low-level GPIO peripheral driver interface definitions.
paa5100je_led_brightness_t
PAA5100JE LED brightness levels.
int paa5100je_init(paa5100je_t *dev, const paa5100je_params_t *params)
Initialize the given device.
paa5100je_variant_t
Variant of the sensor.
int paa5100je_get_motion_burst(const paa5100je_t *dev, int16_t *x, int16_t *y)
Reads the relative motition vector from the device using burst read.
int paa5100je_set_led_brightness(const paa5100je_t *dev, const paa5100je_led_brightness_t level)
Sets the LED brightness level.
Low-level SPI peripheral driver interface definition.
Device initialization parameters.
gpio_t cs
pin connected to the chip select line
paa5100je_variant_t var
variant of the sensor used
spi_clk_t clk
clock speed used on the selected SPI bus
Device descriptor for the driver.
const paa5100je_params_t * params
Device initialization parameters.