mirror of
https://gitea.osmocom.org/sim-card/simtrace2.git
synced 2026-03-17 21:58:33 +03:00
dynamically dispatch USART IRQs
The different modes (configurations) will have different interrupt handlers, so we need to dispatch them via config_func_ptrs
This commit is contained in:
@@ -106,6 +106,9 @@ extern void CCID_run( void );
|
||||
extern void mode_cardemu_run(void);
|
||||
extern void MITM_run( void );
|
||||
|
||||
extern void mode_cardemu_usart0_irq(void);
|
||||
extern void mode_cardemu_usart1_irq(void);
|
||||
|
||||
/* Timer helper function */
|
||||
void Timer_Init( void );
|
||||
void TC0_Counter_Reset( void );
|
||||
|
||||
Reference in New Issue
Block a user