TI-radar AWR1843 C674x DSP core  1
mmWave_XSS.h File Reference
#include <ti/common/mmwave_error.h>
#include <ti/drivers/soc/soc.h>
#include <ti/drivers/crc/crc.h>
#include <ti/drivers/uart/UART.h>
#include <ti/drivers/pinmux/pinmux.h>
#include <ti/drivers/esm/esm.h>
#include <ti/drivers/mailbox/mailbox.h>
#include <ti/control/mmwave/mmwave.h>
#include <ti/drivers/cbuff/cbuff.h>
#include <ti/drivers/adcbuf/ADCBuf.h>
#include <ti/drivers/edma/edma.h>
#include <ti/drivers/osal/DebugP.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/knl/Event.h>
#include <common/app_cfg.h>
#include "dss_data_path.h"
Include dependency graph for mmWave_XSS.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  MmwDemo_DSS_STATS_t
 
struct  MCB_t
 DSP-Subsystem (DSS) Master control block (MCB) The structure is used to hold handling information, flags and stats relative to the radar design. More...
 

Macros

#define DSS
 
#define DSS_START_COMPLETED_EVT   Event_Id_07
 sensor start CLI event SYS/BIOS events are a means of communication between Tasks and threads SYS/BIOS objects include semaphores, mailboxes, message queues, etc. Only tasks can WAIT for events; whereas tasks, Hwis, Swis, or SYS/BIOS objects can POST them. -ref http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sysbios/6_41_02_41/exports/bios_6_41_02_41/docs/cdoc/ti/sysbios/knl/Event.html More...
 
#define MMWDEMO_CLI_EVENTS
 
#define MMWDEMO_BSS_FAULT_EVENTS
 
#define MmwDemo_dssAssert(expression)
 

Typedefs

typedef enum MmwDemo_DSS_STATE_e MmwDemo_DSS_STATE
 Millimeter Wave Demo state. More...
 
typedef struct MmwDemo_DSS_STATS_t MmwDemo_DSS_STATS
 
typedef struct MCB_t MCB
 DSP-Subsystem (DSS) Master control block (MCB) The structure is used to hold handling information, flags and stats relative to the radar design. More...
 

Enumerations

enum  MmwDemo_DSS_STATE_e { MmwDemo_DSS_STATE_INIT = 0, MmwDemo_DSS_STATE_STARTED, MmwDemo_DSS_STATE_STOPPED, MmwDemo_DSS_STATE_STOP_PENDING }
 Millimeter Wave Demo state. More...
 

Functions

void _MmwDemo_dssAssert (int32_t expression, const char *file, int32_t line)
 
void Cfg_AdvFrameCfgInitParams (rlAdvFrameCfg_t *ptrAdvFrameCfg)
 The function initializes the frame configuration with the default parameters. More...
 
void Cfg_FrameCfgInitParams (rlFrameCfg_t *ptrFrameCfg)
 The function initializes the frame configuration with the default parameters. More...
 
void Cfg_ProfileCfgInitParams (uint8_t profileNum, rlProfileCfg_t *ptrProfileCfg)
 The function initializes the profile configuration with the default parameters. More...
 
void Cfg_ChirpCfgInitParams (uint8_t chirpNum, rlChirpCfg_t *ptrChirpCfg)
 The function initializes the chirp configuration with the default parameters. More...
 
void Cfg_LowPowerModeInitParams (rlLowPowerModeCfg_t *ptrLowPowerMode)
 The function initializes the low power configuration with the default parameters. More...
 
void Cfg_ChannelCfgInitParams (rlChanCfg_t *ptrChannelCfg)
 The function initializes the channel configuration with the default parameters. More...
 
void Cfg_ADCOutCfgInitParams (rlAdcOutCfg_t *ptrADCOutCfg)
 The function initializes the ADCOut configuration with the default parameters. More...
 

Variables

MCB gMCB
 Global Variable for tracking information required by the design. More...
 

Macro Definition Documentation

◆ DSS

#define DSS

Definition at line 13 of file mmWave_XSS.h.

◆ DSS_START_COMPLETED_EVT

#define DSS_START_COMPLETED_EVT   Event_Id_07

sensor start CLI event SYS/BIOS events are a means of communication between Tasks and threads SYS/BIOS objects include semaphores, mailboxes, message queues, etc. Only tasks can WAIT for events; whereas tasks, Hwis, Swis, or SYS/BIOS objects can POST them. -ref http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/sysbios/6_41_02_41/exports/bios_6_41_02_41/docs/cdoc/ti/sysbios/knl/Event.html

Definition at line 80 of file mmWave_XSS.h.

◆ MMWDEMO_BSS_FAULT_EVENTS

#define MMWDEMO_BSS_FAULT_EVENTS
Value:
(MMWDEMO_BSS_CPUFAULT_EVT | \
MMWDEMO_BSS_ESMFAULT_EVT )

