Регистры Allwinner H616

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


PLL_VE_CTRL_REG
3.3.4. PLL_VE Control Register - адрес: 0x3001058 (смещение: 0x0058)

Контроллер синхрогенератора: список регистров



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

  PLL_ENABLE

Bit 31
R/W
0x0

0: Disable
1: Enable
The PLL_VE = 24 MHz*N/M0/M1.
The default value of PLL_VE is 432 MHz.


  Unused

Bit 30

  LOCK_ENABLE

Bit 29
R/W
0x0

Lock Enable
0: Disable
1: Enable


  LOCK

Bit 28
R
0x0

0:Unlocked
1: Locked (It indicates that the PLL has been stable.)


  PLL_OUTPUT_ENABLE

Bit 27
R/W
0x1

0: Disable
1: Enable
The bit is used to control the output enable of PLL.


  Unused

Bits 26 : 25

  PLL_SDM_ENABLE

Bit 24
R/W
0x0

0: Disable
1: Enable


  Unused

Bits 23 : 16

  PLL_FACTOR_N

Bits 15 : 8
R/W
0x23

PLL Factor N.
N= PLL_FACTOR_N +1
PLL_FACTOR_N is from 0 to 254.
In application, PLL_FACTOR_N shall be more than or equal to 11.


  Unused

Bits 7 : 2

  PLL_INPUT_DIV_M1.

Bit 1
R/W
0x0

PLL Input Div M1.
M1=PLL_INPUT_DIV_M1 + 1
PLL_INPUT_DIV_M1 is from 0 to 1.


  PLL_OUTPUT_DIV_M0.

Bit 0
R/W
0x1

PLL Output Div M0.
M0=PLL_OUTPUT_DIV_M0 + 1
PLL_OUTPUT_DIV_M0 is from 0 to 1.



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

md 3001058 1



Bit fields structure

typedef union  pll_ve_ctrl_reg
{
  struct
  {
   unsigned pll_output_div_m0. : 1;
   unsigned pll_input_div_m1. : 1;
   unsigned unused0 : 6;
   unsigned pll_factor_n : 8;
   unsigned unused1 : 8;
   unsigned pll_sdm_enable : 1;
   unsigned unused2 : 2;
   unsigned pll_output_enable : 1;
   unsigned lock : 1;
   unsigned lock_enable : 1;
   unsigned unused3 : 1;
   unsigned pll_enable : 1;
  } b;
   unsigned long w;
} PLL_VE_CTRL_REG
   

Allwinner H616 Manual