NHAL Interface v0.5.0
Hardware Abstraction Layer Interface for Embedded Systems
Loading...
Searching...
No Matches
nhal_i2c_transfer.h
Go to the documentation of this file.
1
9#ifndef NHAL_I2C_TRANSFER_H
10#define NHAL_I2C_TRANSFER_H
11
12#include <stdint.h>
13#include <stddef.h>
14#include <stdbool.h>
15
16#include "nhal_common.h"
17#include "nhal_i2c_types.h"
18
19#ifdef __cplusplus
20extern "C" {
21#endif
22
32 struct nhal_i2c_context * ctx,
34 size_t num_ops
35);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif // NHAL_I2C_TRANSFER_H_
nhal_result_t
Unified HAL result type for all peripheral operations.
Definition nhal_common.h:22
nhal_result_t nhal_i2c_master_perform_transfer(struct nhal_i2c_context *ctx, nhal_i2c_transfer_op_t *ops, size_t num_ops)
Perform complex I2C transfer with multiple operations.
Defines common types and structures for the I2C Hardware Abstraction Layer (HAL).
Base I2C context - always present, minimal footprint.
Structure describing a single I2C message segment within a transaction.