Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
 4.1.99
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
call.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Nordic Semiconductor ASA
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_NRF_IRONSIDE_CALL_H_
7#define ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_NRF_IRONSIDE_CALL_H_
8
9#include <stdint.h>
10
16#define NRF_IRONSIDE_CALL_NUM_ARGS 7
17
27
34#define IRONSIDE_CALL_STATUS_IDLE 0
36#define IRONSIDE_CALL_STATUS_RSP_SUCCESS 1
38#define IRONSIDE_CALL_STATUS_RSP_ERR_UNKNOWN_STATUS 2
40#define IRONSIDE_CALL_STATUS_RSP_ERR_EXPIRED_STATUS 3
42#define IRONSIDE_CALL_STATUS_RSP_ERR_UNKNOWN_ID 4
44#define IRONSIDE_CALL_STATUS_RSP_ERR_EXPIRED_ID 5
46#define IRONSIDE_CALL_STATUS_REQ 6
47
61
72
81
82#endif /* ZEPHYR_INCLUDE_ZEPHYR_DRIVERS_FIRMWARE_NRF_IRONSIDE_CALL_H_ */
struct ironside_call_buf * ironside_call_alloc(void)
Allocate memory for an IRONside call.
void ironside_call_release(struct ironside_call_buf *buf)
Release an IRONside call buffer.
#define NRF_IRONSIDE_CALL_NUM_ARGS
Maximum number of arguments to an IRONside call.
Definition call.h:16
void ironside_call_dispatch(struct ironside_call_buf *buf)
Dispatch an IRONside call.
__UINT32_TYPE__ uint32_t
Definition stdint.h:90
__UINT16_TYPE__ uint16_t
Definition stdint.h:89
Message buffer.
Definition call.h:19
uint16_t status
Status code.
Definition call.h:21
uint16_t id
Operation identifier.
Definition call.h:23
uint32_t args[7]
Operation arguments.
Definition call.h:25