1 /*! 2 * \file cli.h 3 * 4 * \brief Command Line Interface handling definition 5 * 6 * \copyright Revised BSD License, see section \ref LICENSE. 7 * 8 * \code 9 * ______ _ 10 * / _____) _ | | 11 * ( (____ _____ ____ _| |_ _____ ____| |__ 12 * \____ \| ___ | (_ _) ___ |/ ___) _ \ 13 * _____) ) ____| | | || |_| ____( (___| | | | 14 * (______/|_____)_|_|_| \__)_____)\____)_| |_| 15 * (C)2013-2020 Semtech 16 * 17 * \endcode 18 */ 19 #ifndef CLI_H 20 #define CLI_H 21 22 #ifdef __cplusplus 23 extern "C" { 24 #endif 25 26 #include "uart.h" 27 28 /*! 29 * Process characters received on the serial interface 30 * \remark Characters sequence 'ESC' + 'N' execute a NVM factory reset 31 * All other sequences are ignored 32 * 33 * \param [IN] uart UART interface object used by the command line interface 34 */ 35 void CliProcess( Uart_t* uart ); 36 37 #ifdef __cplusplus 38 } 39 #endif 40 41 #endif // CLI_H 42