Skip to main content
Associate III
April 12, 2024
Question

usb using in stm32h743zi

when i connected usb connector in stm32h743zi,  that time what function working usb connector and if i remove usb connector then what function going to usb connector ,give me that function i remove usb

This topic has been closed for replies.

2 replies

AScha.3
Super User
April 12, 2024

I suppose from your writing, you want to know, how to get the info: usb no more connected ...?

Look/search for : APPLICATION_DISCONNECT , then do ...whatever you want to ->

 

 

 

 

 

if (Appli_state == APPLICATION_DISCONNECT) .....

 

 

 

If you feel a post has answered your question, please click on " Best Answer ".
ST Technical Moderator
April 12, 2024

Hello @SITARAM 

You may need to develop more your question. In my understanding, you may have asked about the USB device states : Attached, powered, configured .. Check the user manual UM1734_STM32Cube.book to learn more.

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL