Go to the documentation of this file.
19 #ifndef ARDUINO_BOARD_H
20 #define ARDUINO_BOARD_H
33 #define ARDUINO_LED (13)
38 #define ARDUINO_UART_DEV UART_DEV(0)
152 #define ARDUINO_PWM_FREQU (732U)
158 { .pin = 20, .dev =
PWM_DEV(0), .chan = 0 },
159 { .pin = 29, .dev =
PWM_DEV(0), .chan = 1 },
160 { .pin = 11, .dev =
PWM_DEV(1), .chan = 0 },
161 { .pin = 13, .dev =
PWM_DEV(1), .chan = 1 },
162 { .pin = 14, .dev =
PWM_DEV(1), .chan = 2 },
unsigned int adc_t
Define default ADC type identifier.
Low-level ADC peripheral driver interface definitions.
#define PWM_DEV(x)
Default PWM access macro.
static const gpio_t arduino_pinmap[]
Look-up table for the Arduino's digital pins.
#define ADC_LINE(x)
Default ADC line access macro.
static const arduino_pwm_t arduino_pwm_list[]
List of PWM GPIO mappings.
Low-level GPIO peripheral driver interface definitions.
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Low-level PWM peripheral driver interface definitions.
static const adc_t arduino_analog_map[]
Look-up table for the Arduino's analog pins.