Altera Embedded Peripherals IP Manuale Utente Pagina 101

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 336
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 100
Figure 9-7:
typedef enum stopbit {ONE =0,TWO } StopBit;
typedef enum paritybit { ODD =0, EVEN, NOPARITY } ParityBit;
typedef enum databit { CS_5 =0, CS_6, CS_7, CS_8} DataBit;
typedef enum baud
{
BR9600 = 9600,
BR19200 = 19200,
BR38400 = 38400,
BR57600 = 57600,
BR115200 = 115200
} Baud;
typedef enum rx_fifo_level_e { RXONECHAR = 0, RXQUARTER,
RXHALF, RXFULL } Rx_FifoLvl;
typedef enum tx_fifo_level_e { TXEMPTY = 0, TXTWOCHAR,
TXQUARTER, TXHALF } Tx_FifoLvl;
typedef struct uart_config_s
{
StopBit stop_bit;
ParityBit parity_bit;
DataBit data_bit;
Baud baudrate;
alt_u32 fifo_mode;
Rx_FifoLvl rx_fifo_level;
Tx_FifoLvl tx_fifo_level;
alt_u32 hwfc;
}UartConfig;
UG-01085
2014.24.07
UART Device Structure
9-15
16550 UART
Altera Corporation
Send Feedback
Vedere la pagina 100
1 2 ... 96 97 98 99 100 101 102 103 104 105 106 ... 335 336

Commenti su questo manuale

Nessun commento