Skip to content

Commit

Permalink
add ascii tree with commands
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinbor85 committed Jun 11, 2024
1 parent d9def2f commit f13f2b2
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,28 @@ Commands arguments are optional. If they will not be defined, then all arguments

```c

/*
.
├── adc
│ ├── read [channel:UINT]
│ ├── set [vref:FLOAT]
│ ├── start
│ └── stop
├── gpio
│ ├── get
│ │ ├── pin [pin:UINT]
│ │ └── reg [address:UINT]
│ └── set
│ ├── pin [pin:UINT] [state:UINT]
│ └── reg [address:UINT]
├── mem
│ ├── write [address:UINT] [data:HEXARRAY]
│ └── read [address:UINT] [size:UINT]
└── exit
*/

/* Definition of main clip handler */
CLIP_DEF_ROOT(g_clip, &g_app_context, event_callback)
/* there will be 4 root commands: adc, gpio, mem, exit */
Expand Down

0 comments on commit f13f2b2

Please sign in to comment.