Регистры Allwinner H616

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


TSF_CSR
9.9.5. TSF Control and Status Register - адрес: 0x3019000 (смещение: TSF+0x00)

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



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

  Unused

Bits 31 : 9

  CHANNEL_CHANGE_PID_REQUEST

Bit 8
R/WAC
0x0

This bit is used to send a request to hardware for changing the PID of the channel.
It will be cleared by hardware when the channel changing finish.
Writing '0' has no effect.


  Unused

Bits 7 : 3

  TSF_ENABLE

Bit 2
R/W
0x0

00: Disable TSF Input
01: Enable TSF Input


  Unused

Bit 1

  TSF_GLOBAL_SOFT_RESET

Bit 0
R/WAC
0x0

Writing 1 by software will reset all status and state machine of TSF. And it is cleared by hardware after finish reset.
Writing '0' by software has no effect.



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

md 3019000 1



Bit fields structure

typedef union  tsf_csr
{
  struct
  {
   unsigned tsf_global_soft_reset : 1;
   unsigned unused0 : 1;
   unsigned tsf_enable : 1;
   unsigned unused1 : 5;
   unsigned channel_change_pid_request : 1;
   unsigned unused2 : 23;
  } b;
   unsigned long w;
} TSF_CSR
   

Allwinner H616 Manual