|
Zephyr API Documentation 4.3.0-rc1
A Scalable Open Source RTOS
|
Extended operations for Realtek RTS5912 flash controller. More...
Files | |
| file | rts5912_flash_api_ex.h |
| Header file for Realtek RTS5912 flash extended operations. | |
Enumerations | |
| enum | flash_rts5912_ex_ops { FLASH_RTS5912_EX_OP_WR_ENABLE = FLASH_EX_OP_VENDOR_BASE , FLASH_RTS5912_EX_OP_WR_DISABLE , FLASH_RTS5912_EX_OP_WR_SR , FLASH_RTS5912_EX_OP_WR_SR2 , FLASH_RTS5912_EX_OP_RD_SR , FLASH_RTS5912_EX_OP_RD_SR2 , FLASH_RTS5912_EX_OP_SET_WP , FLASH_RTS5912_EX_OP_GET_WP } |
| Enumeration for Realtek RTS5912 flash extended operations. More... | |
Extended operations for Realtek RTS5912 flash controller.
| enum flash_rts5912_ex_ops |
#include <zephyr/drivers/flash/rts5912_flash_api_ex.h>
Enumeration for Realtek RTS5912 flash extended operations.
| Enumerator | |||||
|---|---|---|---|---|---|
| FLASH_RTS5912_EX_OP_WR_ENABLE | Sends the Write Enable (WREN) command to the flash chip. This operation sets the Write Enable Latch (WEL) bit in the flash memory's status register, allowing write and erase operations.
| ||||
| FLASH_RTS5912_EX_OP_WR_DISABLE | Sends the Write Disable (WRDI) command to the flash chip. This operation resets the Write Enable Latch (WEL) bit, protecting the memory from being written or erased.
| ||||
| FLASH_RTS5912_EX_OP_WR_SR | Writes to the flash Status Register 1 (SR1). This operation writes a single byte to the main status register.
| ||||
| FLASH_RTS5912_EX_OP_WR_SR2 | Writes to the flash Status Register 2 (SR2). This operation writes a single byte to the second status register.
| ||||
| FLASH_RTS5912_EX_OP_RD_SR | Reads the flash Status Register 1 (SR1). This operation reads a single byte from the main status register.
| ||||
| FLASH_RTS5912_EX_OP_RD_SR2 | Reads the flash Status Register 2 (SR2). This operation reads a single byte from the second status register.
| ||||
| FLASH_RTS5912_EX_OP_SET_WP | Sets the hardware Write Protect (WP#) pin state. This operation controls the controller's hardware WP# pin output.
| ||||
| FLASH_RTS5912_EX_OP_GET_WP | Gets the hardware Write Protect (WP#) pin state. This operation reads the current state of the controller's hardware WP# pin setting.
| ||||