Detailed Description

#include <periph/gpio.h>
#include <periph/spi.h>
#include <errno.h>
+ Include dependency graph for paa5100je.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  paa5100je_params_t
 Device initialization parameters. More...
 
struct  paa5100je_t
 Device descriptor for the driver. More...
 

Enumerations

enum  paa5100je_variant_t { PAA5100JE = 0 , PMW3901 = 1 }
 Variant of the sensor.
 
enum  paa5100je_led_brightness_t { PAA5100JE_LED_OFF = 0 , PAA5100JE_LED_MEDIUM = 1 , PAA5100JE_LED_MAX = 2 }
 PAA5100JE LED brightness levels.
 

Functions

int paa5100je_init (paa5100je_t *dev, const paa5100je_params_t *params)
 Initialize the given device. More...
 
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. More...
 
int paa5100je_set_led_brightness (const paa5100je_t *dev, const paa5100je_led_brightness_t level)
 Sets the LED brightness level. More...