static void udi_cdc_comm_disable_common(uint8_t port) { #if UDI_CDC_PORT_NB == 1 udi_cdc_running[0] = false; UDI_CDC_DISABLE_EXT(); #else udi_cdc_running[port] = false; UDI_CDC_DISABLE_EXT(port); #endif }
void udi_cdc_data_disable(void) { uint8_t port; Assert(udi_cdc_nb_data_enabled != 0); udi_cdc_nb_data_enabled--; port = udi_cdc_nb_data_enabled; UDI_CDC_DISABLE_EXT(port); udi_cdc_data_running = false; }
void udi_cdc_comm_disable(void) { udi_cdc_running = false; UDI_CDC_DISABLE_EXT(); }
void udi_cdc_comm_disable(void) { UDI_CDC_DISABLE_EXT(); }