/* * Copyright (C) 2014 Freie Universität Berlin * * 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 board_iot-lab_M3 * @{ * * @file board.c * @brief Board specific implementations for the iot-lab_M3 board * * @author Thomas Eichinger APB2ENR |= RCC_APB2ENR_IOPBEN; GPIOB->CRL = (0x3 << (5*4)); /* orange pin */ RCC->APB2ENR |= RCC_APB2ENR_IOPCEN; GPIOC->CRH = (0x3 << ((10-8)*4)); /* red pin */ RCC->APB2ENR |= RCC_APB2ENR_IOPDEN; GPIOD->CRL = (0x3 << (2*4)); }