diff options
author | Florian Jung <flo@windfisch.org> | 2016-01-24 20:02:30 +0100 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2016-01-24 20:02:30 +0100 |
commit | 07ce2df5da6265702e1d99556f46139f8b5b8611 (patch) | |
tree | 47a678a8806b3def6b95e84f9f6f10e2f5c813bb /avr/1wire.h | |
parent | dfc2f5fbfb5bb34d43fee7677486d8e8430f1f87 (diff) |
write/verify scratchpad. proper formatting. warning comment.
Diffstat (limited to 'avr/1wire.h')
-rw-r--r-- | avr/1wire.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/avr/1wire.h b/avr/1wire.h index accb132..af48d0b 100644 --- a/avr/1wire.h +++ b/avr/1wire.h @@ -24,4 +24,8 @@ uint8_t w1_byte_rd( void ); uint8_t w1_rom_search( uint8_t diff, uint8_t*id ); void w1_command( uint8_t command, uint8_t *id ); + +void ds1992_read(uint16_t addr, uint8_t* buf, uint8_t len); +void ds1992_scratch_write(uint16_t addr, const uint8_t* buf, uint8_t len); +uint8_t ds1992_scratch_verify(uint16_t addr, const uint8_t* buf, uint8_t len, uint8_t* es_reg_ptr); #endif |