Go to the source code of this file.
|
| #define | MAX_DIGIT_BITS 12 /* 8 char for number, 2 for '0x' and 2 for '\r\n' */ |
| |
|
| int32_t | spm_log_msgval (const char *msg, size_t len, uint32_t value) |
| | SPM output API to convert digit number into HEX string and call the HAL API tfm_hal_output_spm_log. More...
|
| |
| #define MAX_DIGIT_BITS 12 /* 8 char for number, 2 for '0x' and 2 for '\r\n' */ |
| int32_t spm_log_msgval |
( |
const char * |
msg, |
|
|
size_t |
len, |
|
|
uint32_t |
value |
|
) |
| |
SPM output API to convert digit number into HEX string and call the HAL API tfm_hal_output_spm_log.
- Parameters
-
| [in] | msg | A string message |
| [in] | len | The length of the message |
| [in] | value | A value need to be output |
- Return values
-
| >=0 | Number of chars output. |
| <0 | TFM HAL error code. |
Definition at line 36 of file spm_log.c.