dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_flash_jedec_priv.h File Reference

Driver for talking to most JEDEC flash chips. More...

#include "pios_flash.h"

Go to the source code of this file.

Data Structures

struct  pios_flash_jedec_cfg
 

Macros

#define JEDEC_MANUFACTURER_ANY   0x00
 
#define JEDEC_MANUFACTURER_ST   0x20
 
#define JEDEC_MANUFACTURER_MACRONIX   0xC2
 
#define JEDEC_MANUFACTURER_WINBOND   0xEF
 
#define JEDEC_MANUFACTURER_SPANSION   0x01
 
#define JEDEC_MANUFACTURER_MICRON   0x20
 
#define JEDEC_MEMORYTYPE_ANY   0x00
 

Functions

int32_t PIOS_Flash_Jedec_Init (uintptr_t *flash_id, pios_spi_t spi_id, uint32_t slave_num, const struct pios_flash_jedec_cfg *cfg)
 
int32_t PIOS_Flash_Jedec_ReadOTPData (uintptr_t chip_id, uint32_t chip_offset, uint8_t *data, uint16_t len)
 
uint32_t PIOS_Flash_Jedec_GetCapacity (uintptr_t chip_id)
 

Variables

const struct pios_flash_driver pios_jedec_flash_driver
 

Detailed Description

Driver for talking to most JEDEC flash chips.

Author
The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
See Also
The GNU Public License (GPL) Version 3

Definition in file pios_flash_jedec_priv.h.