sl_cli_instance_parameters_t Struct Reference

The structure defining the parameters for creating a CLI instance.

#include <sl_cli_types.h>

Data Fields

char * task_name
The name.
sl_iostream_t * iostream_handle
The iostream.
sl_cli_command_group_t * default_command_group
The command_group.
osThreadId_t thread_id
Thread ID.
void * thread_cb
Thread control block.
void * stack
Pointer to the stack.
uint32_t stack_size
The stack size.
osPriority_t prio
The task priority.
uint32_t start_delay_ms
The task start delay.
uint32_t loop_delay_ms
The task loop delay.

The structure defining the parameters for creating a CLI instance.

Field Documentation

◆ task_name

char* sl_cli_instance_parameters_t::task_name

The name.

◆ iostream_handle

sl_iostream_t * sl_cli_instance_parameters_t::iostream_handle

The iostream.

◆ default_command_group

sl_cli_command_group_t * sl_cli_instance_parameters_t::default_command_group

The command_group.

◆ thread_id

osThreadId_t sl_cli_instance_parameters_t::thread_id

Thread ID.

◆ thread_cb

void* sl_cli_instance_parameters_t::thread_cb

Thread control block.

Can be set to NULL for dynamic allocation.

◆ stack

void* sl_cli_instance_parameters_t::stack

Pointer to the stack.

Can be set to NULL for dynamic allocation.

◆ stack_size

uint32_t sl_cli_instance_parameters_t::stack_size

The stack size.

◆ prio

osPriority_t sl_cli_instance_parameters_t::prio

The task priority.

◆ start_delay_ms

uint32_t sl_cli_instance_parameters_t::start_delay_ms

The task start delay.

◆ loop_delay_ms

uint32_t sl_cli_instance_parameters_t::loop_delay_ms

The task loop delay.