Peripheral MCU configuration for SAM4S Xplained pro.  
More...
Peripheral MCU configuration for SAM4S Xplained pro. 
- Author
 - Dylan Laduranty dylan.nosp@m..lad.nosp@m.urant.nosp@m.y@me.nosp@m.sotic.nosp@m..com 
 
Definition in file periph_conf.h.
#include "periph_cpu.h"
Go to the source code of this file.
 | 
| 
#define  | CLOCK_SCLK_XTAL   (1) | 
|   | Enable external oscillator for driving the slow clock. 
  | 
|   | 
 | 
| 
#define  | CLOCK_CORECLOCK   MHZ(120) | 
|   | 
| 
#define  | CLOCK_EXT_OSC   MHZ(12) | 
|   | 
| 
#define  | CLOCK_PLL_MUL   (9) | 
|   | 
| 
#define  | CLOCK_PLL_DIV   (1) | 
|   | 
| 
#define  | CLOCK_FWS   (5)         /* 5 is safe for 120 MHz */ | 
|   | 
◆ timer_config
Initial value:= {
    { .dev = TC0, .id_ch0 = ID_TC0 },
    { .dev = TC1, .id_ch0 = ID_TC3 }
}
 
Definition at line 53 of file periph_conf.h.
 
 
◆ uart_config
Initial value:= {
    {
        .pmc_id = ID_UART1,
    }
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
 
#define UART1
UART1 register bank.
 
@ GPIO_MUX_A
select peripheral function A
 
 
Definition at line 68 of file periph_conf.h.