Virtual Connectivity Manager Library
cy_vcm_config_t Struct Reference

Description

Virtual-Connectivity-Manager config structure.

Data Fields

cy_vcm_hal_resource_opt_t hal_resource_opt
 This is used to identify the core that should create the HAL resources. More...
 
uint32_t channel_num
 IPC channel number passed by user during initialization (e.g. More...
 
cy_vcm_event_callback_t event_cb
 Callback function which receives the VCM events. More...
 

Field Documentation

◆ hal_resource_opt

cy_vcm_hal_resource_opt_t cy_vcm_config_t::hal_resource_opt

This is used to identify the core that should create the HAL resources.

The core which executes first, should set this value to CY_VCM_CREATE_HAL_RESOURCE and initialize VCM before enabling the other core. The other core should initialize VCM by setting this variable to CY_VCM_USE_HAL_RESOURCE

◆ channel_num

uint32_t cy_vcm_config_t::channel_num

IPC channel number passed by user during initialization (e.g.

CYHAL_IPC_CHAN_0). The channel number which user can use are defined in cyhal_ipc_impl.h

◆ event_cb

cy_vcm_event_callback_t cy_vcm_config_t::event_cb

Callback function which receives the VCM events.

It will be executed in the context of the VCM