pub type nrf_cc3xx_platform_mutex_init_fn_t = Option<unsafe extern "C" fn(mutex: *mut nrf_cc3xx_platform_mutex_t)>;
Expand description

Type definition of function pointer to initialize a mutex

Calling this function pointer should initialize a previously uninitialized mutex or do nothing if the mutex is already initialized.

@note Initialization may not imply memory allocation, as this can be done using static allocation through other APIs in the RTOS.

  • mutex - Pointer to a mutex to initialize.