@@ -65,7 +65,7 @@ class I2sSlaveDuplex {
6565 public:
6666 I2sSlaveDuplex (/* args */ ) = delete ;
6767 /* *
68- * @brief Construct a new Duplex Slave I 2 S object
68+ * @brief Construct a new Duplex Slave I2S object
6969 *
7070 * @param sdk SDK wrapper class injection.
7171 * @param pio PIO to use.
@@ -74,22 +74,28 @@ class I2sSlaveDuplex {
7474 * The state machine number is not specified in this constructor.
7575 * Internally, the state machine will be allocate from the unused one.
7676 *
77+ * This constructor just registers the given parameters and allocated state
78+ * machine to the internal parameters. And then, claim the state machine. No
79+ * other processing will be done.
7780 */
7881 I2sSlaveDuplex (::rpp_driver::SdkWrapper &sdk, PIO pio, uint pin_base);
7982 /* *
80- * @brief Construct a new Duplex Slave I 2 S object
83+ * @brief Construct a new Duplex Slave I2S object
8184 *
8285 * @param sdk SDK wrapper class injection.
8386 * @param pio PIO to use.
8487 * @param sm State machine to use.
8588 * @param pin_base The GPIO pin number of SDOUT signal.
8689 * @details
90+ * This constructor just registers the given parameters to the internal
91+ * parameters. And then, claim the state machine. No other processing will be
92+ * done.
8793 */
8894 I2sSlaveDuplex (::rpp_driver::SdkWrapper &sdk, PIO pio, uint32_t sm,
8995 uint pin_base);
9096
9197 /* *
92- * @brief Stop the state machine and make FIFO empty .
98+ * @brief Unclaim the state machine. No actual processing .
9399 */
94100 ~I2sSlaveDuplex ();
95101
0 commit comments