USB CDC Add to tx block
This block supports USB Device CDC FS/HS interface on STM microcontrollers.

Contents
- Block parameters for USB FS and HS interface
- Explain output „Status”
- Settings for STM32H7 USB FS and HS
Block parameters for USB FS and HS interface
- USB type – switch between USB FS and HS
- Receive mode – (only support Binary mode)
- Header settings->Hex format – supports hex format of header
- Frame repeat – frame repeat counter (if 0 send once)
- Input data->Input data type – (only support auto data type)
- Input data->Enable input length – enable length definied by input
- Input data->Input length – length of input data (Enable input length->Disabled)
- Header/Terminator->Enable Header/Terminator – anable add header and terminator to frame
- Header/Terminator->Hex Header/Terminator format – supports hex format of header and terminator
- Header/Terminator->Header – header of frame (e.g. ‘START’ in non hex format and e.g ‘0x53 0x54 0x41 0x52 0x54’ for hex format of header
- Header/Terminator->Header length – length of hex header in bytes (only for hex format enabled)
- Terminator settings->Header – terminator of frame (e.g. ‘END’ in non hex format and e.g ‘0x45 0x4E 0x44’ for hex format of terminator
- Header/Terminator->erminator length – length of hex header in bytes (only for hex format enabled)
- Timeout – timeout in ms

Explain output „Status”
- Status „0” – Add to buff error
- Status „1” – Add to buff OK
Settings for STM32H7 USB FS and HS
- Set USB CDC Setup block first