![]() |
SyterKit 0.4.0.x
SyterKit is a bare-metal framework
|
#include <sys-spi-nor.h>
Public Attributes | |
| char * | name |
| Name of the SPI NOR Flash device (e.g., "MX25L12835E"). | |
| uint32_t | id |
| Unique device ID for the SPI NOR Flash (manufacturer and model). | |
| uint32_t | capacity |
| Total capacity of the SPI NOR Flash (in bytes). | |
| uint32_t | blksz |
| Block size of the SPI NOR Flash (in bytes). | |
| uint32_t | read_granularity |
| Read granularity, smallest read unit (in bytes). | |
| uint32_t | write_granularity |
| Write granularity, smallest write unit (in bytes). | |
| uint8_t | address_length |
| Length of the address field in the command (in bytes). | |
| uint8_t | opcode_read |
| Opcode for the read operation. | |
| uint8_t | opcode_write |
| Opcode for the write operation. | |
| uint8_t | opcode_write_enable |
| Opcode to enable write operations on the SPI NOR Flash. | |
| uint8_t | opcode_erase_4k |
| Opcode to erase a 4K block of the SPI NOR Flash. | |
| uint8_t | opcode_erase_32k |
| Opcode to erase a 32K block of the SPI NOR Flash. | |
| uint8_t | opcode_erase_64k |
| Opcode to erase a 64K block of the SPI NOR Flash. | |
| uint8_t | opcode_erase_256k |
| Opcode to erase a 256K block of the SPI NOR Flash. | |
| uint8_t spi_nor_info::address_length |
Length of the address field in the command (in bytes).
| uint32_t spi_nor_info::blksz |
Block size of the SPI NOR Flash (in bytes).
| uint32_t spi_nor_info::capacity |
Total capacity of the SPI NOR Flash (in bytes).
| uint32_t spi_nor_info::id |
Unique device ID for the SPI NOR Flash (manufacturer and model).
| char* spi_nor_info::name |
Name of the SPI NOR Flash device (e.g., "MX25L12835E").
| uint8_t spi_nor_info::opcode_erase_256k |
Opcode to erase a 256K block of the SPI NOR Flash.
| uint8_t spi_nor_info::opcode_erase_32k |
Opcode to erase a 32K block of the SPI NOR Flash.
| uint8_t spi_nor_info::opcode_erase_4k |
Opcode to erase a 4K block of the SPI NOR Flash.
| uint8_t spi_nor_info::opcode_erase_64k |
Opcode to erase a 64K block of the SPI NOR Flash.
| uint8_t spi_nor_info::opcode_read |
Opcode for the read operation.
| uint8_t spi_nor_info::opcode_write |
Opcode for the write operation.
| uint8_t spi_nor_info::opcode_write_enable |
Opcode to enable write operations on the SPI NOR Flash.
| uint32_t spi_nor_info::read_granularity |
Read granularity, smallest read unit (in bytes).
| uint32_t spi_nor_info::write_granularity |
Write granularity, smallest write unit (in bytes).