Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pio/onewire/onewire_library/onewire_library.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#ifndef _ONEWIRE_LIBRARY_H
#define _ONEWIRE_LIBRARY_H

#include "hardware/pio.h"
#include "hardware/clocks.h" // for clock_get_hz() in generated header
#include "onewire_library.pio.h" // generated by pioasm
Expand All @@ -14,4 +17,6 @@ bool ow_init (OW *ow, PIO pio, uint offset, uint gpio);
void ow_send (OW *ow, uint data);
uint8_t ow_read (OW *ow);
bool ow_reset (OW *ow);
int ow_romsearch (OW *ow, uint64_t *romcodes, int maxdevs, uint command);
int ow_romsearch (OW *ow, uint64_t *romcodes, int maxdevs, uint command);

#endif