Регистры Allwinner H616

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


CE_ESR
10.1.4. Error Status Register - адрес: 0x1904018 0x1904818 (смещение: 0x0018)

Криптосистема : список регистров



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

  TASK_CHAN_3_ERR_TYPE

Bits 31 : 24
R/W1C
0x0

Task channel 3 error type (the same for other channels)

Bit 24: algorithm not support
Bit 25: data length error
Bit 26: keysram access error. Write 1 to clear.
Bit 29: address invalid
Bit 30: reserved
Bit 31: reserved


  TASK_CHAN_2_ERR_TYPE

Bits 23 : 16
R/W1C
0x0

Task channel 2 error type.
Bit 16: algorithm not support
Bit 17: data length error
Bit 18: keysram access error. Write 1 to clear.
Bit 21: address invalid
other: reserved


  TASK_CHAN_1_ERR_TYPE

Bits 15 : 8
R/W1C
0x0

Task channel 1 error type.
Bit 8: algorithm not support
Bit 9: data length error
Bit 10: keysram access error. Write 1 to clear.
Bit 13: address invalid
other: reserved


  TASK_CHAN_0_ERR_TYPE

Bits 7 : 0
R/W1C
0x0

Task channel 0 error type.
Bit 0: algorithm not support
Bit 1: data length error
Bit 2: keysram access error. Write 1 to clear.
Bit 5: address invalid
other: reserved



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

md 1904018 1
md 1904818 1



Bit fields structure

typedef union  ce_esr
{
  struct
  {
   unsigned task_chan_0_err_type : 8;
   unsigned task_chan_1_err_type : 8;
   unsigned task_chan_2_err_type : 8;
   unsigned task_chan_3_err_type : 8;
  } b;
   unsigned long w;
} CE_ESR
   

Allwinner H616 Manual