dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_flash_priv.h File Reference
#include <stdint.h>
#include "pios_flash.h"

Go to the source code of this file.

Data Structures

struct  pios_flash_driver
 
struct  pios_flash_sector_range
 
struct  pios_flash_chip
 
struct  pios_flash_partition
 

Macros

#define FLASH_SECTOR_1KB   ( 1 * 1024)
 
#define FLASH_SECTOR_2KB   ( 2 * 1024)
 
#define FLASH_SECTOR_4KB   ( 4 * 1024)
 
#define FLASH_SECTOR_8KB   ( 8 * 1024)
 
#define FLASH_SECTOR_16KB   ( 16 * 1024)
 
#define FLASH_SECTOR_32KB   ( 32 * 1024)
 
#define FLASH_SECTOR_64KB   ( 64 * 1024)
 
#define FLASH_SECTOR_128KB   (128 * 1024)
 

Functions

void PIOS_FLASH_register_partition_table (const struct pios_flash_partition partition_table[], uint8_t num_partitions)
 
void PIOS_FLASH_fixup_partitions_for_capacity (struct pios_flash_partition *partition_table, uint8_t partition_table_len, const struct pios_flash_chip *descriptor, struct pios_flash_sector_range *sectors, uint32_t num_bytes)
 

Detailed Description

Author
Tau Labs, http://taulabs.org, Copyright (C) 2013

Definition in file pios_flash_priv.h.