]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/pca9698.h
Convert CONFIG_BOOTCOUNT_ENV to Kconfig
[people/ms/u-boot.git] / include / pca9698.h
CommitLineData
042f9f10
DE
1/*
2 * (C) Copyright 2011
3 * Dirk Eibach, Guntermann & Drunck GmbH, eibach@gdsys.de
4 *
1a459660 5 * SPDX-License-Identifier: GPL-2.0+
042f9f10
DE
6 */
7
486cad03
DE
8#ifndef __PCA9698_H_
9#define __PCA9698_H_
10
042f9f10
DE
11int pca9698_request(unsigned gpio, const char *label);
12void pca9698_free(unsigned gpio);
13int pca9698_direction_input(u8 addr, unsigned gpio);
14int pca9698_direction_output(u8 addr, unsigned gpio, int value);
15int pca9698_get_value(u8 addr, unsigned gpio);
16int pca9698_set_value(u8 addr, unsigned gpio, int value);
486cad03
DE
17
18#endif /* __PCA9698_H_ */