Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
infineon_mxcrypto.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: Copyright (c) 2026 Infineon Technologies AG,
3 * SPDX-FileCopyrightText: or an affiliate of Infineon Technologies AG. All rights reserved.
4 *
5 * SPDX-License-Identifier: Apache-2.0
6 */
7
13
14#ifndef ZEPHYR_INCLUDE_DRIVERS_MFD_INFINEON_MXCRYPTO_H_
15#define ZEPHYR_INCLUDE_DRIVERS_MFD_INFINEON_MXCRYPTO_H_
16
17#include <zephyr/device.h>
18#include <zephyr/kernel.h>
19
20#include "cy_device.h"
21#include "cy_device_headers.h"
22
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
43CRYPTO_Type *mfd_infineon_mxcrypto_get_base(const struct device *dev);
44
58int mfd_infineon_mxcrypto_lock(const struct device *dev, k_timeout_t timeout);
59
65void mfd_infineon_mxcrypto_unlock(const struct device *dev);
66
67#ifdef __cplusplus
68}
69#endif
70
72
73#endif /* ZEPHYR_INCLUDE_DRIVERS_MFD_INFINEON_MXCRYPTO_H_ */
CRYPTO_Type * mfd_infineon_mxcrypto_get_base(const struct device *dev)
Get the MXCRYPTO register base address.
int mfd_infineon_mxcrypto_lock(const struct device *dev, k_timeout_t timeout)
Acquire the shared MXCRYPTO access mutex.
void mfd_infineon_mxcrypto_unlock(const struct device *dev)
Release the shared MXCRYPTO access mutex.
Public kernel APIs.
Runtime device structure (in ROM) per driver instance.
Definition device.h:513
Kernel timeout type.
Definition clock.h:65