NXP LPC LWIP port documentation  v1.10
LWIP port for LPC devices
C:/dev/git/lwip_work/lpc43xx/lwip_lpc/nxpcommon/examples/lpc18xx_43xx/lpc43xx/hitex4350/hitex4350_common/hitex4350_board.c File Reference

Board specific functions for the HITEX4350 board. More...

#include "lpc43xx_gpio.h"
#include "lpc43xx_scu.h"
#include "lpc_board.h"
#include "lpc_emac_config.h"
#define EMAC_HIGHSLEW_INPUT   (MD_EHS | MD_PLN | MD_EZI | MD_ZI)
#define EMAC_HIGHSLEW_OUTPUT   (MD_EHS | MD_PLN | MD_ZI)
#define EMAC_INPUT   (MD_PLN | MD_EZI)
#define EMAC_OUTPUT   (MD_PLN)
#define LED_GPIO_PORT_USED   (7)
 GPIO port used for LED control on the HITEX1850 board.
#define RED_GPIO_PIN_BIT   (5)
 GPIO bit used for LED control on the HITEX1850 board.
#define GREEN_GPIO_PIN_BIT   (6)
#define BLUE_GPIO_PIN_BIT   (8)
#define DEFAULT_COLOR_PIN_BIT   RED_GPIO_PIN_BIT
void led_set (s32_t state)
 Set the HITEX1850 module red LED to an on or off state.
void board_setup (void)
 Setup HITEX1850 board for LWIP examples.
void board_get_macaddr (u8_t *macaddr)
 Populates the MAC address for the board.

Detailed Description

Board specific functions for the HITEX4350 board.

Version:
1.0
Date:
20. Nov. 2011
Author:
NXP MCU SW Application Team

Copyright(C) 2011, NXP Semiconductor All rights reserved.

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.


Function Documentation

void board_get_macaddr ( u8_t *  macaddr)

Populates the MAC address for the board.

This function sets the MAC address used for the HITEX1850 board. Although this can be replaced with something more capable, it simply uses a hard-coded MAC address for this example.

void board_setup ( void  )

Setup HITEX1850 board for LWIP examples.

Setup EA1788 board for LWIP examples.

This function sets up the LED and ethernet pin muxing for the LPC4350 as used on the HITEX1850 board.

void led_set ( s32_t  state)

Set the HITEX1850 module red LED to an on or off state.

Set the EA1788 module red LED to an on or off state.

This function sets the LED to an on or off state for the board. See CTOUT2.

Parameters:
[in]stateNew LED state, 0 = off, !0 = on