xref: /optee_os/core/include/drivers/stm32_serc.h (revision 5d5d7d0b1c038a6836be9f0b38585f5aa6a4dd01)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2022-2025, STMicroelectronics
4  */
5 #ifndef __DRIVERS_STM32_SERC_H__
6 #define __DRIVERS_STM32_SERC_H__
7 
8 /* Helper to print and handle SERC ILACs */
9 #ifdef CFG_STM32_SERC
10 void stm32_serc_handle_ilac(void);
11 #else /* CFG_STM32_SERC */
12 static inline void stm32_serc_handle_ilac(void) { };
13 #endif /* CFG_STM32_SERC */
14 
15 #endif /* __DRIVERS_STM32_SERC_H__ */
16