iSensor-SPI-Buffer  1.15
Firmware for the iSensor-SPI-Buffer board to enable full throughput buffered data capture on Analog Devices IMUs
Macros
flash.h File Reference

Header file for iSensor-SPI-Buffer flash memory interfacing functions. More...

#include <stdint.h>
Include dependency graph for flash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FLASH_REG_ADDR   0x08040000
 
#define FLASH_ERROR_ADDR   0x0803F800
 
#define ERROR_NONE   0
 
#define ERROR_INIT   (1 << 0)
 
#define ERROR_HARDFAULT   (1 << 1)
 
#define ERROR_MEM   (1 << 2)
 
#define ERROR_BUS   (1 << 3)
 
#define ERROR_USAGE   (1 << 4)
 

Detailed Description

Header file for iSensor-SPI-Buffer flash memory interfacing functions.

Copyright (c) Analog Devices Inc, 2020 All Rights Reserved.

Date
4/24/2020
Author
A. Nolan (alex..nosp@m.nola.nosp@m.n@ana.nosp@m.log..nosp@m.com)

Macro Definition Documentation

◆ ERROR_BUS

#define ERROR_BUS   (1 << 3)

Bus fault exception

◆ ERROR_HARDFAULT

#define ERROR_HARDFAULT   (1 << 1)

Hard fault exception

◆ ERROR_INIT

#define ERROR_INIT   (1 << 0)

Initialization error (in application firmware)

◆ ERROR_MEM

#define ERROR_MEM   (1 << 2)

Memory access exception

◆ ERROR_NONE

#define ERROR_NONE   0

No error

◆ ERROR_USAGE

#define ERROR_USAGE   (1 << 4)

Usage fault exception

◆ FLASH_ERROR_ADDR

#define FLASH_ERROR_ADDR   0x0803F800

Address for flash error logging (page prior to FLASH_REG_ADDR)

◆ FLASH_REG_ADDR

#define FLASH_REG_ADDR   0x08040000

Address for flash register storage (starts 256KB down in flash, program starts at 0)