Contiki 2.5
Functions
bus.h File Reference

    A brief description of what this file is.
More...

#include "cc2430_sfr.h"
#include "8051def.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. More...
 

Detailed Description

    A brief description of what this file is.
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file bus.h.

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
addressaddress to read from flash
bufferbuffer to store data
sizenumber of bytes to read

Definition at line 69 of file bus.c.

References DISABLE_INTERRUPTS.