/* * Copyright (C) 2016 Kees Bakker, SODAQ * * This file is subject to the terms and conditions of the GNU Lesser * General Public License v2.1. See the file LICENSE in the top level * directory for more details. */ /** * @ingroup boards_common_sodaq * @{ * * @file * @brief Default usbdev configuration for SODAQ boards * * @author Kees Bakker */ #ifndef CFG_USBDEV_DEFAULT_H #define CFG_USBDEV_DEFAULT_H #include #include "cpu.h" #include "periph_cpu.h" #ifdef __cplusplus extern "C" { #endif /** * @name USB peripheral configuration * @{ */ static const sam0_common_usb_config_t sam_usbdev_config[] = { { .dm = GPIO_PIN(PA, 24), .dp = GPIO_PIN(PA, 25), .d_mux = GPIO_MUX_G, .device = &USB->DEVICE, .gclk_src = SAM0_GCLK_MAIN, } }; /** @} */ #ifdef __cplusplus } #endif #endif /* CFG_USBDEV_DEFAULT_H */ /** @} */