@@ -95,6 +95,9 @@ typedef pio_hw_t *PIO;
95
95
96
96
/** \brief PIO Configuration structure
97
97
* \ingroup sm_config
98
+ *
99
+ * This structure is an in-memory representation of the configuration that can be applied to a PIO
100
+ * state machine later using pio_sm_set_config() or pio_sm_init().
98
101
*/
99
102
typedef struct {
100
103
uint32_t clkdiv ;
@@ -902,7 +905,7 @@ static inline void pio_sm_set_wrap(PIO pio, uint sm, uint wrap_target, uint wrap
902
905
}
903
906
904
907
/*! \brief Set the current 'out' pins for a state machine
905
- * \ingroup sm_config
908
+ * \ingroup hardware_pio
906
909
*
907
910
* Can overlap with the 'in', 'set' and 'sideset' pins
908
911
*
@@ -923,7 +926,7 @@ static inline void pio_sm_set_out_pins(PIO pio, uint sm, uint out_base, uint out
923
926
924
927
925
928
/*! \brief Set the current 'set' pins for a state machine
926
- * \ingroup sm_config
929
+ * \ingroup hardware_pio
927
930
*
928
931
* Can overlap with the 'in', 'out' and 'sideset' pins
929
932
*
@@ -943,7 +946,7 @@ static inline void pio_sm_set_set_pins(PIO pio, uint sm, uint set_base, uint set
943
946
}
944
947
945
948
/*! \brief Set the current 'in' pins for a state machine
946
- * \ingroup sm_config
949
+ * \ingroup hardware_pio
947
950
*
948
951
* Can overlap with the 'out', 'set' and 'sideset' pins
949
952
*
@@ -960,7 +963,7 @@ static inline void pio_sm_set_in_pins(PIO pio, uint sm, uint in_base) {
960
963
}
961
964
962
965
/*! \brief Set the current 'sideset' pins for a state machine
963
- * \ingroup sm_config
966
+ * \ingroup hardware_pio
964
967
*
965
968
* Can overlap with the 'in', 'out' and 'set' pins
966
969
*
0 commit comments