eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
erpc_setup_extensions.h
Go to the documentation of this file.
1 /*
2  * Copyright 2020 NXP
3  * Copyright 2020 ACRIOS Systems s.r.o.
4  * All rights reserved.
5  *
6  *
7  * SPDX-License-Identifier: BSD-3-Clause
8  */
9 
10 #ifndef _EMBEDDED_RPC__SETUP_EXTENSIONS_H_
11 #define _EMBEDDED_RPC__SETUP_EXTENSIONS_H_
12 
13 #include "erpc_config_internal.h"
14 
15 #include <stdint.h>
16 
17 #if !ERPC_THREADS_IS(NONE)
18 
19 #if ERPC_THREADS_IS(FREERTOS)
20 #include "FreeRTOS.h"
21 #include "task.h"
22 #include "timers.h"
23 #endif
24 
25 #endif // ERPC_THREADS
26 
33 // Declarations
36 
37 #ifdef __cplusplus
38 
39 namespace erpc {
43 void erpc_pre_cb_default(void);
44 
48 void erpc_post_cb_default(void);
49 } // namespace erpc
50 
51 extern "C" {
52 #endif
53 
54 #if ERPC_THREADS_IS(FREERTOS)
55 typedef TimerCallbackFunction_t erpc_call_timer_cb_default_t;
56 #else
57 typedef void *erpc_call_timer_cb_default_t;
58 #endif
59 
67 void erpc_init_call_progress_detection_default(erpc_call_timer_cb_default_t erpc_call_timer_cb, uint32_t waitTimeMs);
68 
73 
80 
87 
88 #ifdef __cplusplus
89 }
90 #endif
91 
94 #endif // _EMBEDDED_RPC__SETUP_EXTENSIONS_H_
bool erpc_is_call_in_progress_default(void)
This function returns default eRPC call progress status.
Definition: erpc_setup_extensions_freertos.cpp:90
void erpc_post_cb_default(void)
This function is used for default post erpc call action.
Definition: erpc_setup_extensions_freertos.cpp:38
Definition: erpc_arbitrated_client_manager.hpp:25
void erpc_reset_in_progress_state_default(void)
This function resets eRPC state.
Definition: erpc_setup_extensions_freertos.cpp:104
void erpc_deinit_call_progress_detection_default(void)
This function is used for deinitialization variables for task freeze detection.
Definition: erpc_setup_extensions_freertos.cpp:73
void erpc_init_call_progress_detection_default(erpc_call_timer_cb_default_t erpc_call_timer_cb, uint32_t waitTimeMs)
This function is used for initializing variables for task freeze detection.
Definition: erpc_setup_extensions_freertos.cpp:50
void erpc_pre_cb_default(void)
This function is used for default pre erpc call action.
Definition: erpc_setup_extensions_freertos.cpp:24