docs: fix driver sphinx warnings

This commit is contained in:
Michael (XIAO Xufeng)
2022-11-24 15:54:44 +08:00
parent daa4af1b1f
commit 0fcd384677
4 changed files with 6 additions and 9 deletions
@@ -15,10 +15,9 @@
extern "C" {
#endif
/**
* @brief Type of RMT encoder
*/
/** @cond */
typedef struct rmt_encoder_t rmt_encoder_t;
/** @endcond */
/**
* @brief RMT encoding state
@@ -45,7 +45,9 @@ extern "C"
#define SPI_DEVICE_DDRCLK (1<<7)
#define SPI_DEVICE_NO_RETURN_RESULT (1<<8) ///< Don't return the descriptor to the host on completion (use post_cb to notify instead)
/** @cond */
typedef struct spi_transaction_t spi_transaction_t;
/** @endcond */
typedef void(*transaction_cb_t)(spi_transaction_t *trans);
/**
@@ -25,7 +25,9 @@ extern "C"
#define SPI_SLAVE_BIT_LSBFIRST (SPI_SLAVE_TXBIT_LSBFIRST|SPI_SLAVE_RXBIT_LSBFIRST) ///< Transmit and receive LSB first
#define SPI_SLAVE_NO_RETURN_RESULT (1<<2) ///< Don't return the descriptor to the host on completion (use `post_trans_cb` to notify instead)
/** @cond */
typedef struct spi_slave_transaction_t spi_slave_transaction_t;
/** @endcond */
typedef void(*slave_transaction_cb_t)(spi_slave_transaction_t *trans);
/**