Home
last modified time | relevance | path

Searched refs:sam_serial (Results 1 – 1 of 1) sorted by relevance

/bsp/microchip/common/board/
A Dserial.c19 static struct rt_serial_device sam_serial; variable
32 rx_fifo = (struct rt_serial_rx_fifo *)sam_serial.serial_rx; in serial_rxcallback()
43 rt_hw_serial_isr(&sam_serial, RT_SERIAL_EVENT_RX_IND); // or RT_SERIAL_EVENT_RX_DMADONE in serial_rxcallback()
57 rt_hw_serial_isr(&sam_serial, RT_SERIAL_EVENT_TX_DONE); in serial_txcallback()
242 sam_serial.ops = &sam_serial_ops; in rt_hw_uart_init()
243 sam_serial.config = config; in rt_hw_uart_init()
244 sam_serial.serial_rx = RT_NULL; in rt_hw_uart_init()
245 sam_serial.serial_tx = RT_NULL; in rt_hw_uart_init()
246 rt_hw_serial_register(&sam_serial, "uart0" /* RT_CONSOLE_DEVICE_NAME */, in rt_hw_uart_init()

Completed in 5 milliseconds