SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Public Attributes | List of all members
spi_nor_info Struct Reference

#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.
 

Member Data Documentation

◆ address_length

uint8_t spi_nor_info::address_length

Length of the address field in the command (in bytes).

◆ blksz

uint32_t spi_nor_info::blksz

Block size of the SPI NOR Flash (in bytes).

◆ capacity

uint32_t spi_nor_info::capacity

Total capacity of the SPI NOR Flash (in bytes).

◆ id

uint32_t spi_nor_info::id

Unique device ID for the SPI NOR Flash (manufacturer and model).

◆ name

char* spi_nor_info::name

Name of the SPI NOR Flash device (e.g., "MX25L12835E").

◆ opcode_erase_256k

uint8_t spi_nor_info::opcode_erase_256k

Opcode to erase a 256K block of the SPI NOR Flash.

◆ opcode_erase_32k

uint8_t spi_nor_info::opcode_erase_32k

Opcode to erase a 32K block of the SPI NOR Flash.

◆ opcode_erase_4k

uint8_t spi_nor_info::opcode_erase_4k

Opcode to erase a 4K block of the SPI NOR Flash.

◆ opcode_erase_64k

uint8_t spi_nor_info::opcode_erase_64k

Opcode to erase a 64K block of the SPI NOR Flash.

◆ opcode_read

uint8_t spi_nor_info::opcode_read

Opcode for the read operation.

◆ opcode_write

uint8_t spi_nor_info::opcode_write

Opcode for the write operation.

◆ opcode_write_enable

uint8_t spi_nor_info::opcode_write_enable

Opcode to enable write operations on the SPI NOR Flash.

◆ read_granularity

uint32_t spi_nor_info::read_granularity

Read granularity, smallest read unit (in bytes).

◆ write_granularity

uint32_t spi_nor_info::write_granularity

Write granularity, smallest write unit (in bytes).


The documentation for this struct was generated from the following file: