blob: cb1364568ce61e41a375c2c47612c534796f6643 [file] [log] [blame]
* $Id: scu.c 8242 2011-10-11 15:15:25Z nxp28536 $
* Project: LPC43xx Common
* Description:
* This file contains code to configure the PINMUX
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* products. This software is supplied "AS IS" without any warranties.
* NXP Semiconductors assumes no responsibility or liability for the
* use of the software, conveys no license or title under any patent,
* copyright, or mask work right to the product. NXP Semiconductors
* reserves the right to make changes in the software without
* notification. NXP Semiconductors also make no representation or
* warranty that such application will be suitable for the specified
* use without further testing or modification.
#if defined CORE_M4
#include "LPC43xx.h" /* LPC43xx definitions */
#ifdef CORE_M0
#include "LPC43xx_M0.h" /* LPC43xx definitions */
#include "type.h"
#include "scu.h"
void scu_pinmux(unsigned port, unsigned pin, unsigned mode, unsigned func)
volatile unsigned int * const scu_base=(unsigned int*)(LPC_SCU_BASE);
} /* scu_pinmux */