diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2005-11-11 20:59:28 +0000 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2005-11-11 20:59:28 +0000 |
commit | 979392c3e5cd32a4d570f7d37f22baebd04699ba (patch) | |
tree | 1bccc4c3dc493bc998219d15e46c1a2edbec84a6 /tools/csr.h | |
parent | 1a31ffaa3c1bca7a26448069bf2aa5007ae7f826 (diff) |
Add skeleton for 3-Wire UART transport
Diffstat (limited to 'tools/csr.h')
-rw-r--r-- | tools/csr.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/csr.h b/tools/csr.h index 01e4d803..daa2e669 100644 --- a/tools/csr.h +++ b/tools/csr.h @@ -522,6 +522,11 @@ int csr_read_h4(uint16_t varid, uint8_t *value, uint16_t length); int csr_write_h4(uint16_t varid, uint8_t *value, uint16_t length); void csr_close_h4(void); +int csr_open_3wire(char *device); +int csr_read_3wire(uint16_t varid, uint8_t *value, uint16_t length); +int csr_write_3wire(uint16_t varid, uint8_t *value, uint16_t length); +void csr_close_3wire(void); + int csr_write_varid_valueless(int dd, uint16_t seqnum, uint16_t varid); int csr_write_varid_complex(int dd, uint16_t seqnum, uint16_t varid, uint8_t *value, uint16_t length); int csr_read_varid_complex(int dd, uint16_t seqnum, uint16_t varid, uint8_t *value, uint16_t length); |