Question
Detect USB connections
Hi,
We using the USB port on the STM32H7B0 (100pins) and he is configurated as a serial port (VCP).
The USB communication works fine but we would detect the follow statuses:
- When our USB plug is unplugged or not.
- When we have opened or not the serial port from a external serial terminal program.
How we can do this?
Using STM32IDE V 1.16.1
H7 Library V1.11.2
