MCPcopy Create free account
hub / github.com/Santroller/Santroller / reset_transfer

Method reset_transfer

lib/peripherals/uart.cpp:78–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76 uart_set_format(uart, data_bits, stop_bits, parity);
77}
78void UARTInterface::reset_transfer()
79{
80 if (uart == uart0)
81 {
82 current_0 = 0;
83 }
84 if (uart == uart1)
85 {
86 current_1 = 0;
87 }
88}
89long UARTInterface::last_read_time()
90{
91 if (uart == uart0)

Callers 1

readflashMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected