Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches

Extended operations for IT51XXX flash controllers. More...

Files

file  it51xxx_flash_api_ex.h
 Header file for IT51XXX extended operations.

Enumerations

enum  flash_it51xxx_ex_op {
  FLASH_IT51XXX_INTERNAL , FLASH_IT51XXX_EXTERNAL_FSPI_CS0 , FLASH_IT51XXX_EXTERNAL_FSPI_CS1 , FLASH_IT51XXX_ADDR_3B ,
  FLASH_IT51XXX_ADDR_4B
}
 Enumeration for IT51XXX flash extended operations. More...

Detailed Description

Extended operations for IT51XXX flash controllers.

Enumeration Type Documentation

◆ flash_it51xxx_ex_op

#include <zephyr/drivers/flash/it51xxx_flash_api_ex.h>

Enumeration for IT51XXX flash extended operations.

Defines which flash device is accessed by IT51XXX flash controller, and the addressing mode for IT51XXX flash operations.

Enumerator
FLASH_IT51XXX_INTERNAL 

Access the internal SPI e-flash.

This operation targets the on-chip embedded SPI flash integrated inside the IT51XXX SoC.

FLASH_IT51XXX_EXTERNAL_FSPI_CS0 

Access the external SPI flash connected to FSPI CS0#.

This operation targets an external flash device connected to the IT51XXX FSPI controller chip select 0.

FLASH_IT51XXX_EXTERNAL_FSPI_CS1 

Access the external SPI flash connected to FSPI CS1#.

This operation targets an external flash device connected to the IT51XXX FSPI controller chip select 1.

FLASH_IT51XXX_ADDR_3B 

3-byte (24-bit) addressing mode.

This mode supports flash devices up to 16MB capacity, using 24-bit address cycles.

FLASH_IT51XXX_ADDR_4B 

4-byte (32-bit) addressing mode.

This mode supports larger flash devices (>16MB capacity), requiring 32-bit address cycles.