Go to the documentation of this file.
21 #ifndef ARDUINO_BOARD_H
22 #define ARDUINO_BOARD_H
34 #define ARDUINO_LED (13)
77 #define ARDUINO_PWM_FREQU (732U)
83 { .pin = 3, .dev =
PWM_DEV(0), .chan = 1 },
84 { .pin = 4, .dev =
PWM_DEV(0), .chan = 0 },
85 { .pin = 8, .dev =
PWM_DEV(1), .chan = 0 },
86 { .pin = 9, .dev =
PWM_DEV(1), .chan = 1 },
unsigned int adc_t
Define default ADC type identifier.
Mapping from MCU pins to Arduino pins.
static const gpio_t arduino_pinmap[]
Look-up table for the Arduino's digital pins.
#define PWM_DEV(x)
Default PWM access macro.
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.
Low-level PWM peripheral driver interface definitions.