mirror of https://github.com/Qortal/Brooklyn
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
399 B
17 lines
399 B
/* SPDX-License-Identifier: GPL-2.0-only */ |
|
#ifndef _AS5011_H |
|
#define _AS5011_H |
|
|
|
/* |
|
* Copyright (c) 2010, 2011 Fabien Marteau <[email protected]> |
|
*/ |
|
|
|
struct as5011_platform_data { |
|
unsigned int button_gpio; |
|
unsigned int axis_irq; /* irq number */ |
|
unsigned long axis_irqflags; |
|
char xp, xn; /* threshold for x axis */ |
|
char yp, yn; /* threshold for y axis */ |
|
}; |
|
|
|
#endif /* _AS5011_H */
|
|
|