Expand description
Component for CDC-ACM over USB support.
This provides a component for using the CDC-ACM driver. This allows for serial communication over USB.
§Usage
static STRINGS: &'static [&str; 3] = &[
"XYZ Corp.", // Manufacturer
"The Zorpinator", // Product
"Serial No. 5", // Serial number
];
let cdc_acm = components::cdc::CdcAcmComponent::new(
&nrf52::usbd::USBD,
capsules_extra::usb::usbc_client::MAX_CTRL_PACKET_SIZE_NRF52840,
0x2341,
0x005a,
STRINGS)
.finalize(components::cdc_acm_component_static!(nrf52::usbd::Usbd));