SingingCat
0
application
include
onewire.h
1
#ifndef ONEWIRE_H
2
#define ONEWIRE_H 1
3
typedef
struct
onewire_hwdef
{
4
int
pin;
5
int
offset;
6
}
_hwdef
;
7
8
// query a onewire device for its value
9
int
query_onewire(
struct
onewire_hwdef
*hw,
byte
*error);
10
int
onewire_doWriteRead(
const
uint8_t *writeData, uint8_t *readData, uint16_t nWriteBits, uint16_t nReadBits);
11
int
onewire_run(
byte
idx,
byte
*error);
12
int
onewire_init(
byte
idx);
13
int
onewire_reading_size(
byte
idx);
14
int
onewire_status();
15
#endif
onewire_hwdef
Definition:
onewire.h:3
Generated on Tue May 28 2024 19:13:43 for SingingCat by
1.9.4