mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
97acaa2402
Sector based on Object ID so could overlap :-(. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2662 ebee16cc-31ac-478f-84a7-5cbb03baadba
17 lines
490 B
C
17 lines
490 B
C
/*
|
|
* pios_flash_w25x.h
|
|
* OpenPilotOSX
|
|
*
|
|
* Created by James Cotton on 1/23/11.
|
|
* Copyright 2011 OpenPilot. All rights reserved.
|
|
*
|
|
*/
|
|
|
|
int8_t PIOS_Flash_W25X_Init();
|
|
uint8_t PIOS_Flash_W25X_ReadStatus();
|
|
uint8_t PIOS_Flash_W25X_ReadID();
|
|
int8_t PIOS_Flash_W25X_EraseChip();
|
|
int8_t PIOS_Flash_W25X_EraseSector(uint32_t add);
|
|
int8_t PIOS_Flash_W25X_WriteData(uint32_t addr, uint8_t * data, uint16_t len);
|
|
int8_t PIOS_Flash_W25X_ReadData(uint32_t addr, uint8_t * data, uint16_t len);
|