|
Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
#include <ipm_console.h>
Data Fields | |
| char * | bind_to |
| Name of the low-level IPM driver to bind to. | |
| k_thread_stack_t * | thread_stack |
| Stack for the receiver's thread, which prints out messages as they come in. | |
| uint32_t * | ring_buf_data |
| Ring buffer data area for stashing characters from the interrupt callback. | |
| unsigned int | rb_size32 |
| Size of ring_buf_data in 32-bit chunks. | |
| char * | line_buf |
| Line buffer for incoming messages, characters accumulate here and then are sent to printk() once full (including a trailing NULL) or a carriage return seen. | |
| unsigned int | lb_size |
| Size in bytes of the line buffer. | |
| unsigned int | flags |
| Destination for received console messages, one of IPM_CONSOLE_STDOUT or IPM_CONSOLE_PRINTK. | |
| char* ipm_console_receiver_config_info::bind_to |
Name of the low-level IPM driver to bind to.
| unsigned int ipm_console_receiver_config_info::flags |
Destination for received console messages, one of IPM_CONSOLE_STDOUT or IPM_CONSOLE_PRINTK.
| unsigned int ipm_console_receiver_config_info::lb_size |
Size in bytes of the line buffer.
Must be at least 2
| char* ipm_console_receiver_config_info::line_buf |
Line buffer for incoming messages, characters accumulate here and then are sent to printk() once full (including a trailing NULL) or a carriage return seen.
| unsigned int ipm_console_receiver_config_info::rb_size32 |
Size of ring_buf_data in 32-bit chunks.
| uint32_t* ipm_console_receiver_config_info::ring_buf_data |
Ring buffer data area for stashing characters from the interrupt callback.
| k_thread_stack_t* ipm_console_receiver_config_info::thread_stack |
Stack for the receiver's thread, which prints out messages as they come in.
Should be sized CONFIG_IPM_CONSOLE_STACK_SIZE