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
@@ -31,7 +31,10 @@ struct stm32_usart_t {
USART_TypeDef* USARTx;
GPIO_TypeDef* GPIOx;
const LL_GPIO_InitTypeDef* pinInit;
// USART IRQ
IRQn_Type IRQn;
uint8_t IRQ_Prio;
// TX DMA defs
DMA_TypeDef* DMAx;