mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-19 03:23:49 +01:00
28 lines
569 B
C
28 lines
569 B
C
/*
|
|
* SPDX-FileCopyrightText: 2014 Freie Universität Berlin
|
|
* SPDX-FileCopyrightText: 2014 PHYTEC Messtechnik GmbH
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
/**
|
|
* @ingroup boards_frdm-k64f
|
|
* @{
|
|
*
|
|
* @file
|
|
* @brief Board specific implementations for the FRDM-K64F
|
|
*
|
|
* @author Johann Fischer <j.fischer@phytec.de>
|
|
*
|
|
* @}
|
|
*/
|
|
|
|
#include "board.h"
|
|
#include "periph/gpio.h"
|
|
|
|
void board_init(void)
|
|
{
|
|
/* RMII RXCLK pin configuration */
|
|
SIM->SCGC5 |= SIM_SCGC5_PORTA_MASK;
|
|
PORTA->PCR[18] &= ~(PORT_PCR_ISF_MASK | PORT_PCR_MUX(0x07));
|
|
}
|