sim_uart.h File Reference

yasimavr: sim_uart.h File Reference
yasimavr
Loading...
Searching...
No Matches
sim_uart.h File Reference
#include "../core/sim_types.h"
#include "../core/sim_cycle_timer.h"
#include "../core/sim_signal.h"
#include "../core/sim_logger.h"
#include <deque>

Go to the source code of this file.

Classes

class  UART::USART
 Generic model defining an universal synchronous/asynchronous serial interface a.k.a. USART. More...
 

Namespaces

namespace  UART
 Common enums and signal definitions for UART classes.
 

Macros

Controller requests definition for USART
#define AVR_CTLREQ_USART_BYTES   (AVR_CTLREQ_BASE + 1)
 

Enumerations

enum  UART::SignalId {
  UART::Signal_TX_Start , UART::Signal_TX_Complete , UART::Signal_RX_Start , UART::Signal_RX_Complete ,
  UART::Signal_TX_Frame , UART::Signal_TX_Data , UART::Signal_RX_Overflow , UART::Signal_TX_Collision
}
 
enum  UART::ClockMode { UART::Clock_Async , UART::Clock_Emitter , UART::Clock_Receiver }
 
enum  UART::Line { UART::Line_TXD , UART::Line_RXD , UART::Line_XCK , UART::Line_DIR }
 
enum  UART::Parity { UART::Parity_No , UART::Parity_Odd , UART::Parity_Even }