beautypg.com

Command line interpreter, Figure 5-13: command line interpreter – Maxim Integrated 71M6521BE Energy Meter IC Family Software User Manual

Page 58

background image

71M652X Software User’s Guide

Revision 1.7

TERIDIAN Proprietary

58 of 138

© Copyright 2005-2007 TERIDIAN Semiconductor Corporation

Command Line Interpreter

cli()

END

cli_result = NULL &

done(&d) = FALSE?

N

Y

U08 data d;

cli_result = NULL

toupper(d) = '/' ?

cli_result = OK_ID

toupper(d) = 'I' ?

toupper(d) = 'E' ?

toupper(d) = 'C' ?

toupper(d) = ')' ?

toupper(d) = ']' ?

toupper(d) = 'PS' ?

toupper(d) = 'R' ?

toupper(d)= 'P' ?

toupper(d) = 'M' ?

cmd_ce_data_access()

cmd_mpu_data_access()

cmd_ce()

cmd_eeprom()

cmd_i()

cmd_meter)

cmd_power_save()

toupper(d) = 'RT' ?

toupper(d) = 'T' ?

toupper(d) = '?' ?

toupper(d) = 'Z' ?

cmd_mpu_data_access()

cmd_ce()

send_help(Usage)

cmd_i()

cmd_meter)

cmd_profile()

cmd_rtc()

cmd_sfr()

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

N

N

N

N

N

N

N

N

N

N

N

N

N

N

toupper(d) = '~' ?

toupper(d) = '?\0' ?

cmd_H(d)

Figure 5-13: Command Line Interpreter