bus.c File Reference

Initialization functions for the 8051 bus. More...

#include "banked.h"
#include "cc2430_sfr.h"
#include "dev/bus.h"
#include "sys/clock.h"

Go to the source code of this file.

Functions

void flash_read (uint8_t *buf, uint32_t address, uint8_t size) __banked
 Read a block of code memory.

Detailed Description

Initialization functions for the 8051 bus.

Author:
Adam Dunkels <adam@sics.se>

Definition in file bus.c.


Function Documentation

void flash_read ( uint8_t *  buf,
uint32_t  address,
uint8_t  size 
)

Read a block of code memory.

The code must be placed in the lowest bank of flash.

Parameters:
address address to read from flash
buffer buffer to store data
size number of bytes to read

Definition at line 69 of file bus.c.

References DISABLE_INTERRUPTS.


Generated on Mon Apr 11 14:23:49 2011 for Contiki 2.5 by  doxygen 1.6.1