boards/common/arduino-atmega/include/periph_conf.h¶
Common configuration of MCU periphery for Arduino Atmega boards.
-
CLOCK_CORECLOCK
¶ 1
(16000000UL)
-
SPI_NUMOF
¶ 1
1 /* set to 0 to disable SPI */
-
I2C_BUS_SPEED
¶ 1
I2C_SPEED_FAST
-
I2C_NUMOF
¶ 1
1
-
PWM_NUMOF
¶ 1
(sizeof(pwm_conf) / sizeof(pwm_conf[0]))
-
const pwm_conf_t
pwm_conf
()¶ 1 2 3 4 5 6 7 8 9 10 11 12
= { { .dev = MINI_TIMER0, .pin_ch = PWM_PINS_CH0, .div = MINI_TIMER0_DIV, }, { .dev = MINI_TIMER2, .pin_ch = PWM_PINS_CH1, .div = MINI_TIMER2_DIV, } }