STM32 W25Qxx QuadSPI Driver
0.1a
https://github.com/Crazy-Geeks/STM32-W25Q-QSPI
|
No writing! Protect block or whole chip. More...
Functions | |
W25Q_STATE | W25Q_BlockReadOnly (u32_t Addr, bool enable) |
W25Q 4K Block lock Set read-only status to 4K block. More... | |
W25Q_STATE | W25Q_BlockReadOnlyCheck (bool *state, u32_t Addr) |
W25Q 4K Block lock CHECK Check read-only status from 4K block. More... | |
W25Q_STATE | W25Q_GlobalReadOnly (bool enable) |
W25Q Global read-only lock Set read-only status to the whole chip. More... | |
No writing! Protect block or whole chip.
W25Q_STATE W25Q_BlockReadOnly | ( | u32_t | Addr, |
bool | enable | ||
) |
W25Q 4K Block lock Set read-only status to 4K block.
Individual block/sector read-only lock.
[in] | Addr | Block address |
[in] | enable | 1-Enable/0-Disable |
W25Q_STATE W25Q_BlockReadOnlyCheck | ( | bool * | state, |
u32_t | Addr | ||
) |
W25Q 4K Block lock CHECK Check read-only status from 4K block.
Check block's/sector's read-only lock status.
[out] | state | Block read-only status (1-locked/0-unlocked) |
[in] | Addr | Block address |
W25Q_STATE W25Q_GlobalReadOnly | ( | bool | enable | ) |
W25Q Global read-only lock Set read-only status to the whole chip.
Set read-only param to all chip.
[in] | enable | 1-enable/0-disable |