diff options
Diffstat (limited to 'chip/stm32/usart-stm32l5.h')
-rw-r--r-- | chip/stm32/usart-stm32l5.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chip/stm32/usart-stm32l5.h b/chip/stm32/usart-stm32l5.h new file mode 100644 index 0000000000..564ffbc580 --- /dev/null +++ b/chip/stm32/usart-stm32l5.h @@ -0,0 +1,19 @@ +/* Copyright 2021 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ +#ifndef __CROS_EC_USART_STM32L5_H +#define __CROS_EC_USART_STM32L5_H + +#include "usart.h" + +/* + * The STM32L5 series can have as many as four UARTS. These are the HW configs + * for those UARTS. They can be used to initialize STM32 generic UART configs. + */ +extern struct usart_hw_config const usart1_hw; +extern struct usart_hw_config const usart2_hw; +extern struct usart_hw_config const usart3_hw; +extern struct usart_hw_config const usart4_hw; + +#endif /* __CROS_EC_USART_STM32L5_H */ |