====== Doxygen Tips ====== ===== Referring function parameters in a description ===== /** * @brief divide one number by another one. * * @note Parameter ~~codedoc:@p divisor~~ must not be 0! * * @param[in] dividend The first number. * @param[in] divisor The second number. * * @return The quotient. */ double divide( double dividend, double divisor ) { return dividend / divisor; } ===== Referring other struct fields in a description ===== typedef struct { int valid; ///< Indicates if ~~codedoc:#my_data~~ is valid. int my_data; ///< My data, only valid if ~~codedoc:#valid~~ is != 0. }; ---- --- //Martin Burnicki [[martin.burnicki@burnicki.net]] 2019-04-26//