Configurable IRQ prio and read first in ISR

This commit is contained in:
Raphael Coeffic
2022-03-20 16:22:14 +01:00
parent fa3389447c
commit 5c21dee2fa
6 changed files with 23 additions and 13 deletions
@@ -78,6 +78,7 @@ static const stm32_usart_t intmoduleUSART = {
.GPIOx = INTMODULE_GPIO,
.pinInit = &intmoduleUSART_PinDef,
.IRQn = INTMODULE_USART_IRQn,
.IRQ_Prio = INTMODULE_USART_IRQ_PRIORITY,
.DMAx = INTMODULE_DMA,
.DMA_Stream = INTMODULE_DMA_STREAM_LL,
.DMA_Channel = INTMODULE_DMA_CHANNEL,