boards/firefly/include/periph_conf.h¶
Peripheral MCU configuration for the Firefly board revision A.
-
I2C_NUMOF
¶ 1
1
-
I2C_0_EN
¶ 1
1
-
I2C_IRQ_PRIO
¶ 1
1
-
I2C_0_DEV
¶ 1
0
-
I2C_0_IRQ
¶ 1
I2C_IRQn
-
I2C_0_IRQ_HANDLER
¶ 1
isr_i2c
-
I2C_0_SCL_PIN
¶ 1
GPIO_PIN(PORT_C, 3)
-
I2C_0_SDA_PIN
¶ 1
GPIO_PIN(PORT_C, 2)
-
const i2c_conf_t
i2c_config
()¶ 1 2 3 4 5 6 7
= { { .speed = I2C_SPEED_FAST, .scl_pin = I2C_0_SCL_PIN, .sda_pin = I2C_0_SDA_PIN, }, }
-
SPI_NUMOF
¶ 1
(sizeof(spi_config) / sizeof(spi_config[0]))
-
const spi_conf_t
spi_config
()¶ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
= { { .num = 0, .mosi_pin = GPIO_PIN(PORT_B, 1), .miso_pin = GPIO_PIN(PORT_B, 3), .sck_pin = GPIO_PIN(PORT_B, 2), .cs_pin = GPIO_UNDEF }, { .num = 1, .mosi_pin = GPIO_PIN(PORT_C, 5), .miso_pin = GPIO_PIN(PORT_C, 6), .sck_pin = GPIO_PIN(PORT_C, 4), .cs_pin = GPIO_PIN(PORT_A, 7) } }
-
SOC_ADC_ADCCON3_EREF
¶ 1
SOC_ADC_ADCCON3_EREF_AVDD5
-
ADC_NUMOF
¶ 1
(sizeof(adc_config) / sizeof(adc_config[0]))
-
const adc_conf_t
adc_config
()¶ 1 2 3 4 5 6
= { GPIO_PIN(PORT_A, 5), GPIO_PIN(PORT_A, 4), GPIO_PIN(PORT_A, 2), }