MCPcopy Create free account
hub / github.com/SharpCoder/teensycore / uart_disable_fifo

Function uart_disable_fifo

src/phys/uart.rs:454–457  ·  view source on GitHub ↗
(device: Device)

Source from the content-addressed store, hash-verified

452}
453
454pub fn uart_disable_fifo(device: Device) {
455 let addr = get_addr(device) + 0x28;
456 assign(addr, read_word(addr) & !(0x1 << 7));
457}
458
459pub fn uart_get_irq_statuses(device: Device) -> u32 {
460 return read_word(get_addr(device) + 0x14);

Callers 1

initializeMethod · 0.85

Calls 3

assignFunction · 0.85
read_wordFunction · 0.85
get_addrFunction · 0.70

Tested by

no test coverage detected