mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[spi] added comment about buffer length requirements for stm32
This commit is contained in:
committed by
Felix Ruess
parent
4f9ae2a74b
commit
1a15a4e34c
@@ -135,6 +135,9 @@ typedef void (*SPICallback)( struct spi_transaction *trans );
|
||||
* of the two specifies the toal number of exchanged bytes,
|
||||
* - if input_length is larger than output length,
|
||||
* 0 is sent for the remaining bytes
|
||||
* WARNING: For STM32 only, the output_buf size MUST be greater than or equal
|
||||
* to the input_buf size. This is only required in the event any transaction
|
||||
* has (0 < output_length < input_length).
|
||||
*/
|
||||
struct spi_transaction {
|
||||
volatile uint8_t* input_buf;
|
||||
|
||||
Reference in New Issue
Block a user