Регистры Allwinner H616

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


CER
9.9.5. Capture Enable Register - адрес: 0x300a044 (смещение: 0x0044)

Контроллер ШИМ: список регистров



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

  Unused

Bits 31 : 5

  CAP4_EN

Bit 4
R/W
0x0

When enable capture function, the 16-bit up-counter starts working and capture channel4 is permitted to capture external falling edge or rising edge.
0: Capture disable
1: Capture enable


  CAP3_EN

Bit 3
R/W
0x0

When enable capture function, the 16-bit up-counter starts working and
capture channel3 is permitted to capture external falling edge or rising edge.
0: Capture disable
1: Capture enable


  CAP2_EN

Bit 2
R/W
0x0

When enable capture function, the 16-bit up-counter starts working and
capture channel2 is permitted to capture external falling edge or rising edge.
0: Capture disable
1: Capture enable


  CAP1_EN

Bit 1
R/W
0x0

When enable capture function, the 16-bit up-counter starts working and
capture channel1 is permitted to capture external falling edge or rising edge.
0: Capture disable
1: Capture enable


  Unused

Bit 0


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

md 300a044 1



Bit fields structure

typedef union  cer
{
  struct
  {
   unsigned unused0 : 1;
   unsigned cap1_en : 1;
   unsigned cap2_en : 1;
   unsigned cap3_en : 1;
   unsigned cap4_en : 1;
   unsigned unused1 : 27;
  } b;
   unsigned long w;
} CER
   

Allwinner H616 Manual