STM32 W25Qxx QuadSPI Driver  0.1a
https://github.com/Crazy-Geeks/STM32-W25Q-QSPI
Functions
Register Functions

Operations with Status Registers. More...

Functions

W25Q_STATE W25Q_EnableVolatileSR (void)
 W25Q Enable Volatile SR Makes status register volatile (temporary) More...
 
W25Q_STATE W25Q_ReadStatusReg (u8_t *reg_data, u8_t reg_num)
 W25Q Read Status Register Read one status register. More...
 
W25Q_STATE W25Q_WriteStatusReg (u8_t reg_data, u8_t reg_num)
 W25Q Write Status Register Write one status register. More...
 
W25Q_STATE W25Q_ReadStatusStruct (W25Q_STATUS_REG *status)
 W25Q Read Status Registers Read all status registers to struct. More...
 
W25Q_STATE W25Q_IsBusy (void)
 W25Q Check Busy flag Fast checking Busy flag. More...
 

Detailed Description

Operations with Status Registers.

Function Documentation

◆ W25Q_EnableVolatileSR()

W25Q_STATE W25Q_EnableVolatileSR ( void  )

W25Q Enable Volatile SR Makes status register volatile (temporary)

Make Status Register Volatile.

Attention
Func in development
Parameters
none
Returns
W25Q_STATE enum

◆ W25Q_IsBusy()

W25Q_STATE W25Q_IsBusy ( void  )

W25Q Check Busy flag Fast checking Busy flag.

Check chip's busy status.

Parameters
none
Returns
W25Q_STATE enum (W25Q_OK / W25Q_BUSY)

◆ W25Q_ReadStatusReg()

W25Q_STATE W25Q_ReadStatusReg ( u8_t reg_data,
u8_t  reg_num 
)

W25Q Read Status Register Read one status register.

Read status register to variable.

Parameters
[out]reg_data1 byte
[in]reg_numDesired register 1..3
Returns
W25Q_STATE enum

◆ W25Q_ReadStatusStruct()

W25Q_STATE W25Q_ReadStatusStruct ( W25Q_STATUS_REG status)

W25Q Read Status Registers Read all status registers to struct.

Read all status registers to struct.

Parameters
[out]statusW25Q_STATUS_REG Pointer
Returns
W25Q_STATE enum

◆ W25Q_WriteStatusReg()

W25Q_STATE W25Q_WriteStatusReg ( u8_t  reg_data,
u8_t  reg_num 
)

W25Q Write Status Register Write one status register.

Write status register from variable.

Parameters
[in]reg_data1 byte
[in]reg_numDesired register 1..3
Returns
W25Q_STATE enum