After putting data into STM32 USART register DR, data is being transfered and interrupt occurs(TXE,TXC). NVIC jumps into my IrqHandler code. How to set this same interrupt by software(and run IrqHandler), without inserting data into DR.
I have software CTS/RTS handling in my IrqHandler. I would like to have all tranmission management inside interrupt routine. Send function will be only used to prepare SendBuffer
and byteIndex
for transmission.
IrqHandler
... \$\endgroup\$