Регистры Allwinner H616

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


CCR
9.9.5. Capture Control Register - адрес: 0x600000c300c014 (смещение: 0x0060+0x000C+N*0x0020(N=1~4))

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



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

  Unused

Bits 31 : 3

  CRLF

Bit 2
R/W1C
0x0

When capture channel captures rising edge, the 16-bit up-counter's current
value is latched to CRLR and then this bit is set to 1 by hardware.
Write 1 to clear this bit.


  CFLF

Bit 1
R/W1C
0x0

When capture channel captures falling edge, the 16-bit up-counter's current
value is latched to CFLR and then this bit is set to 1 by hardware.
Write 1 to clear this bit.


  CAPINV

Bit 0
R/W
0x0

Inversing the signal inputted from capture channel before capture channel's
16-bit counter.
0: not inverse
1: inverse



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

md 600000c300c014 1



Bit fields structure

typedef union  ccr
{
  struct
  {
   unsigned capinv : 1;
   unsigned cflf : 1;
   unsigned crlf : 1;
   unsigned unused0 : 29;
  } b;
   unsigned long w;
} CCR
   

Allwinner H616 Manual