/** Command descriptor for sleep command */
cmd_des_t const cmd_des_sleep={
0, 0,
- "sleep","Sleep the board.",
+ "sleep","Sleep the board",
"=== Syntax ===\n"
"\n"
" sleep\n"
/** Command descriptor for show help command */
cmd_des_t const cmd_des_help={
0, 0,
- "help","Prints help for commands",
+ "help","Print help for commands",
"=== Syntax ===\n"
"\n"
" help [command]\n"
/** Descriptor of command for adc port reading */
cmd_des_t const cmd_des_read_adc1={
0, 0,
- "readadc","Reads values from ADC1", /* FIXME: is ADC1 also a name of a pin? */
+ "adcread","Read values from ADC1", /* FIXME: is ADC1 also a name of a pin? */
"=== Command syntax ===\n"
"\n"
" readadc\n"
/** Descriptor of command for dac pin setup */
cmd_des_t const cmd_des_dac_pin_setup = {
0, CDESM_OPCHR|CDESM_WR,
- "dacpinenable#","Enables or disables a DAC pin",
+ "dacpinenable#","Enable or disable a DAC pin",
"=== Command syntax ===\n"
"\n"
" dacpinenable<PIN>:<VALUE> \n"
/** Descriptor of command for dac pin value set */
cmd_des_t const cmd_des_dac_pin_set_val = {
0, CDESM_OPCHR|CDESM_WR,
- "dacpinval#","Sets raw value to pin DAC.",
+ "dacpinval#","Set raw value of a DAC register",
"=== Command syntax ===\n"
"\n"
" dacpinval<PIN>:<VALUE>\n"
/** Descriptor of command for dac pin voltage set */
cmd_des_t const cmd_des_dac_pin_set_voltage = {
0, CDESM_OPCHR|CDESM_WR,
- "dacpinvoltage#","Sets voltage in mV to pin DAC.",
+ "dacpinvoltage#","Set voltage in mV of a DAC pin",
"=== Command syntax ===\n"
"\n"
" dacpinvoltage<PIN>:<VALUE>\n"
#include "hal/hal.h"
/**
- * @brief Setup DIN pin parameters (Pull up/down, tristate/active, IRQ and wakeup disable/enable
+ * @brief Setup DIN pin parameters (pull up/down, tristate/active, IRQ and wakeup disable/enable
*
* @param[in] cmd_io Pointer to IO stack
* @param[in] des Pointer to command descriptor
/** Command descriptor for FlexRay status command */
cmd_des_t const cmd_des_fray_stat={
0, 0,
- "frayxcvrstat#","Get status of a FlexRay transceiver in a human readable form",
+ "frayxcvrstat#","Get the status of a FlexRay transceiver in a human readable form",
"=== Command syntax ===\n"
"\n"
" frayxcvrstat<CHN>\n"
/** Command descriptor for FlexRay 1 test node A */
cmd_des_t const cmd_des_test_fray_a={
0, 0,
- "fraytestA","Run the FlexRay test as A node.",
+ "fraytestA","Run the FlexRay test as A node",
"=== Command syntax ===\n"
"\n"
" fraytestA\n"
/** Command descriptor for FlexRay 1 test node B */
cmd_des_t const cmd_des_test_fray_b={
0, 0,
- "fraytestB","Run the FlexRay test as B node.",
+ "fraytestB","Run the FlexRay test as B node",
"=== Command syntax ===\n"
"\n"
" fraytestB\n"
/** Command descriptor for HBR enable command */
cmd_des_t const cmd_des_hbr_enable = {
0, CDESM_OPCHR|CDESM_WR,
- "hbrenable","Enables H-bridge and sets its PWM period.",
+ "hbrenable","Enable the H-bridge and set its PWM period",
"=== Command syntax ===\n"
"\n"
" hbrenable:<PER>\n"
/** Command descriptor for HBR control command */
cmd_des_t const cmd_des_hbr_control = {
0, CDESM_OPCHR|CDESM_WR,
- "hbrcontrol","Sets motor voltage direction and size in percent",
+ "hbrcontrol","Set the motor voltage direction and size in percent",
"=== Command syntax ===\n"
"\n"
" hbrcontrol:<SPEED>\n"
/** Command descriptor for HBR disable command */
cmd_des_t const cmd_des_hbr_disable = {
0, 0,
- "hbrdisable","Disables H-bridge",
+ "hbrdisable","Disable the H-bridge",
"=== Command syntax ===\n"
"\n"
" hbrdisable\n"
/** Command descriptor for hout read IFBK command */
cmd_des_t const cmd_des_read_hifbk={
0, 0,
- "houtifbk","Reads values from HOUT IFBK",
+ "houtifbk","Read values from HOUT current feedback",
"=== Command syntax ===\n"
"\n"
" houtifbk\n"
/** Command descriptor for HOUT set PWM command */
cmd_des_t const cmd_des_hout_pwm={
0, CDESM_OPCHR|CDESM_RW,
- "houtpwm*","Sets or gets actual PWM parameters", /* FIXME: Why is here * and other commands have #? */
+ "houtpwm*","Set or get actual PWM parameters", /* FIXME: Why is here * and other commands have #? */
"=== Command syntax ===\n"
"\n"
" houtpwm<PIN>:(<PER>,<DUTY>)\n"
/** Command descriptor for lout get pin diag value */
cmd_des_t const cmd_des_lout_diag={
0, CDESM_OPCHR|CDESM_RD,
- "loutdiag#","Reads a diagnostic value from an LOUT pin",
+ "loutdiag#","Read a diagnostic value from an LOUT pin",
"=== Command syntax ===\n"
"\n"
" loutdiag<PIN>?\n"
/** Command descriptor for control */
cmd_des_t const cmd_des_control={
0, 0,
- "demomotctrl","Run motor control demo - reads input and sends it ",
+ "demomotctrl","Run motor control demo - reads input and sends it",
"=== Command syntax ===\n"
"\n"
" demomotctrl\n"
/** Command descriptor for motor */
cmd_des_t const cmd_des_motor={
0, 0,
- "demomotdrive","Run motor control demo - drives the DC motor.",
+ "demomotdrive","Run motor control demo - drives the DC motor",
"=== Command syntax ===\n"
"\n"
" demomotmotor\n"
/** Command descriptor for pin list */
cmd_des_t const cmd_des_pin_list = {
0, 0,
- "pinlist","Prints a list of all defined pins.",
+ "pinlist","Print a list of all defined pins.",
"=== Command syntax ===\n"
"\n"
" pinlist\n"
/** Command descriptor for pin get/set value */
cmd_des_t const cmd_des_pin_val={
0, CDESM_OPCHR|CDESM_RW,
- "pinval*","Sets or gets pin value.",
+ "pinval*","Set or get the pin value",
"=== Command syntax ===\n"
"\n"
" pinval<NAME>:<VAL>\n"
/** Command descriptor for pin get/set direction */
cmd_des_t const cmd_des_pin_dir={
0, CDESM_OPCHR|CDESM_RW,
- "pindir*","Sets pin direction",
+ "pindir*","Set the pin direction",
"=== Command syntax ===\n"
"\n"
" pindir<NAME>:<DIR>\n"
/** Command descriptor for read values from port command */
cmd_des_t const cmd_des_port_val={
0, CDESM_OPCHR|CDESM_RW,
- "portval*","Reads or writes values from or to the port",
+ "portval*","Read or write values from or to the port",
"=== Command syntax ===\n"
"\n"
" portval<NAME>:(<VAL>)\n"
/** Command descriptor for port list printout */
cmd_des_t const cmd_des_port_list={
0, 0,
- "portlist","Prints list of all port names",
+ "portlist","Print a list of all port names",
"=== Command syntax ===\n"
"\n"
" portlist\n"
/** Command descriptor for test SDRAM */
cmd_des_t const cmd_des_test_sdram={
0, 0,
- "sdramtest","Tests if the SDRAM module is connected and if so, measures its capacity",
+ "sdramtest","Test if the SDRAM module is connected and if so, measures its capacity",
"=== Command syntax ===\n"
"\n"
" sdramtest\n"
/** Command descriptor for SPI trasfer */
cmd_des_t const cmd_des_spimst = {
0, CDESM_OPCHR,
- "spimst#", "SPI master communication request",
+ "spimst#", "Request SPI master communication",
"=== Command syntax ===\n"
"\n"
" spimst<SPI>:<ADDR>(<DATA>)\n"