This file contains macros that should be implemented according to the needs of the host environment into which nrfx is integrated.
More...
|
| #define | NRFX_LOG_ERROR(format, ...) |
| | Macro for logging a message with the severity level ERROR.
|
| |
| #define | NRFX_LOG_WARNING(format, ...) |
| | Macro for logging a message with the severity level WARNING.
|
| |
| #define | NRFX_LOG_INFO(format, ...) |
| | Macro for logging a message with the severity level INFO.
|
| |
| #define | NRFX_LOG_DEBUG(format, ...) |
| | Macro for logging a message with the severity level DEBUG.
|
| |
| #define | NRFX_LOG_HEXDUMP_ERROR(p_memory, length) |
| | Macro for logging a memory dump with the severity level ERROR.
|
| |
| #define | NRFX_LOG_HEXDUMP_WARNING(p_memory, length) |
| | Macro for logging a memory dump with the severity level WARNING.
|
| |
| #define | NRFX_LOG_HEXDUMP_INFO(p_memory, length) |
| | Macro for logging a memory dump with the severity level INFO.
|
| |
| #define | NRFX_LOG_HEXDUMP_DEBUG(p_memory, length) |
| | Macro for logging a memory dump with the severity level DEBUG.
|
| |
| #define | NRFX_LOG_ERROR_STRING_GET(error_code) |
| | Macro for getting the textual representation of a given error code.
|
| |
This file contains macros that should be implemented according to the needs of the host environment into which nrfx is integrated.
◆ NRFX_LOG_DEBUG
| #define NRFX_LOG_DEBUG |
( |
| format, |
|
|
| ... ) |
Macro for logging a message with the severity level DEBUG.
- Parameters
-
| format | printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string. |
◆ NRFX_LOG_ERROR
| #define NRFX_LOG_ERROR |
( |
| format, |
|
|
| ... ) |
Macro for logging a message with the severity level ERROR.
- Parameters
-
| format | printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string. |
◆ NRFX_LOG_ERROR_STRING_GET
| #define NRFX_LOG_ERROR_STRING_GET |
( |
| error_code | ) |
|
Macro for getting the textual representation of a given error code.
- Parameters
-
| [in] | error_code | Error code. |
- Returns
- String containing the textual representation of the error code.
◆ NRFX_LOG_HEXDUMP_DEBUG
| #define NRFX_LOG_HEXDUMP_DEBUG |
( |
| p_memory, |
|
|
| length ) |
Macro for logging a memory dump with the severity level DEBUG.
- Parameters
-
| [in] | p_memory | Pointer to the memory region to be dumped. |
| [in] | length | Length of the memory region in bytes. |
◆ NRFX_LOG_HEXDUMP_ERROR
| #define NRFX_LOG_HEXDUMP_ERROR |
( |
| p_memory, |
|
|
| length ) |
Macro for logging a memory dump with the severity level ERROR.
- Parameters
-
| [in] | p_memory | Pointer to the memory region to be dumped. |
| [in] | length | Length of the memory region in bytes. |
◆ NRFX_LOG_HEXDUMP_INFO
| #define NRFX_LOG_HEXDUMP_INFO |
( |
| p_memory, |
|
|
| length ) |
Macro for logging a memory dump with the severity level INFO.
- Parameters
-
| [in] | p_memory | Pointer to the memory region to be dumped. |
| [in] | length | Length of the memory region in bytes. |
◆ NRFX_LOG_HEXDUMP_WARNING
| #define NRFX_LOG_HEXDUMP_WARNING |
( |
| p_memory, |
|
|
| length ) |
Macro for logging a memory dump with the severity level WARNING.
- Parameters
-
| [in] | p_memory | Pointer to the memory region to be dumped. |
| [in] | length | Length of the memory region in bytes. |
◆ NRFX_LOG_INFO
| #define NRFX_LOG_INFO |
( |
| format, |
|
|
| ... ) |
Macro for logging a message with the severity level INFO.
- Parameters
-
| format | printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string. |
◆ NRFX_LOG_WARNING
| #define NRFX_LOG_WARNING |
( |
| format, |
|
|
| ... ) |
Macro for logging a message with the severity level WARNING.
- Parameters
-
| format | printf-style format string, optionally followed by arguments to be formatted and inserted in the resulting string. |