![FTDI FT51A Скачать руководство пользователя страница 53](http://html1.mh-extra.com/html/ftdi/ft51a/ft51a_application-note_2341158053.webp)
Application Note
AN_289 FT51A Programming Guide
Version 1.0
Document Reference No.: FT_000962 Clearance No.: FTDI# 483
52
Copyright © 2015 Future Technology Devices International Limited
2.7.1
UART_CONTROL
Bit
Position
Bit Field Name
Type
Reset
Description
7..2
Reserved
RFU
0
Reserved
1
uart_dev_en
R/W
0
Write 1 to Enable UART
0
uart_soft_reset
R/W
0
Write 1 to Reset UART
Table 2.56 UART Control Register
The UART Control register provides top-level enables and reset functions for the UART module.
The UART module is enabled by setting the
uart_dev_en
bit to 1. Clearing this bit will disable the
module.
To reset the module, a 1 is written to the
uart_soft_reset
bit. This is cleared when the reset is
performed and will therefore always read as ‘0’.
2.7.2
UART_DMA_CTRL
Bit
Position
Bit Field Name
Type
Reset
Description
7..1
Reserved
RFU
0
Reserved
0
uart_dma_en
R/W
0
Write 1 to enable DMA mode.
Data can be transferred using DMA
when enabled.
for more details on
DMA.
Table 2.57 UART DMA Control Register
2.7.3
UART_RX_DATA
Bit
Position
Bit Field Name
Type
Reset
Description
7..0
UART_RX_DATA
R/W
8’h00
Data received by the UART
Table 2.58 UART Data Receive Register
2.7.4
UART_TX_DATA
Bit
Position
Bit Field Name
Type
Reset
Description
7..0
UART_TX_DATA
R/W
8’h00
Data to be transmitted by the UART.
Data is transmitted automatically by
writing to this register
Table 2.59 UART Data Transmit Register