Arduino library to support the Quad-SPI NOR Flash memory MX25R6435F.
MX25R6435FClass: class constructor
begin: initialize memory interface
end: de-initialize memory interface
write(uint8_t, uint32_t): write a single byte to the memory
Params byte to be written
Params memory address where write the byte
Return number of byte written. 0 indicates a failure.
write(uint8_t*, uint32_t, uint32_t): write an amount of data to the memory
Params pointer to byte(s) to be written
Params memory starting address
Params number of bytes to write
Return number of byte written. 0 indicates a failure.
read(uint32_t): read a single byte
Params memory address
Return the byte read
read(uint8_t*, uint32_t, uint32_t): read an amount of data from the memory
Params pointer to byte(s) to be read
Params memory starting address
Params number of bytes to read
mapped: configure the memory in mapped mode
Return pointer to memory
erase(uint32_t): erase a block of the memory
Params the address of the block to erase
Return memory status
eraseChip: erase the entire memory
Return memory status
eraseSector(uint32_t): erase a sector of the memory. This function is non blocking meaning that sector erase operation is started but not completed when the function returns. Application has to call status() to know when the device is available again (i.e. erase operation completed).
Params the address of the sector to erase
Return memory status
suspendErase: suspend an ongoing eraseSector command
Return memory status
resumeErase: resume a paused eraseSector command
Return memory status
sleep: enter the memory in deep power down mode
Return memory status
wakeup: leave the memory from deep power down mode
Return memory status
status: read the current memory status
Return memory status
info(memory_info_t): read the memory configuration
Params the parameter to read. Must be a memory_info_t value (MEMORY_SIZE, MEMORY_SECTOR_SIZE, MEMORY_SECTOR_NUMBER, MEMORY_PAGE_SIZE or MEMORY_PAGE_NUMBER)
Return the parameter value
length: read the total size of the memory
Return memory size
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4