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.
|
|
◆ CLOCK_CORECLOCK
#define CLOCK_CORECLOCK MHZ(120) |
◆ CLOCK_EXT_OSC
#define CLOCK_EXT_OSC MHZ(12) |
◆ CLOCK_FWS
#define CLOCK_FWS (5) /* 5 is safe for 120 MHz */ |
◆ CLOCK_PLL_DIV
#define CLOCK_PLL_DIV (1) |
◆ CLOCK_PLL_MUL
#define CLOCK_PLL_MUL (9) |
◆ CLOCK_SCLK_XTAL
#define CLOCK_SCLK_XTAL (1) |
Enable external oscillator for driving the slow clock.
Definition at line 51 of file periph_conf.h.
◆ TIMER_0_ISR
#define TIMER_0_ISR isr_tc0 |
◆ TIMER_1_ISR
#define TIMER_1_ISR isr_tc3 |
◆ TIMER_NUMOF
◆ UART_0_ISR
◆ UART_NUMOF
◆ timer_config
Initial value:= {
{ .dev = TC0, .id_ch0 = ID_TC0 },
{ .dev = TC1, .id_ch0 = ID_TC3 }
}
Definition at line 57 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 72 of file periph_conf.h.