Регистры Allwinner H616

Сокращения  |  Дерево шин  |  Карта памяти


UART_DLL
9.2.5. UART Divisor Latch Low Register - адрес: 0x5000000 0x5000400 0x5000800 0x5000c00 0x5001000 0x5001400 (смещение: 0x0000)

Универсальный асинхронный приемо-передатчик: список регистров



31 ||||||||||||||||| 16
15 ||||||||||||||||| 00

  Unused

Bits 31 : 8

  DLL

Bits 7 : 0
R/W
0x0

Divisor Latch Low
Lower 8 bits of a 16 bits, read/write, Divisor Latch Register contains the
baud rate divisor for the UART. This register may only be accessed when
the DLAB bit (LCR[7]) is set and the UART is not busy (USR[0] is zero).
The output baud rate is equal to the serial clock (sclk) frequency divided by
sixteen times the value of the baud rate divisor, as follows: baud rate =
(serial clock freq) / (16 * divisor).
Note that when the Divisor Latch Registers (DLL and DLH) are set to zero,
the baud clock is disabled and no serial communications occur. Also, once
the DLL is set, at least 8 clock cycles of the slowest UART clock should be
allowed to pass before transmitting or receiving data.



Команда U-Boot для чтения регистра

md 5000000 1
md 5000400 1
md 5000800 1
md 5000c00 1
md 5001000 1
md 5001400 1



Bit fields structure

typedef union  uart_dll
{
  struct
  {
   unsigned dll : 8;
   unsigned unused0 : 24;
  } b;
   unsigned long w;
} UART_DLL
   

Allwinner H616 Manual