LinuxCNC Documentation

СИНТАКСИС

#include <hostmot2-serial.h>
int hm2_uart_send(char* name, unsigned char data[], rtapi_u8* num_frames,
                  rtapi_u16 frame_sizes[]);

ОПИС

hm2_pktuart_send writes "num_frames" of data to the PktUART "name" from the buffer "data" with frame sizes preset in "frame_sizes[]" array.

Будь ласка, дивіться об’єднаний документ hm2_pktuart.3, щоб дізнатися, як використовувати цю функцію.