Initializes the virtual connectivity manager.
This function initializes the VCM resources, and HAL resources(queues) for the user given IPC channel. This function should be called in both cores before calling any virtual APIs.
- Note
- The core which executes first, should initialize VCM before enabling the other core, and should set config.hal_resource_opt to CY_VCM_CREATE_HAL_RESOURCE. The other core should initialize VCM with config.hal_resource_opt set to CY_VCM_USE_HAL_RESOURCE.
- Parameters
-
[in] | config | Pointer to the config structure filled by the user cy_vcm_config_t |
- Returns
- CY_RSLT_SUCCESS if successful; failure code otherwise.