裡面就有 command 和 argument 說明
CLI_CmdTableEntry gCLIMMWaveExtensionTable[] = { { "version", #ifdef CLI_MMWAVE_HELP_SUPPORT "No arguments", #else NULL, #endif CLI_MMWaveVersion }, { "flushCfg", #ifdef CLI_MMWAVE_HELP_SUPPORT "No arguments", #else NULL, #endif CLI_MMWaveFlushCfg }, { "dfeDataOutputMode", #ifdef CLI_MMWAVE_HELP_SUPPORT "<modeType> 1-Chirp and 2-Continuous", #else NULL, #endif CLI_MMWaveDataOutputMode }, { "channelCfg", #ifdef CLI_MMWAVE_HELP_SUPPORT "<rxChannelEn> <txChannelEn> <cascading>", #else NULL, #endif CLI_MMWaveChannelCfg }, ..
舉例來說...
{ "profileCfg", #ifdef CLI_MMWAVE_HELP_SUPPORT "<profileId>l; <startFreq> <idleTime> <adcStartTime> <rampEndTime> <txOutPower> <txPhaseShifter> <freqSlopeConst> <txStartTime> <numAdcSamples> <digOutSampleRate> <hpfCornerFreq1> <hpfCornerFreq2> <rxGain>", #else NULL, #endif CLI_MMWaveProfileCfg },
沒有留言:
張貼留言