summaryrefslogtreecommitdiff
path: root/chip/stm32/usart-stm32f0.h
blob: f87d0dc59056c509f8dcc630c27f9ba472022740 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* Copyright (c) 2014 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 CHIP_STM32_USART_STM32F0_H
#define CHIP_STM32_USART_STM32F0_H

#include "usart.h"

#define STM32_USARTS_MAX 4

/*
 * The STM32F0 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 /* CHIP_STM32_USART_STM32F0_H */