25 #include "arduino_iomap.h" 
   36 #define ARDUINO_PWM_FREQU        
   38 #  ifndef ARDUINO_PWM_FREQU 
   39 #    define ARDUINO_PWM_FREQU   (490U) 
   60 #ifdef ARDUINO_PIN_0_PWM_DEV 
   61     { .dev = ARDUINO_PIN_0_PWM_DEV, .chan = ARDUINO_PIN_0_PWM_CHAN, .pin = 0 },
 
   63 #ifdef ARDUINO_PIN_1_PWM_DEV 
   64     { .dev = ARDUINO_PIN_1_PWM_DEV, .chan = ARDUINO_PIN_1_PWM_CHAN, .pin = 1 },
 
   66 #ifdef ARDUINO_PIN_2_PWM_DEV 
   69 #ifdef ARDUINO_PIN_3_PWM_DEV 
   72 #ifdef ARDUINO_PIN_4_PWM_DEV 
   75 #ifdef ARDUINO_PIN_5_PWM_DEV 
   78 #ifdef ARDUINO_PIN_6_PWM_DEV 
   81 #ifdef ARDUINO_PIN_7_PWM_DEV 
   84 #ifdef ARDUINO_PIN_8_PWM_DEV 
   87 #ifdef ARDUINO_PIN_9_PWM_DEV 
   90 #ifdef ARDUINO_PIN_10_PWM_DEV 
   93 #ifdef ARDUINO_PIN_11_PWM_DEV 
   96 #ifdef ARDUINO_PIN_12_PWM_DEV 
   97     { .dev = ARDUINO_PIN_12_PWM_DEV, .chan = ARDUINO_PIN_12_PWM_CHAN, .pin = 12 },
 
   99 #ifdef ARDUINO_PIN_13_PWM_DEV 
  100     { .dev = ARDUINO_PIN_13_PWM_DEV, .chan = ARDUINO_PIN_13_PWM_CHAN, .pin = 13 },
 
  102 #ifdef ARDUINO_PIN_14_PWM_DEV 
  105 #ifdef ARDUINO_PIN_15_PWM_DEV 
  108 #ifdef ARDUINO_PIN_16_PWM_DEV 
  111 #ifdef ARDUINO_PIN_17_PWM_DEV 
  112     { .dev = ARDUINO_PIN_17_PWM_DEV, .chan = ARDUINO_PIN_17_PWM_CHAN, .pin = 17 },
 
  114 #ifdef ARDUINO_PIN_18_PWM_DEV 
  115     { .dev = ARDUINO_PIN_18_PWM_DEV, .chan = ARDUINO_PIN_18_PWM_CHAN, .pin = 18 },
 
  117 #ifdef ARDUINO_PIN_19_PWM_DEV 
  118     { .dev = ARDUINO_PIN_19_PWM_DEV, .chan = ARDUINO_PIN_19_PWM_CHAN, .pin = 19 },
 
  120 #ifdef ARDUINO_PIN_20_PWM_DEV 
  121     { .dev = ARDUINO_PIN_20_PWM_DEV, .chan = ARDUINO_PIN_20_PWM_CHAN, .pin = 20 },
 
  123 #ifdef ARDUINO_PIN_21_PWM_DEV 
  124     { .dev = ARDUINO_PIN_21_PWM_DEV, .chan = ARDUINO_PIN_21_PWM_CHAN, .pin = 21 },
 
  126 #ifdef ARDUINO_PIN_22_PWM_DEV 
  127     { .dev = ARDUINO_PIN_22_PWM_DEV, .chan = ARDUINO_PIN_22_PWM_CHAN, .pin = 22 },
 
  129 #ifdef ARDUINO_PIN_23_PWM_DEV 
  130     { .dev = ARDUINO_PIN_23_PWM_DEV, .chan = ARDUINO_PIN_23_PWM_CHAN, .pin = 23 },
 
  132 #ifdef ARDUINO_PIN_24_PWM_DEV 
  133     { .dev = ARDUINO_PIN_24_PWM_DEV, .chan = ARDUINO_PIN_24_PWM_CHAN, .pin = 24 },
 
  135 #ifdef ARDUINO_PIN_25_PWM_DEV 
  136     { .dev = ARDUINO_PIN_25_PWM_DEV, .chan = ARDUINO_PIN_25_PWM_CHAN, .pin = 25 },
 
  138 #ifdef ARDUINO_PIN_26_PWM_DEV 
  139     { .dev = ARDUINO_PIN_26_PWM_DEV, .chan = ARDUINO_PIN_26_PWM_CHAN, .pin = 26 },
 
  141 #ifdef ARDUINO_PIN_27_PWM_DEV 
  142     { .dev = ARDUINO_PIN_27_PWM_DEV, .chan = ARDUINO_PIN_27_PWM_CHAN, .pin = 27 },
 
  144 #ifdef ARDUINO_PIN_28_PWM_DEV 
  145     { .dev = ARDUINO_PIN_28_PWM_DEV, .chan = ARDUINO_PIN_28_PWM_CHAN, .pin = 28 },
 
  147 #ifdef ARDUINO_PIN_29_PWM_DEV 
  148     { .dev = ARDUINO_PIN_29_PWM_DEV, .chan = ARDUINO_PIN_29_PWM_CHAN, .pin = 29 },
 
  150 #ifdef ARDUINO_PIN_30_PWM_DEV 
  151     { .dev = ARDUINO_PIN_30_PWM_DEV, .chan = ARDUINO_PIN_30_PWM_CHAN, .pin = 30 },
 
  153 #ifdef ARDUINO_PIN_31_PWM_DEV 
  154     { .dev = ARDUINO_PIN_31_PWM_DEV, .chan = ARDUINO_PIN_31_PWM_CHAN, .pin = 31 },
 
