doc: use @name for doxygen groups

This commit is contained in:
Sebastian Meiling 2020-01-28 15:46:09 +01:00
parent 2eae1952f7
commit 91cff05a15

View File

@ -96,7 +96,7 @@ typedef enum {
#define SPI_MODE_SEL(pol, pha) ((pol << 3) | (pha << 2)) #define SPI_MODE_SEL(pol, pha) ((pol << 3) | (pha << 2))
/** /**
* @brief Override the SPI mode values * @name Override the SPI mode values
* *
* As the mode is set in bit 3 and 2 of the configuration register, we put the * As the mode is set in bit 3 and 2 of the configuration register, we put the
* correct configuration there * correct configuration there
@ -120,7 +120,7 @@ typedef enum {
#define SPI_CLK_SEL(s2x, pr1, pr0) ((s2x << 2) | (pr1 << 1) | pr0) #define SPI_CLK_SEL(s2x, pr1, pr0) ((s2x << 2) | (pr1 << 1) | pr0)
/** /**
* @brief Override SPI speed values * @name Override SPI speed values
* *
* We assume a master clock speed of 16MHz here. * We assume a master clock speed of 16MHz here.
* @{ * @{
@ -134,10 +134,10 @@ typedef enum {
SPI_CLK_10MHZ = SPI_CLK_SEL(1, 0, 0) /**< 16/2 -> 8MHz */ SPI_CLK_10MHZ = SPI_CLK_SEL(1, 0, 0) /**< 16/2 -> 8MHz */
} spi_clk_t; } spi_clk_t;
/** @} */ /** @} */
#endif /* ndef DOXYGEN */ #endif /* ifndef DOXYGEN */
/** /**
* @brief Bitmasks indicating which are the possible dividers for a timer * @name Bitmasks indicating which are the possible dividers for a timer
* @{ * @{
*/ */
typedef enum { typedef enum {
@ -147,7 +147,7 @@ typedef enum {
/** @} */ /** @} */
/** /**
* @brief PWM configuration * @name PWM configuration
* @{ * @{
*/ */
typedef struct { typedef struct {