boards/samr30-xpro: add notes on peripheral definition

This commit is contained in:
Juergen Fitschen 2020-05-23 13:45:48 +02:00
parent b13a4d6c9c
commit a9305e47f7

View File

@ -85,7 +85,7 @@ static const uart_conf_t uart_config[] = {
* @{ * @{
*/ */
static const spi_conf_t spi_config[] = { static const spi_conf_t spi_config[] = {
{ { /* Internal AT86RF212B */
.dev = &(SERCOM4->SPI), .dev = &(SERCOM4->SPI),
.miso_pin = GPIO_PIN(PC, 19), .miso_pin = GPIO_PIN(PC, 19),
.mosi_pin = GPIO_PIN(PB, 30), .mosi_pin = GPIO_PIN(PB, 30),
@ -107,7 +107,7 @@ static const spi_conf_t spi_config[] = {
* @{ * @{
*/ */
static const i2c_conf_t i2c_config[] = { static const i2c_conf_t i2c_config[] = {
{ { /* EXT1 & EXT3 Pin Header */
.dev = &(SERCOM1->I2CM), .dev = &(SERCOM1->I2CM),
.speed = I2C_SPEED_NORMAL, .speed = I2C_SPEED_NORMAL,
.scl_pin = GPIO_PIN(PA, 17), .scl_pin = GPIO_PIN(PA, 17),