1/* @TAG(CUSTOM) *//** 2 * \file beaglebone.h 3 * 4 * \brief This file contains prototype declarations of functions which 5 * performs EVM configurations. 6 */ 7 8/* 9* Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 10*/ 11/* 12* Redistribution and use in source and binary forms, with or without 13* modification, are permitted provided that the following conditions 14* are met: 15* 16* Redistributions of source code must retain the above copyright 17* notice, this list of conditions and the following disclaimer. 18* 19* Redistributions in binary form must reproduce the above copyright 20* notice, this list of conditions and the following disclaimer in the 21* documentation and/or other materials provided with the 22* distribution. 23* 24* Neither the name of Texas Instruments Incorporated nor the names of 25* its contributors may be used to endorse or promote products derived 26* from this software without specific prior written permission. 27* 28* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 29* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 30* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 31* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 32* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 33* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 34* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 35* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 36* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 37* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 38* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 39* 40*/ 41 42#pragma once 43 44#ifdef __cplusplus 45extern "C" { 46#endif 47 48 /***************************************************************************** 49 ** FUNCTION PROTOTYPES 50 *****************************************************************************/ 51 extern void GPIO1ModuleClkConfig(void); 52 extern void GPIO1Pin23PinMuxSetup(void); 53 extern void GPIO0ModuleClkConfig(void); 54 extern void UART0ModuleClkConfig(void); 55 extern void UARTPinMuxSetup(unsigned int instanceNum); 56 extern void CPSWPinMuxSetup(void); 57 extern void CPSWClkEnable(void); 58 extern unsigned int RTCRevisionInfoGet(void); 59 extern void EDMAModuleClkConfig(void); 60 extern void EVMMACAddrGet(unsigned int addrIdx, unsigned char *macAddr); 61 extern void WatchdogTimer1ModuleClkConfig(void); 62 extern void DMTimer2ModuleClkConfig(void); 63 extern void DMTimer3ModuleClkConfig(void); 64 extern void DMTimer4ModuleClkConfig(void); 65 extern void DMTimer7ModuleClkConfig(void); 66 extern void EVMPortMIIModeSelect(void); 67 extern void RTCModuleClkConfig(void); 68 extern void HSMMCSDModuleClkConfig(void); 69 extern void HSMMCSDPinMuxSetup(void); 70 extern void I2C0ModuleClkConfig(void); 71 extern void I2C1ModuleClkConfig(void); 72 extern void I2CPinMuxSetup(unsigned int instance); 73 extern void GpioPinMuxSetup(unsigned int offsetAddr, 74 unsigned int padConfValue); 75 76#ifdef __cplusplus 77} 78#endif 79 80 81/******************************** End of file *******************************/ 82