Регистры Allwinner H616

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


RTC_VIO_REG
3.13.5. RTC_VIO Regulate Register - адрес: 0x7000190 (смещение: 0x0190)

Часы реального времени RTC: список регистров



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

  Unused

Bits 31 : 5

  V_SEL

Bit 4
R/W
0x0

0: resistance divider
1: band gap


  Unused

Bit 3

  RTC_VIO_REGU

Bits 2 : 0
R/W
0x4

These bits are useful for regulating the RTC_VIO from 0.6V to 1.3V, and the
regulation step is 0.1V.
000: 1.0V
001: 0.6V (the configuration can cause RTC reset)
010: 0.7V
011: 0.8V
100: 0.9V
101: 1.1V
110: 1.2V
111: 1.3V
RTC-VIO is provided power for RTC digital part, the default value is 0.9V.
After power-on, software sets the field to 0.8V to save power-consumption.



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

md 7000190 1



Bit fields structure

typedef union  rtc_vio_reg
{
  struct
  {
   unsigned rtc_vio_regu : 3;
   unsigned unused0 : 1;
   unsigned v_sel : 1;
   unsigned unused1 : 27;
  } b;
   unsigned long w;
} RTC_VIO_REG
   

Allwinner H616 Manual