MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / uart_restore

Function uart_restore

core/uart.c:482–489  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482bool uart_restore(FILE *image) {
483 uart_init_events();
484 if (fread(&uart, offsetof(uart_state_t, transmit_char), 1, image) == 1) {
485 uart_set_device_funcs();
486 return true;
487 }
488 return false;
489}

Callers 1

asic_restoreFunction · 0.85

Calls 2

uart_init_eventsFunction · 0.85
uart_set_device_funcsFunction · 0.85

Tested by

no test coverage detected