Nut/OS  5.0.5
API Reference
lisa.c File Reference
#include <arch/cm3.h>
#include <inttypes.h>
#include <sys/timer.h>
#include <arch/cm3/nxp/lpc177x_8x_clk.h>
#include <arch/cm3/nxp/lpc177x_8x_emc.h>
#include <dev/gpio.h>
#include <dev/sdram.h>
#include <sys/heap.h>
Include dependency graph for lisa.c:

Defines

#define SDRAM_BASE_ADDR   0xA0000000
#define SDRAM_SIZE   0x00200000

Functions

void NutBoardInit (void)
 Early LISA hardware initialization. Especialy SD-RAM.
void NutIdleInit (void)
 Extended system initialisation. Add sdram memory to the available memory.

Define Documentation

#define SDRAM_BASE_ADDR   0xA0000000
#define SDRAM_SIZE   0x00200000

Function Documentation

void NutBoardInit ( void  )

Early LISA hardware initialization. Especialy SD-RAM.

Early AT91SAM7X-EK hardware initialization.

This routine is called during system initalization.

References GPIO_CFG_INPUT, GPIO_CFG_OUTPUT, GPIO_CFG_PERIPHERAL0, GPIO_CFG_PERIPHERAL1, GPIO_CFG_PULLDOWN, GPIO_CFG_PULLUP, GPIO_CFG_REPEATER, GpioPinConfigSet(), GpioPinSetHigh, GpioPinSetLow, Lpc177x_8x_EmcInit(), Lpc177x_8x_EmcSDRAMInit(), NUTGPIO_PORT1, NUTGPIO_PORT2, NUTGPIO_PORT3, and NUTGPIO_PORT4.

Referenced by NutInit().

Here is the call graph for this function:

void NutIdleInit ( void  )

Extended system initialisation. Add sdram memory to the available memory.

Late Gameboy Advance hardware initialization.

This routine is called during system initialisation right before the idle thread is created. We will use it to add the SDRAM memory space to out heap.

References _sdram_params::base_addr, Lpc177x_8x_EmcSDRAMCheck(), NULL, NutHeapAdd, NutTimerStart(), and _sdram_params::size.

Referenced by NutIdle().

Here is the call graph for this function: