eRPC API Reference  Rev. 1.12.0
NXP Semiconductors
Extension Setup

Extension setup functions. More...

Overview

Extension setup functions.

+ Collaboration diagram for Extension Setup:

Files

file  erpc_setup_extensions.h
 

Typedefs

typedef void * erpc_call_timer_cb_default_t
 

Functions

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. More...
 
void erpc_deinit_call_progress_detection_default (void)
 This function is used for deinitialization variables for task freeze detection.
 
bool erpc_is_call_in_progress_default (void)
 This function returns default eRPC call progress status. More...
 
void erpc_reset_in_progress_state_default (void)
 This function resets eRPC state. More...
 

Function Documentation

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.

Parameters
[in]erpc_call_timer_cbCallback function called when eRPC call freeze. When NULL default callback will be used.
[in]waitTimeMsPlatform specific time to throw error cb in case of eRPC call freeze in [ms].
bool erpc_is_call_in_progress_default ( void  )

This function returns default eRPC call progress status.

Returns
True if eRPC call is in progress, otherwise False.
void erpc_reset_in_progress_state_default ( void  )

This function resets eRPC state.

Can be used when user reinitialize communication between client and server.