Definition at line 90 of file mmWave_XSS.h.

◆ MMWDEMO_CLI_EVENTS

#define MMWDEMO_CLI_EVENTS
Value:
(MMWDEMO_CLI_SENSORSTART_EVT | \
MMWDEMO_CLI_SENSORSTOP_EVT | \
MMWDEMO_CLI_FRAMESTART_EVT)

Definition at line 84 of file mmWave_XSS.h.

◆ MmwDemo_dssAssert

#define MmwDemo_dssAssert (   expression)
Value:
{ \
_MmwDemo_dssAssert(expression, \
__FILE__, __LINE__); \
DebugP_assert(expression); \
}

Definition at line 259 of file mmWave_XSS.h.

Typedef Documentation

◆ MCB

typedef struct MCB_t MCB

DSP-Subsystem (DSS) Master control block (MCB) The structure is used to hold handling information, flags and stats relative to the radar design.



◆ MmwDemo_DSS_STATE

Millimeter Wave Demo state.

The enumeration is used to hold the data path states for the Millimeter Wave demo

◆ MmwDemo_DSS_STATS

Enumeration Type Documentation

◆ MmwDemo_DSS_STATE_e

Millimeter Wave Demo state.

The enumeration is used to hold the data path states for the Millimeter Wave demo

Enumerator
MmwDemo_DSS_STATE_INIT 

State after data path is initialized.

MmwDemo_DSS_STATE_STARTED 

State after data path is started.

MmwDemo_DSS_STATE_STOPPED 

State after data path is stopped.

MmwDemo_DSS_STATE_STOP_PENDING 

State after STOP request was received by DSP but complete stop is on-going.

Definition at line 105 of file mmWave_XSS.h.

Function Documentation

◆ _MmwDemo_dssAssert()

void _MmwDemo_dssAssert ( int32_t  expression,
const char *  file,
int32_t  line 
)

Description
Sends DSS assert information to MSS

Return values
NotApplicable.

Definition at line 302 of file dss_main.c.

◆ Cfg_ADCOutCfgInitParams()

void Cfg_ADCOutCfgInitParams ( rlAdcOutCfg_t *  ptrADCOutCfg)

The function initializes the ADCOut configuration with the default parameters.

Parameters
[out]ptrADCOutCfgPointer to the ADCOutput configuration
Return values
N/A

Definition at line 308 of file frame_cfg.c.

◆ Cfg_AdvFrameCfgInitParams()

void Cfg_AdvFrameCfgInitParams ( rlAdvFrameCfg_t *  ptrAdvFrameCfg)

The function initializes the frame configuration with the default parameters.

Parameters
[out]ptrAdvFrameCfgPointer to the adavance frame configuration
Return values
N/A

Definition at line 42 of file frame_cfg.c.

◆ Cfg_ChannelCfgInitParams()

void Cfg_ChannelCfgInitParams ( rlChanCfg_t *  ptrChannelCfg)

The function initializes the channel configuration with the default parameters.

Parameters
[out]ptrChannelCfgPointer to the channel configuration
Return values
N/A

Definition at line 285 of file frame_cfg.c.

◆ Cfg_ChirpCfgInitParams()

void Cfg_ChirpCfgInitParams ( uint8_t  chirpNum,
rlChirpCfg_t *  ptrChirpCfg 
)

The function initializes the chirp configuration with the default parameters.

Parameters
[out]chirpNumChirp Number to be configured
[out]ptrChirpCfgPointer to the chirp configuration
Return values
N/A

Definition at line 204 of file frame_cfg.c.

◆ Cfg_FrameCfgInitParams()

void Cfg_FrameCfgInitParams ( rlFrameCfg_t *  ptrFrameCfg)

The function initializes the frame configuration with the default parameters.

Parameters
[out]ptrFrameCfgPointer to the frame configuration
Return values
N/A

Definition at line 138 of file frame_cfg.c.

◆ Cfg_LowPowerModeInitParams()

void Cfg_LowPowerModeInitParams ( rlLowPowerModeCfg_t *  ptrLowPowerMode)

The function initializes the low power configuration with the default parameters.

Parameters
[out]ptrLowPowerModePointer to the low power mode configuration
Return values
N/A

Definition at line 264 of file frame_cfg.c.

◆ Cfg_ProfileCfgInitParams()

void Cfg_ProfileCfgInitParams ( uint8_t  profileNum,
rlProfileCfg_t *  ptrProfileCfg 
)

The function initializes the profile configuration with the default parameters.

Parameters
[in]profileNumProfile number to be initialized
[out]ptrProfileCfgPointer to the profile configuration
Return values
N/A

Definition at line 167 of file frame_cfg.c.

Variable Documentation

◆ gMCB

MCB gMCB

Global Variable for tracking information required by the design.

Definition at line 97 of file dss_main.c.