Xemu [doxygen]  hyppo 0a42be3a057156924bc1b626a687bd6e27349c45 @ Sat 19 Mar 02:15:11 CET 2022
Macros | Functions | Variables
uart.c File Reference
#include "xemu/emutools.h"
#include "uart.h"
Include dependency graph for uart.c:

Go to the source code of this file.


#define UART_START_BITS   1
#define UART_STOP_BITS   1


void uart_init (int baud_crystal_hz, int baud_rate, int cpu_hz)


int cpu_cycles_per_uart_transfer

Macro Definition Documentation



Definition at line 24 of file uart.c.


#define UART_START_BITS   1

Definition at line 22 of file uart.c.


#define UART_STOP_BITS   1

Definition at line 23 of file uart.c.

Function Documentation

◆ uart_init()

void uart_init ( int  baud_crystal_hz,
int  baud_rate,
int  cpu_hz 

Definition at line 28 of file uart.c.

Variable Documentation

◆ cpu_cycles_per_uart_transfer

int cpu_cycles_per_uart_transfer

Definition at line 26 of file uart.c.