TI-radar AWR1843 ARM-Cortex R4F core  1
mss_cli.c File Reference
#include <common/app_cfg.h>
#include <stdint.h>
#include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <stdio.h>
#include <xdc/runtime/System.h>
#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Event.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Clock.h>
#include <ti/sysbios/heaps/HeapBuf.h>
#include <ti/sysbios/heaps/HeapMem.h>
#include <ti/common/sys_common.h>
#include <ti/drivers/uart/UART.h>
#include <ti/drivers/osal/DebugP.h>
#include <ti/control/mmwavelink/mmwavelink.h>
#include <ti/utils/cli/cli.h>
#include "common/mmWave_XSS.h"
Include dependency graph for mss_cli.c:

Go to the source code of this file.

Functions

static int32_t MSS_CLISensorStart (int32_t argc, char *argv[])
 This is the CLI Handler for starting the sensor. More...
 
static int32_t MSS_CLISensorStop (int32_t argc, char *argv[])
 This is the CLI Handler for stopping the sensor. More...
 
static int32_t MSS_CLIBasicCfg (int32_t argc, char *argv[])
 This is the CLI Handler for basic configuration. More...
 
static int32_t MSS_CLIAdvancedFrameCfg (int32_t argc, char *argv[])
 This is the CLI Handler for advanced frame configuration. More...
 
void MSS_CLIInit (void)
 This is the CLI Execution Task. More...
 

Function Documentation

◆ MSS_CLIAdvancedFrameCfg()

static int32_t MSS_CLIAdvancedFrameCfg ( int32_t  argc,
char *  argv[] 
)
static

This is the CLI Handler for advanced frame configuration.

  • [0] Number of arguments
  • [1] Arguments
    Return values
    Success0
    Error-1

Definition at line 222 of file mss_cli.c.

◆ MSS_CLIBasicCfg()

static int32_t MSS_CLIBasicCfg ( int32_t  argc,
char *  argv[] 
)
static

This is the CLI Handler for basic configuration.

  • [0] Number of arguments
  • [1] Arguments
    Return values
    Success0
    Error-1

Definition at line 147 of file mss_cli.c.

References Cfg_ADCOutCfgInitParams(), Cfg_ChannelCfgInitParams(), Cfg_ChirpCfgInitParams(), Cfg_FrameCfgInitParams(), Cfg_LowPowerModeInitParams(), Cfg_ProfileCfgInitParams(), MCB_t::cfgStatus, MCB_t::ctrlHandle, and gMCB.

Here is the call graph for this function:

◆ MSS_CLIInit()

void MSS_CLIInit ( void  )

This is the CLI Execution Task.

Return values
N/A

Definition at line 311 of file mss_cli.c.

Referenced by MSS_mmWaveInitTASK().

Here is the caller graph for this function:

◆ MSS_CLISensorStart()

static int32_t MSS_CLISensorStart ( int32_t  argc,
char *  argv[] 
)
static

This is the CLI Handler for starting the sensor.

  • [0] Number of arguments
  • [1] Arguments
    Return values
    Success0
    Error-1

Definition at line 60 of file mss_cli.c.

References MCB_t::cfgStatus, MCB_t::ctrlHandle, gMCB, and MCB_t::runningStatus.

◆ MSS_CLISensorStop()

static int32_t MSS_CLISensorStop ( int32_t  argc,
char *  argv[] 
)
static

This is the CLI Handler for stopping the sensor.

  • [0] Number of arguments
  • [1] Arguments
    Return values
    Success0
    Error-1

Definition at line 111 of file mss_cli.c.

References MCB_t::cfgStatus, MCB_t::ctrlHandle, gMCB, and MCB_t::runningStatus.