Initializes the serial device. This configures and muxes the relevant pins, sets baud rate, enables peripheral device, and generally wakes up the uart.
(device: SerioDevice)
| 396 | /// enables peripheral device, and generally |
| 397 | /// wakes up the uart. |
| 398 | pub fn serial_init(device: SerioDevice) { |
| 399 | let uart = get_uart_interface(device); |
| 400 | uart.initialize(); |
| 401 | } |
| 402 | |
| 403 | /// Retuns the current buffer of data the serial interface |
| 404 | /// has accumulated. |
nothing calls this directly
no test coverage detected