23 #ifndef ARDUINO_BOARD_H
24 #define ARDUINO_BOARD_H
36 #define ARDUINO_LED (20)
83 #define ARDUINO_PWM_FREQU (15625U)
89 { .pin = 3, .dev =
PWM_DEV(0), .chan = 0 },
90 { .pin = 5, .dev =
PWM_DEV(0), .chan = 1 },
91 { .pin = 6, .dev =
PWM_DEV(0), .chan = 2 },
92 { .pin = 9, .dev =
PWM_DEV(0), .chan = 3 },
93 { .pin = 20, .dev =
PWM_DEV(1), .chan = 0 },
94 { .pin = 21, .dev =
PWM_DEV(1), .chan = 1 },
95 { .pin = 22, .dev =
PWM_DEV(1), .chan = 2 },
96 { .pin = 23, .dev =
PWM_DEV(1), .chan = 3 },
uint_fast8_t adc_t
Define default ADC type identifier.
#define PWM_DEV(x)
Default PWM access macro.
Low-level PWM peripheral driver interface definitions.
static const arduino_pwm_t arduino_pwm_list[]
List of PWM GPIO mappings.
static const adc_t arduino_analog_map[]
Look-up table for the Arduino's analog pins.
static const gpio_t arduino_pinmap[]
Look-up table for the Arduino's digital pins.
Mapping from MCU pins to Arduino pins.