mirror of https://github.com/ARMmbed/mbed-os.git
QSPI: fix command declaration names
parent
10e7b5f6d0
commit
a3c8117b0e
|
@ -71,24 +71,24 @@ typedef enum qspi_alt_size {
|
||||||
* Defines a frame format
|
* Defines a frame format
|
||||||
*/
|
*/
|
||||||
typedef struct qspi_command {
|
typedef struct qspi_command {
|
||||||
struct instruction {
|
struct {
|
||||||
qspi_bus_width_t bus_width; /**< Bus width for the instruction >*/
|
qspi_bus_width_t bus_width; /**< Bus width for the instruction >*/
|
||||||
uint8_t value; /**< Instruction value >*/
|
uint8_t value; /**< Instruction value >*/
|
||||||
};
|
} instruction;
|
||||||
struct address {
|
struct {
|
||||||
qspi_bus_width_t bus_width; /**< Bus width for the address >*/
|
qspi_bus_width_t bus_width; /**< Bus width for the address >*/
|
||||||
qspi_address_size_t size; /**< Address size >*/
|
qspi_address_size_t size; /**< Address size >*/
|
||||||
uint32_t value; /**< Address value >*/
|
uint32_t value; /**< Address value >*/
|
||||||
};
|
} address;
|
||||||
struct alt {
|
struct {
|
||||||
qspi_bus_width_t bus_width; /**< Bus width for alternative >*/
|
qspi_bus_width_t bus_width; /**< Bus width for alternative >*/
|
||||||
qspi_alt_size_t size; /**< Alternative size >*/
|
qspi_alt_size_t size; /**< Alternative size >*/
|
||||||
uint32_t value; /**< Alternative, 0 - disabled, non-zero defined value used >*/
|
uint32_t value; /**< Alternative, 0 - disabled, non-zero defined value used >*/
|
||||||
};
|
} alt;
|
||||||
uint8_t dummy_count; /**< Dummy cycles count >*/
|
uint8_t dummy_count; /**< Dummy cycles count >*/
|
||||||
struct data {
|
struct {
|
||||||
qspi_bus_width_t bus_width; /**< Bus width for data >*/
|
qspi_bus_width_t bus_width; /**< Bus width for data >*/
|
||||||
};
|
} data;
|
||||||
} qspi_command_t;
|
} qspi_command_t;
|
||||||
|
|
||||||
/** QSPI return status
|
/** QSPI return status
|
||||||
|
|
Loading…
Reference in New Issue