Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PaulStoffregen/OneWire
/ functions
Functions
23 in github.com/PaulStoffregen/OneWire
⨍
Functions
23
◇
Types & classes
1
Method
OneWire
OneWire.h:72
Method
begin
OneWire.cpp:162
Method
check_crc16
OneWire.cpp:559
Method
crc16
OneWire.cpp:565
Method
crc8
Compute a Dallas Semiconductor 8 bit CRC. These show up in the ROM and the registers. (Use tiny 2x16 entry CRC table)
OneWire.cpp:520
Method
depower
OneWire.cpp:329
Function
directModeInput
util/OneWire_direct_gpio.h:114
Function
directModeOutput
util/OneWire_direct_gpio.h:129
Function
directRead
util/OneWire_direct_gpio.h:143
Function
directWriteHigh
util/OneWire_direct_gpio.h:195
Function
directWriteLow
util/OneWire_direct_gpio.h:182
Method
read
Read a byte
OneWire.cpp:294
Method
read_bit
Read a bit. Port and bit is used to cut lookup time and provide more certain timing.
OneWire.cpp:241
Method
read_bytes
OneWire.cpp:304
Method
reset
Perform the onewire reset function. We will wait up to 250uS for the bus to come high, if it doesn't then it is broken or shorted and we return a 0;
OneWire.cpp:179
Method
reset_search
You need to use this function to start a search again from the beginning. You do not need to do it for the first search, though you could.
OneWire.cpp:342
Method
search
Perform a search. If this function returns a '1' then it has enumerated the next device and you may retrieve the ROM from the OneWire::address variabl
OneWire.cpp:384
Method
select
Do a ROM select
OneWire.cpp:312
Method
skip
Do a ROM skip
OneWire.cpp:324
Method
target_search
Setup the search to find the device type 'family_code' on the next call to search(*newAddr) if it is present.
OneWire.cpp:357
Method
write
Write a byte. The writing code uses the active drivers to raise the pin high, if you need power after the write (e.g. DS18S20 in parasite power mode)
OneWire.cpp:266
Method
write_bit
Write a bit. Port and bit is used to cut lookup time and provide more certain timing.
OneWire.cpp:213
Method
write_bytes
OneWire.cpp:280