Zephyr API
4.4.99
A Scalable Open Source RTOS
Toggle main menu visibility
Loading...
Searching...
No Matches
rts5912_flash_api_ex.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Realtek, SIBG-SD7
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
12
13
#ifndef ZEPHYR_INCLUDE_DRIVERS_FLASH_RTS5912_FLASH_API_EX_H_
14
#define ZEPHYR_INCLUDE_DRIVERS_FLASH_RTS5912_FLASH_API_EX_H_
15
22
26
enum
flash_rts5912_ex_ops
{
36
FLASH_RTS5912_EX_OP_WR_ENABLE
=
FLASH_EX_OP_VENDOR_BASE
,
37
47
FLASH_RTS5912_EX_OP_WR_DISABLE
,
48
58
FLASH_RTS5912_EX_OP_WR_SR
,
59
69
FLASH_RTS5912_EX_OP_WR_SR2
,
70
80
FLASH_RTS5912_EX_OP_RD_SR
,
81
91
FLASH_RTS5912_EX_OP_RD_SR2
,
92
103
FLASH_RTS5912_EX_OP_SET_WP
,
104
116
FLASH_RTS5912_EX_OP_GET_WP
,
117
};
118
122
123
#endif
/* ZEPHYR_INCLUDE_DRIVERS_FLASH_RTS5912_FLASH_API_EX_H_ */
FLASH_EX_OP_VENDOR_BASE
#define FLASH_EX_OP_VENDOR_BASE
Definition
flash.h:735
flash_rts5912_ex_ops
flash_rts5912_ex_ops
Enumeration for Realtek RTS5912 flash extended operations.
Definition
rts5912_flash_api_ex.h:26
FLASH_RTS5912_EX_OP_RD_SR
@ FLASH_RTS5912_EX_OP_RD_SR
Reads the flash Status Register 1 (SR1).
Definition
rts5912_flash_api_ex.h:80
FLASH_RTS5912_EX_OP_SET_WP
@ FLASH_RTS5912_EX_OP_SET_WP
Sets the hardware Write Protect (WP#) pin state.
Definition
rts5912_flash_api_ex.h:103
FLASH_RTS5912_EX_OP_GET_WP
@ FLASH_RTS5912_EX_OP_GET_WP
Gets the hardware Write Protect (WP#) pin state.
Definition
rts5912_flash_api_ex.h:116
FLASH_RTS5912_EX_OP_WR_SR
@ FLASH_RTS5912_EX_OP_WR_SR
Writes to the flash Status Register 1 (SR1).
Definition
rts5912_flash_api_ex.h:58
FLASH_RTS5912_EX_OP_WR_DISABLE
@ FLASH_RTS5912_EX_OP_WR_DISABLE
Sends the Write Disable (WRDI) command to the flash chip.
Definition
rts5912_flash_api_ex.h:47
FLASH_RTS5912_EX_OP_WR_ENABLE
@ FLASH_RTS5912_EX_OP_WR_ENABLE
Sends the Write Enable (WREN) command to the flash chip.
Definition
rts5912_flash_api_ex.h:36
FLASH_RTS5912_EX_OP_RD_SR2
@ FLASH_RTS5912_EX_OP_RD_SR2
Reads the flash Status Register 2 (SR2).
Definition
rts5912_flash_api_ex.h:91
FLASH_RTS5912_EX_OP_WR_SR2
@ FLASH_RTS5912_EX_OP_WR_SR2
Writes to the flash Status Register 2 (SR2).
Definition
rts5912_flash_api_ex.h:69
zephyr
drivers
flash
rts5912_flash_api_ex.h
Generated on
for Zephyr API by
1.17.0