sx151x.h 414 B

1234567891011121314151617
  1. /*
  2. * (C) Copyright 2013
  3. * Viktar Palstsiuk, Promwad, viktar.palstsiuk@promwad.com
  4. *
  5. * SPDX-License-Identifier: GPL-2.0+
  6. */
  7. #ifndef __SX151X_H_
  8. #define __SX151X_H_
  9. int sx151x_get_value(int chip, int gpio);
  10. int sx151x_set_value(int chip, int gpio, int val);
  11. int sx151x_direction_input(int chip, int gpio);
  12. int sx151x_direction_output(int chip, int gpio);
  13. int sx151x_reset(int chip);
  14. #endif /* __SX151X_H_ */