mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-11-09 01:53:10 +03:00
cardem: set more reasonable interrupt priorities
the ISO7816 UARTs have highest priority, while console has lowest. remaining sources (USB, ADC, GPIO) are in between. Change-Id: Ie6c97d61d8da3990b6e44144f36cb6d37d194307
This commit is contained in:
1 parent
8680677256
commit
039680a8d4
3 files changed
+7
-1
No files matched your search
@@ -100,6 +100,7 @@ extern void UART_Configure( uint32_t baudrate, uint32_t masterClock)
|
||||
|
||||
/* Enable TX interrupts */
|
||||
pUart->UART_IER = UART_IER_TXRDY;
|
||||
NVIC_SetPriority(CONSOLE_IRQ, 15); /* lowest priority */
|
||||
NVIC_EnableIRQ(CONSOLE_IRQ);
|
||||
|
||||
/* Enable receiver and transmitter */
|
||||
|
||||
Reference in new issue
Block a user