Zephyr API Documentation
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
mctp_i3c_pec.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2026 Intel Corporation
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*
6
*/
7
8
#ifndef ZEPHYR_MCTP_I3C_PEC_H_
9
#define ZEPHYR_MCTP_I3C_PEC_H_
10
18
19
#include <
errno.h
>
20
#include <stddef.h>
21
#include <
stdint.h
>
22
24
28
#define I3C_PROTOCOL_PEC_SZ 1U
29
43
uint8_t
mctp_i3c_calculate_pec(
const
uint8_t
*buf,
size_t
len,
uint8_t
addr_byte);
44
58
int
mctp_i3c_verify_pec(
const
uint8_t
*buf,
size_t
len,
uint8_t
addr_byte);
59
61
62
#endif
/* ZEPHYR_MCTP_I3C_PEC_H_ */
errno.h
System error numbers.
stdint.h
uint8_t
__UINT8_TYPE__ uint8_t
Definition
stdint.h:88
zephyr
pmci
mctp
mctp_i3c_pec.h
Generated on
for Zephyr API Documentation by
1.16.1