]> rtime.felk.cvut.cz Git - pes-rpp/rpp-test-sw.git/blobdiff - rpp-test-sw/commands/cmd_lout.c
Convert doc from MediaWiki syntax to Markdown
[pes-rpp/rpp-test-sw.git] / rpp-test-sw / commands / cmd_lout.c
index 51871af87e2bfd22e10bec3276b5d17bc7cbb694..4509b66fc32d33044ba4c2949a9c1a19862d03c1 100644 (file)
@@ -107,24 +107,25 @@ int cmd_do_lout_diag(cmd_io_t *cmd_io, const struct cmd_des *des, char *param[])
 cmd_des_t const cmd_des_lout_set={
        0, 0,
        "loutset*","Set a value of the LOUT pin",
-       "=== Command syntax ===\n"
+       "### Command syntax ###\n"
        "\n"
-       "   loutset<PIN> <VALUE>\n"
+       "    loutset<PIN> <VALUE>\n"
        "where\n"
-       "* <PIN> is a number in range 1-8\n"
-       "* <VALUE> is a binary value to be set (0 or 1)\n"
        "\n"
-       "=== Description ===\n"
+       "- `<PIN>` is a number in range 1-8\n"
+       "- `<VALUE>` is a binary value to be set (0 or 1)\n"
+       "\n"
+       "### Description ###\n"
        "\n"
        "The command sets the digital value on the LOUT pin.\n"
        "\n"
-       "=== Example ===\n"
+       "### Example ###\n"
        "\n"
-       "   --> loutset1 1\n"
+       "    --> loutset1 1\n"
        "\n"
        "Sets LOUT1 to 1.\n"
        "\n"
-       "   --> loutset2 0\n"
+       "    --> loutset2 0\n"
        "\n"
        "Sets LOUT2 to 0.\n",
        CMD_HANDLER(cmd_do_lout_set), (void *)&cmd_list_lout
@@ -134,19 +135,19 @@ cmd_des_t const cmd_des_lout_set={
 cmd_des_t const cmd_des_lout_diag={
        0, 0,
        "loutdiag*","Read a diagnostic value from an LOUT pin",
-       "=== Command syntax ===\n"
+       "### Command syntax ###\n"
        "\n"
-       "   loutdiag<PIN>\n"
+       "    loutdiag<PIN>\n"
        "\n"
-       "where <PIN> is a number in range 1-8\n"
+       "where `<PIN>` is a number in range 1-8\n"
        "\n"
-       "=== Description ===\n"
+       "### Description ###\n"
        "\n"
        "The command reads a logical value of the LOUT diagnostic signal.\n"
        "\n"
-       "=== Example ===\n"
+       "### Example ###\n"
        "\n"
-       "   --> loutdiag1\n"
+       "    --> loutdiag1\n"
        "\n"
        "Reads value of the LOUT1 diagnostic signal.\n",
        CMD_HANDLER(cmd_do_lout_diag), (void *)&cmd_list_lout