File nut/contrib/arm-crypto-lib/dsa/cli.h


Included Files


Preprocessor definitions

#define CLI_H_

#define VOID_FPT

#define CLI_BUFFER_BS 20

#define CMDLIST_ENTRY_SIZE 16

#define CLI_OPTION_DESC 0x01

#define CLI_OPTION_MANP 0x02


Typedef void_fpt

typedef void (*void_fpt)(void)

Typedef cli_rx_fpt

typedef char (*cli_rx_fpt)(void)

Typedef cli_tx_fpt

typedef void (*cli_tx_fpt)(char)

Typedef cmdoption_t

typedef struct {...} cmdoption_t
struct  
   {  
      uint16_t option_flags;  
      void* options[];  
   }  

Typedef cmdlist_entry_t

typedef struct {...} cmdlist_entry_t
struct  
   {  
      const char* cmd_name;  
      const char* cmd_param_str;  
      void_fpt cmd_function;  
      const cmdoption_t* options;  
   }  

External Variables

cli_rx
extern cli_rx_fpt cli_rx

cli_tx
extern cli_tx_fpt cli_tx

cli_echo
extern uint8_t cli_echo