MCPcopy Create free account

hub / github.com/PaulStoffregen/OneWire / functions

Functions23 in github.com/PaulStoffregen/OneWire

MethodOneWire
OneWire.h:72
Methodbegin
OneWire.cpp:162
Methodcheck_crc16
OneWire.cpp:559
Methodcrc16
OneWire.cpp:565
Methodcrc8
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
Methoddepower
OneWire.cpp:329
FunctiondirectModeInput
util/OneWire_direct_gpio.h:114
FunctiondirectModeOutput
util/OneWire_direct_gpio.h:129
FunctiondirectRead
util/OneWire_direct_gpio.h:143
FunctiondirectWriteHigh
util/OneWire_direct_gpio.h:195
FunctiondirectWriteLow
util/OneWire_direct_gpio.h:182
Methodread
Read a byte
OneWire.cpp:294
Methodread_bit
Read a bit. Port and bit is used to cut lookup time and provide more certain timing.
OneWire.cpp:241
Methodread_bytes
OneWire.cpp:304
Methodreset
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
Methodreset_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
Methodsearch
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
Methodselect
Do a ROM select
OneWire.cpp:312
Methodskip
Do a ROM skip
OneWire.cpp:324
Methodtarget_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
Methodwrite
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
Methodwrite_bit
Write a bit. Port and bit is used to cut lookup time and provide more certain timing.
OneWire.cpp:213
Methodwrite_bytes
OneWire.cpp:280