Select one of the symbols to view example projects that use it.
 
Outline
#include <stdint.h>
#include <stddef.h>
onewire_crc8(uint8_t, uint8_t *, size_t);
Files
loading...
SourceVuESP-IDF Framework and Examplesonewire samplemanaged_components/espressif__onewire_bus/include/onewire_crc.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/* * SPDX-FileCopyrightText: 2022-2023 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 *//* ... */ #pragma once #include <stdint.h> #include <stddef.h> #ifdef __cplusplus extern "C" { #endif /** * @brief Calculate Dallas CRC8 value of a given buffer * * @param[in] init_crc Initial CRC value * @param[in] input Input buffer to calculate CRC value * @param[in] input_size Size of input buffer, in bytes * @return CRC8 result of the input buffer *//* ... */ uint8_t onewire_crc8(uint8_t init_crc, uint8_t *input, size_t input_size); #ifdef __cplusplus }{...} #endif
Details
Show:
from
Types: Columns:
This file uses the notable symbols shown below. Click anywhere in the file to view more details.