mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-core.git
synced 2025-06-10 16:55:58 +00:00
Added docstring to STA_DEBUG_READ
This commit is contained in:
parent
d4f03a9249
commit
5155c30196
@ -15,16 +15,16 @@ namespace sta
|
||||
/**
|
||||
* @brief Debug print message.
|
||||
*
|
||||
* @param ... See @ref sta::PrintableUART::print
|
||||
* @param ... See @ref sta::Printable::print
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
# define STA_DEBUG_PRINT(...) sta::Debug->print(__VA_ARGS__)
|
||||
|
||||
/**
|
||||
* @brief Debug print message followed by new-line to UART.
|
||||
* @brief Debug print message followed by new-line to the printable.
|
||||
*
|
||||
* @param ... See @ref sta::PrintableUART::println
|
||||
* @param ... See @ref sta::Printable::println
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*/
|
||||
@ -33,11 +33,19 @@ namespace sta
|
||||
/**
|
||||
* @brief Formatted debug printing with new-line.
|
||||
*
|
||||
* @param fmt See @ref sta::PrintableUART::printf
|
||||
* @param ... See @ref sta::PrintableUART::printf
|
||||
* @param fmt See @ref sta::Printable::printf
|
||||
* @param ... See @ref sta::Printable::printf
|
||||
*/
|
||||
# define STA_DEBUG_PRINTF(fmt, ...) sta::Debug->printf(fmt, __VA_ARGS__)
|
||||
|
||||
/**
|
||||
* @brief Read string via printable.
|
||||
*
|
||||
* @param ... See @ref sta::Printable::read
|
||||
*
|
||||
* @ingroup sta_core_debug
|
||||
*
|
||||
*/
|
||||
# define STA_DEBUG_READ(buffer, length) sta::Debug->read(buffer, length)
|
||||
|
||||
#else // !STA_DEBUGGING_ENABLED
|
||||
|
Loading…
x
Reference in New Issue
Block a user