Loading...
Searching...
No Matches
cfg_usbdev_default.h File Reference

Default usbdev configuration for SODAQ boards. More...

Detailed Description

Default usbdev configuration for SODAQ boards.

Author
Kees Bakker kees@.nosp@m.soda.nosp@m.q.com

Definition in file cfg_usbdev_default.h.

#include <stdint.h>
#include "cpu.h"
#include "periph_cpu.h"
+ Include dependency graph for cfg_usbdev_default.h:

Go to the source code of this file.

USB peripheral configuration

static const sam0_common_usb_config_t sam_usbdev_config []
 

Variable Documentation

◆ sam_usbdev_config

const sam0_common_usb_config_t sam_usbdev_config[]
static
Initial value:
= {
{
.dm = GPIO_PIN(PA, 24),
.dp = GPIO_PIN(PA, 25),
.d_mux = GPIO_MUX_G,
.device = &USB->DEVICE,
.gclk_src = SAM0_GCLK_MAIN,
}
}
#define GPIO_PIN(x, y)
Define a CPU specific GPIO pin generator macro.
Definition periph_cpu.h:46
@ PA
port A
@ GPIO_MUX_G
select peripheral function G
#define SAM0_GCLK_MAIN
120 MHz main clock
Definition periph_cpu.h:74

Definition at line 35 of file cfg_usbdev_default.h.