Peripheral MCU configuration for Arduino Due based boards.  
More...
#include "periph_cpu.h"
Go to the source code of this file.
|  | 
| WarningMany (older?) arduino-due boards do not have the external 32khz oscillator soldered on, so only enable this after you make sure its equipped on your specific board 
 | 
| #define | CLOCK_SCLK_XTAL   (0) | 
|  | 
◆ CLOCK_CORECLOCK
      
        
          | #define CLOCK_CORECLOCK   (84000000UL) | 
      
 
 
◆ CLOCK_EXT_OSC
      
        
          | #define CLOCK_EXT_OSC   (12000000UL) | 
      
 
 
◆ CLOCK_FWS
      
        
          | #define CLOCK_FWS   (4)         /* 4 is save for 84MHz */ | 
      
 
 
◆ CLOCK_PLL_DIV
      
        
          | #define CLOCK_PLL_DIV   (12) | 
      
 
 
◆ CLOCK_PLL_MUL
      
        
          | #define CLOCK_PLL_MUL   (83) | 
      
 
 
◆ CLOCK_SCLK_XTAL
      
        
          | #define CLOCK_SCLK_XTAL   (0) | 
      
 
 
◆ PWM_CHAN_NUMOF
◆ PWM_NUMOF
◆ RTT_FREQUENCY
      
        
          | #define RTT_FREQUENCY   (1U)        /* 1Hz */ | 
      
 
 
◆ SPI_NUMOF
◆ TIMER_0_ISR
      
        
          | #define TIMER_0_ISR   isr_tc0 | 
      
 
 
◆ TIMER_1_ISR
      
        
          | #define TIMER_1_ISR   isr_tc3 | 
      
 
 
◆ TIMER_NUMOF
◆ UART_0_ISR
      
        
          | #define UART_0_ISR   isr_uart | 
      
 
 
◆ UART_1_ISR
      
        
          | #define UART_1_ISR   isr_usart0 | 
      
 
 
◆ UART_2_ISR
      
        
          | #define UART_2_ISR   isr_usart1 | 
      
 
 
◆ UART_3_ISR
      
        
          | #define UART_3_ISR   isr_usart3 | 
      
 
 
◆ UART_NUMOF
◆ pwm_chan
Initial value:= {
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition at line 151 of file periph_conf.h.
 
 
◆ spi_config
Initial value:= {
    {
        .dev   = SPI0,
        .id    = ID_SPI0,
    }
}
@ GPIO_MUX_A
select peripheral function A
Definition at line 133 of file periph_conf.h.
 
 
◆ timer_config
Initial value:= {
    { .dev = TC0, .id_ch0 = ID_TC0 },
    { .dev = TC1, .id_ch0 = ID_TC3 }
}
Definition at line 61 of file periph_conf.h.
 
 
◆ uart_config