Quantcast
Channel:
Viewing all articles
Browse latest Browse all 59170

Forum Post: RE: Synergy UART driver API

$
0
0
This is the exact code that works for me in case anyone else is ever interested... memcpy(&uart3Cfg, g_uart.p_cfg, sizeof(uart_cfg_t)); uart3Cfg.baud_rate = 115200; uart3Cfg.data_bits = UART_DATA_BITS_7; uart3Cfg.parity = UART_PARITY_OFF; uart3Cfg.stop_bits = UART_STOP_BITS_2; g_uart_on_sci.open(g_uart.p_ctrl, &uart3Cfg); g_uart_on_sci.write(g_uart.p_ctrl, (uint8_t*)"Hello from uart3\r", 17);

Viewing all articles
Browse latest Browse all 59170

Trending Articles