mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'doc/calarify_transmitted_symbols' into 'master'
rmt: clarify num_symbols in the tx done event data Closes IDFGH-9026 See merge request espressif/esp-idf!21807
This commit is contained in:
commit
781eb0c2ce
@ -34,7 +34,8 @@ typedef struct rmt_encoder_t *rmt_encoder_handle_t;
|
||||
* @brief Type of RMT TX done event data
|
||||
*/
|
||||
typedef struct {
|
||||
size_t num_symbols; /*!< The number of transmitted RMT symbols (only one round is counted if it's a loop transmission) */
|
||||
size_t num_symbols; /*!< The number of transmitted RMT symbols, including one EOF symbol, which is appended by the driver to mark the end of a transmission.
|
||||
For a loop transmission, this value only counts for one round. */
|
||||
} rmt_tx_done_event_data_t;
|
||||
|
||||
/**
|
||||
|
@ -187,7 +187,7 @@ In the callback function, users can fetch the event specific data that is filled
|
||||
|
||||
The TX done event data is defined in :cpp:type:`rmt_tx_done_event_data_t`:
|
||||
|
||||
- :cpp:member:`rmt_tx_done_event_data_t::num_symbols` tells the number of transmitted RMT symbols. This also reflects the size of encoding artifacts.
|
||||
- :cpp:member:`rmt_tx_done_event_data_t::num_symbols` tells the number of transmitted RMT symbols. This also reflects the size of encoding artifacts. Please note, this value will count in the EOF symbol as well, which is appended by the driver, to mark the end of one transaction.
|
||||
|
||||
The RX complete event data is defined in :cpp:type:`rmt_rx_done_event_data_t`:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user