spi: Fixing documentation for groups of macros

Group macros documentation properly.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2021-11-17 09:50:36 +01:00 committed by Carles Cufí
commit 2cf6c8061e
2 changed files with 22 additions and 7 deletions

View file

@ -14,13 +14,15 @@
*/
/**
* @brief SPI duplex mode
* @name SPI duplex mode
* @{
*
* Some controllers support half duplex transfer, which results in 3-wire usage.
* By default, full duplex will prevail.
*/
#define SPI_FULL_DUPLEX (0U << 11)
#define SPI_HALF_DUPLEX (1U << 11)
/** @} */
/**
* @}