ts-nbus.h 532 B

123456789101112131415161718
  1. /*
  2. * Copyright (c) 2016 - Savoir-faire Linux
  3. * Author: Sebastien Bourdelin <[email protected]>
  4. *
  5. * This file is licensed under the terms of the GNU General Public
  6. * License version 2. This program is licensed "as is" without any
  7. * warranty of any kind, whether express or implied.
  8. */
  9. #ifndef _TS_NBUS_H
  10. #define _TS_NBUS_H
  11. struct ts_nbus;
  12. extern int ts_nbus_read(struct ts_nbus *ts_nbus, u8 adr, u16 *val);
  13. extern int ts_nbus_write(struct ts_nbus *ts_nbus, u8 adr, u16 val);
  14. #endif /* _TS_NBUS_H */