~pmdj/ubuntu/trusty/qemu/2.9+applesmc+fadtv3

« back to all changes in this revision

Viewing changes to roms/u-boot/include/pca9698.h

  • Committer: Phil Dennis-Jordan
  • Date: 2017-07-21 08:03:43 UTC
  • mfrom: (1.1.1)
  • Revision ID: phil@philjordan.eu-20170721080343-2yr2vdj7713czahv
New upstream release 2.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * (C) Copyright 2011
 
3
 * Dirk Eibach,  Guntermann & Drunck GmbH, eibach@gdsys.de
 
4
 *
 
5
 * SPDX-License-Identifier:     GPL-2.0+
 
6
 */
 
7
 
 
8
#ifndef __PCA9698_H_
 
9
#define __PCA9698_H_
 
10
 
 
11
int pca9698_request(unsigned gpio, const char *label);
 
12
void pca9698_free(unsigned gpio);
 
13
int pca9698_direction_input(u8 addr, unsigned gpio);
 
14
int pca9698_direction_output(u8 addr, unsigned gpio, int value);
 
15
int pca9698_get_value(u8 addr, unsigned gpio);
 
16
int pca9698_set_value(u8 addr, unsigned gpio, int value);
 
17
 
 
18
#endif /* __PCA9698_H_ */