mirror of https://github.com/ARMmbed/mbed-os.git
QSPI: document use of QSPI_NO_INST
Add comments to functions that can take a qspi_inst_t about the value that will cause the instruction phase to be skipped entirely.pull/11691/head
parent
ea3ead0349
commit
27dc79af08
|
@ -151,7 +151,7 @@ public:
|
|||
|
||||
/** Read from QSPI peripheral using custom read instruction, alt values
|
||||
*
|
||||
* @param instruction Instruction value to be used in instruction phase
|
||||
* @param instruction Instruction value to be used in instruction phase. Use QSPI_NO_INST to skip the instruction phase
|
||||
* @param alt Alt value to be used in Alternate-byte phase. Use -1 for ignoring Alternate-byte phase
|
||||
* @param address Address to be accessed in QSPI peripheral
|
||||
* @param rx_buffer Buffer for data to be read from the peripheral
|
||||
|
@ -164,7 +164,7 @@ public:
|
|||
|
||||
/** Write to QSPI peripheral using custom write instruction, alt values
|
||||
*
|
||||
* @param instruction Instruction value to be used in instruction phase
|
||||
* @param instruction Instruction value to be used in instruction phase. Use QSPI_NO_INST to skip the instruction phase
|
||||
* @param alt Alt value to be used in Alternate-byte phase. Use -1 for ignoring Alternate-byte phase
|
||||
* @param address Address to be accessed in QSPI peripheral
|
||||
* @param tx_buffer Buffer containing data to be sent to peripheral
|
||||
|
@ -177,7 +177,7 @@ public:
|
|||
|
||||
/** Perform a transaction to write to an address(a control register) and get the status results
|
||||
*
|
||||
* @param instruction Instruction value to be used in instruction phase
|
||||
* @param instruction Instruction value to be used in instruction phase. Use QSPI_NO_INST to skip the instruction phase
|
||||
* @param address Some instruction might require address. Use -1 if no address
|
||||
* @param tx_buffer Buffer containing data to be sent to peripheral
|
||||
* @param tx_length Pointer to a variable containing the length of data to be transmitted, and on return this variable will be updated with the actual number of bytes written
|
||||
|
|
Loading…
Reference in New Issue