STM32 W25Qxx QuadSPI Driver
0.1a
https://github.com/Crazy-Geeks/STM32-W25Q-QSPI
|
Program/write operations - single data type variables or raw 8-bit blocks. More...
Functions | |
W25Q_STATE | W25Q_SetBurstWrap (u8_t WrapSize) |
W25Q Burst Wrap settings. More... | |
W25Q_STATE | W25Q_ProgramSByte (i8_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Signed Byte Program signed 8-bit byte variable. More... | |
W25Q_STATE | W25Q_ProgramByte (u8_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Unsigned Byte Program unsigned 8-bit byte vairable. More... | |
W25Q_STATE | W25Q_ProgramSWord (i16_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Signed Word Program signed 16-bit word vairable. More... | |
W25Q_STATE | W25Q_ProgramWord (u16_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Unsigned Word Program unsigned 16-bit word vairable. More... | |
W25Q_STATE | W25Q_ProgramSLong (i32_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Signed Long Program signed 32-bit long vairable. More... | |
W25Q_STATE | W25Q_ProgramLong (u32_t buf, u8_t pageShift, u32_t pageNum) |
W25Q Program single Unigned Long Program unsigned 32-bit long vairable. More... | |
W25Q_STATE | W25Q_ProgramData (u8_t *buf, u16_t len, u8_t pageShift, u32_t pageNum) |
W25Q Program any 8-bit data Program any 8-bit data to preffered page place. More... | |
W25Q_STATE | W25Q_ProgramRaw (u8_t *buf, u16_t data_len, u32_t rawAddr) |
W25Q Program any 8-bit data to raw addr Program any 8-bit data to preffered chip address. More... | |
Program/write operations - single data type variables or raw 8-bit blocks.
W25Q_STATE W25Q_ProgramByte | ( | u8_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Unsigned Byte Program unsigned 8-bit byte vairable.
Program 8-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..254) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramData | ( | u8_t * | buf, |
u16_t | len, | ||
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program any 8-bit data Program any 8-bit data to preffered page place.
Program any 8-bit data.
[in] | buf | Pointer to data to be written (single or array) |
[in] | len | Length of data (1..256) |
[in] | pageShift | Byte shift inside page (0..255 - len) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramLong | ( | u32_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Unigned Long Program unsigned 32-bit long vairable.
Program 32-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..251) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramRaw | ( | u8_t * | buf, |
u16_t | data_len, | ||
u32_t | rawAddr | ||
) |
W25Q Program any 8-bit data to raw addr Program any 8-bit data to preffered chip address.
Program data to raw addr.
[in] | buf | Pointer to data to be written (single or array) |
[in] | data_len | Length of data (1..256) |
[in] | rawAddr | Start address of chip's cell |
W25Q_STATE W25Q_ProgramSByte | ( | i8_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Signed Byte Program signed 8-bit byte variable.
Program signed 8-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..254) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramSLong | ( | i32_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Signed Long Program signed 32-bit long vairable.
Program signed 32-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..251) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramSWord | ( | i16_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Signed Word Program signed 16-bit word vairable.
Program signed 16-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..253) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_ProgramWord | ( | u16_t | buf, |
u8_t | pageShift, | ||
u32_t | pageNum | ||
) |
W25Q Program single Unsigned Word Program unsigned 16-bit word vairable.
Program 16-bit variable.
[in] | buf | Data to be written (single) |
[in] | pageShift | Byte shift inside page (0..253) |
[in] | pageNum | Page number (0..PAGE_COUNT) |
W25Q_STATE W25Q_SetBurstWrap | ( | u8_t | WrapSize | ) |
W25Q Burst Wrap settings.
Set Burst with Wrap.
[in] | WrapSize | Wrap size: 8/16/32/64 / 0 - disable |