24 lines
563 B
C
24 lines
563 B
C
/*
|
|
* Copyright (c) 2018 Google LLC.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef __INC_BOARD_H
|
|
#define __INC_BOARD_H
|
|
|
|
#include <soc.h>
|
|
|
|
#define CONFIG_UART_SAM0_SERCOM0_PADS \
|
|
(SERCOM_USART_CTRLA_RXPO(3) | SERCOM_USART_CTRLA_TXPO(1))
|
|
#define CONFIG_UART_SAM0_SERCOM2_PADS \
|
|
(SERCOM_USART_CTRLA_RXPO(1) | SERCOM_USART_CTRLA_TXPO(0))
|
|
|
|
#define CONFIG_SPI_SAM0_SERCOM0_PADS \
|
|
(SERCOM_SPI_CTRLA_DIPO(0) | SERCOM_SPI_CTRLA_DOPO(1))
|
|
|
|
#define CONFIG_SPI_SAM0_SERCOM1_PADS \
|
|
(SERCOM_SPI_CTRLA_DIPO(2) | SERCOM_SPI_CTRLA_DOPO(0))
|
|
|
|
#endif /* __INC_BOARD_H */
|