Skip to main content
BRoge
Associate
February 27, 2019
Solved

"HAL_UART_Transmit_DMA(...)" without HTIE (Half transfer interrupt enable)

  • February 27, 2019
  • 2 replies
  • 1415 views

Is there a HAL method that allows you to easily set a transmit DMA interrupt like "HAL_UART_Transmit_DMA(...)" but without setting the half transfer interrupt routine? Since the Tx buffer is full when this is enabled, I can expect the DMA to start transmitting right away, so I was wondering if there is a HAL method to disable the HTIE before starting the DMA.

This topic has been closed for replies.
Best answer by S.Ma

Nope, manually disable unwanted interrupts, hal hack needed.

2 replies

S.Ma
S.MaBest answer
Principal
February 27, 2019

Nope, manually disable unwanted interrupts, hal hack needed.

BRoge
BRogeAuthor
Associate
February 27, 2019

Darn, ok thanks for letting me know. I think I'll just copy the function and modify it to my needs in a different .c file.