Detlev Zundel | a9036ab | 2009-03-30 00:31:32 +0200 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2009 |
| 3 | * Detlev Zundel, DENX Software Engineering, dzu@denx.de. |
| 4 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | * SPDX-License-Identifier: GPL-2.0+ |
Detlev Zundel | a9036ab | 2009-03-30 00:31:32 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | #ifndef _TWS_H_ |
| 9 | #define _TWS_H_ |
| 10 | |
| 11 | /* |
| 12 | * Read/Write interface: |
| 13 | * buffer: Where to read/write the data |
| 14 | * len: How many bits to read/write |
| 15 | * |
| 16 | * Returns: 0 on success, not 0 on failure |
| 17 | */ |
| 18 | int tws_read(uchar *buffer, int len); |
| 19 | int tws_write(uchar *buffer, int len); |
| 20 | |
| 21 | #endif /* _TWS_H_ */ |