Nordic Semiconductor nRF5 AirFuel SDK  version 2.2.0
app_print.h
Go to the documentation of this file.
1 /* Copyright (c) Nordic Semiconductor. All Rights Reserved.
2  *
3  * The information contained herein is property of Nordic Semiconductor ASA.
4  * Terms and conditions of usage are described in detail in NORDIC
5  * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT.
6  *
7  * Licensees are granted free, non-transferable use of the information. NO
8  * WARRANTY of ANY KIND is provided. This heading must NOT be removed from
9  * the file.
10  *
11  */
12 
20 #ifndef UART_DEBUG_H
21 #define UART_DEBUG_H
22 #include <stdint.h>
23 
28 void print_string(char * char_array);
29 
35 void print_hex(uint32_t number, uint8_t byte_size);
36 
45 void print_file_and_line(uint16_t line_num, const uint8_t *file_name);
46 
47 #endif /* UART_DEBUG_H */
48 
void print_file_and_line(uint16_t line_num, const uint8_t *file_name)
Function used to report event related to source code.
Definition: app_print.c:61
void print_hex(uint32_t number, uint8_t byte_size)
Converts hex number into char and send it through UART TX.
Definition: app_print.c:42
void print_string(char *char_array)
Decomposes char array and send chars through UART TX.
Definition: app_print.c:25