<< Previous | Next >> | |
|
void * flash_sector2xwindow( FlashDescriptor * fd, word sector );
Description
- This function sets the MB3CR and XPC value so the requested sector falls within the XPC window. The MB3CR is the Memory Interface Unit bank register. XPC is one of four Memory Management Unit registers. See
flash_init
description for restrictions.Parameters
- fd
- The
FlashDescriptor
of the flash memory.
- sector
- The sector to set the XPC window to.
Return value
- The logical offset of the sector.
Library
- FLASH.LIB
See also
- flash_erasechip, flash_erasesector, flash_gettype, flash_init, flash_read, flash_readsector, flash_writesector
Dynamic C Functions | << Previous | Next >> | rabbit.com |