Hi everyone,
In the file header "app_usbd_cdc_acm.h" I notice this function:
/**
* @brief Helper function to get class instance from CDC ACM class.
*
* @param[in] p_cdc_acm CDC ACM class instance (defined by @ref APP_USBD_CDC_ACM_GLOBAL_DEF).
*
* @return Base class instance.
*/
static inline app_usbd_class_inst_t const *
app_usbd_cdc_acm_class_inst_get(app_usbd_cdc_acm_t const * p_cdc_acm)
{
return &p_cdc_acm->base;
}
What does it means " Base class instance"? What's a base class instance? I don't understand what the function is defined for.
Can anyone help me?
BR