|
Zephyr API Documentation 4.4.99
A Scalable Open Source RTOS
|
Go to the source code of this file.
Data Structures | |
| struct | mctp_binding_uart |
| An MCTP binding for Zephyr's asynchronous UART interface. More... | |
Macros | |
| #define | MCTP_UART_DT_DEFINE(_name, _dev) |
| Statically define a MCTP bus binding for a UART. | |
Functions | |
| void | mctp_uart_start_rx (struct mctp_binding_uart *uart) |
| Start the receive of mctp messages. | |
| int | mctp_uart_stop_rx (struct mctp_binding_uart *uart) |
| Stop the receive of mctp messages. | |
| #define MCTP_UART_DT_DEFINE | ( | _name, | |
| _dev ) |
Statically define a MCTP bus binding for a UART.
| _name | Symbolic name of the bus binding variable |
| _dev | UART device |
| void mctp_uart_start_rx | ( | struct mctp_binding_uart * | uart | ) |
Start the receive of mctp messages.
Will read mctp messages from the uart.
| uart | MCTP UART binding |
| int mctp_uart_stop_rx | ( | struct mctp_binding_uart * | uart | ) |
Stop the receive of mctp messages.
Will stop reading mctp messages from the uart.
| uart | MCTP UART binding |
| 0 | on success |
| -errno | result from uart_rx_disable on failure |