Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions include/drivers/bflash.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@
#define F_FLASH_LOGIC_5V 0x0400
/** @} */

/** \defgroup prog_method_flags Flash chip programming algorithm flags
@{
*/
#define F_FLASH_UNKNOWN_PM 0x0000
#define F_FLASH_DATAPOLLING_PM 0x0001
#define F_FLASH_REGPOLLING_PM 0x0002
/** @} */


/**
* \brief Flash chip manufacturer info
*/
Expand All @@ -92,6 +101,7 @@ typedef struct bflash_dev {
uint16 page_size; /* Bytes */
uint16 sec_count;
uint32 *sectors;
uint16 prog_mode;
} bflash_dev_t;

/**
Expand Down
Loading