]>
Commit | Line | Data |
---|---|---|
83d290c5 | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
042f9f10 DE |
2 | /* |
3 | * (C) Copyright 2011 | |
d38826a3 | 4 | * Dirk Eibach, Guntermann & Drunck GmbH, [email protected] |
042f9f10 DE |
5 | */ |
6 | ||
486cad03 DE |
7 | #ifndef __PCA9698_H_ |
8 | #define __PCA9698_H_ | |
9 | ||
042f9f10 DE |
10 | int pca9698_request(unsigned gpio, const char *label); |
11 | void pca9698_free(unsigned gpio); | |
12 | int pca9698_direction_input(u8 addr, unsigned gpio); | |
13 | int pca9698_direction_output(u8 addr, unsigned gpio, int value); | |
14 | int pca9698_get_value(u8 addr, unsigned gpio); | |
15 | int pca9698_set_value(u8 addr, unsigned gpio, int value); | |
486cad03 DE |
16 | |
17 | #endif /* __PCA9698_H_ */ |