#define ARDUINO_PIN_9_PWM_DEV
PWM device for Arduino pin 9.
 
#define ARDUINO_PIN_14_PWM_CHAN
PWM channel for Arduino pin 14.
 
#define ARDUINO_PIN_9_PWM_CHAN
PWM channel for Arduino pin 9.
 
#define ARDUINO_PIN_8_PWM_CHAN
PWM channel for Arduino pin 8.
 
#define ARDUINO_PIN_7_PWM_DEV
PWM device for Arduino pin 7.
 
#define ARDUINO_PIN_2_PWM_CHAN
PWM channel for Arduino pin 2.
 
#define ARDUINO_PIN_6_PWM_DEV
PWM device for Arduino pin 6.
 
#define ARDUINO_PIN_3_PWM_CHAN
PWM channel for Arduino pin 3.
 
#define ARDUINO_PIN_15_PWM_CHAN
PWM channel for Arduino pin 15.
 
#define ARDUINO_PIN_3_PWM_DEV
PWM device for Arduino pin 3.
 
#define ARDUINO_PIN_4_PWM_DEV
PWM device for Arduino pin 4.
 
#define ARDUINO_PIN_7_PWM_CHAN
PWM channel for Arduino pin 7.
 
#define ARDUINO_PIN_2_PWM_DEV
PWM device for Arduino pin 2.
 
#define ARDUINO_PIN_5_PWM_CHAN
PWM channel for Arduino pin 5.
 
#define ARDUINO_PIN_8_PWM_DEV
PWM device for Arduino pin 8.
 
#define ARDUINO_PIN_16_PWM_CHAN
PWM channel for Arduino pin 16.
 
#define ARDUINO_PIN_15_PWM_DEV
PWM device for Arduino pin 15.
 
#define ARDUINO_PIN_6_PWM_CHAN
PWM channel for Arduino pin 6.
 
#define ARDUINO_PIN_16_PWM_DEV
PWM device for Arduino pin 16.
 
#define ARDUINO_PIN_4_PWM_CHAN
PWM channel for Arduino pin 4.
 
#define ARDUINO_PIN_5_PWM_DEV
PWM device for Arduino pin 5.
 
#define ARDUINO_PIN_14_PWM_DEV
PWM device for Arduino pin 14.
 
static const arduino_pwm_t arduino_pwm_list[]
List of PWM GPIO mappings.
 
#define ARDUINO_PIN_10_PWM_CHAN
PWM channel for Arduino pin 10.
 
#define ARDUINO_PIN_10_PWM_DEV
PWM device for Arduino pin 10.
 
#define ARDUINO_PIN_11_PWM_CHAN
PWM channel for Arduino pin 11.
 
#define ARDUINO_PIN_11_PWM_DEV
PWM device for Arduino pin 11.
 
Low-level PWM peripheral driver interface definitions.