Generate 10us single pulse triggered by software
Hello,
I would like to generate a 10us wide single pulse using the hardware Timer 1 peripheral that can be triggered by software. Currently, I am setting a pin as GPIO output and manually setting the pin high and low. I was wondering if there was an option with hardware timers. Can some one guide me on how to achieve this with CubeMX and HAL library. Thanks
For example
while(1)
{
HAL_Delay(1000);
Send_Pulse();
}
