Регистры Allwinner H616

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


SMHC_INTMASK
5.3.5. Interrupt Mask Register - адрес: 0x4020030 0x4021030 0x4022030 (смещение: 0x0030)

Хост-контроллер SD / MMC (SMHC): список регистров



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

  CARD_REMOVAL_INT_EN

Bit 31
R/W
0x0

Card Removed Interrupt Enable


  CARD_INSERT_INT_EN

Bit 30
R/W
0x0

Card Inserted Interrupt Enable


  Unused

Bits 29 : 17

  SDIO_INT_EN

Bit 16
R/W
0x0

SDIO Interrupt Enable


  DEE_INT_EN

Bit 15
R/W
0x0

Data End-bit Error Interrupt Enable


  ACD_INT_EN

Bit 14
R/W
0x0

Auto Command Done Interrupt Enable


  DSE_BC_INT_EN

Bit 13
R/W
0x0

Data Start Error Interrupt Enable


  CB_IW_INT_EN

Bit 12
R/W
0x0

Command Busy and Illegal Write Interrupt Enable


  FU_FO_INT_EN

Bit 11
R/W
0x0

FIFO Underrun/Overflow Interrupt Enable


  DSTO_VSD_INT_EN

Bit 10
R/W
0x0

Data Starvation Timeout/V1.8 Switch Done Interrupt Enable


  RTO_BACK_INT_EN

Bit 9
R/W
0x0


  DTO_BDS_INT_EN

Bit 8
R/W
0x0

Data Timeout/Boot Data Start Interrupt Enable

Response Timeout/Boot ACK Received Interrupt Enable


  DCE_INT_EN

Bit 7
R/W
0x0

Data CRC Error Interrupt Enable


  RCE_INT_EN

Bit 6
R/W
0x0

Response CRC Error Interrupt Enable


  DRR_INT_EN

Bit 5
R/W
0x0

Data Receive Request Interrupt Enable


  DTR_INT_EN

Bit 4
R/W
0x0

Data Transmit Request Interrupt Enable


  DTC_INT_EN

Bit 3
R/W
0x0

Data Transfer Complete Interrupt Enable


  CC_INT_EN

Bit 2
R/W
0x0

Command Complete Interrupt Enable


  RE_INT_EN

Bit 1
R/W
0x0

Response Error Interrupt Enable


  Unused

Bit 0


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

md 4020030 1
md 4021030 1
md 4022030 1



Bit fields structure

typedef union  smhc_intmask
{
  struct
  {
   unsigned unused0 : 1;
   unsigned re_int_en : 1;
   unsigned cc_int_en : 1;
   unsigned dtc_int_en : 1;
   unsigned dtr_int_en : 1;
   unsigned drr_int_en : 1;
   unsigned rce_int_en : 1;
   unsigned dce_int_en : 1;
   unsigned dto_bds_int_en : 1;
   unsigned rto_back_int_en : 1;
   unsigned dsto_vsd_int_en : 1;
   unsigned fu_fo_int_en : 1;
   unsigned cb_iw_int_en : 1;
   unsigned dse_bc_int_en : 1;
   unsigned acd_int_en : 1;
   unsigned dee_int_en : 1;
   unsigned sdio_int_en : 1;
   unsigned unused1 : 13;
   unsigned card_insert_int_en : 1;
   unsigned card_removal_int_en : 1;
  } b;
   unsigned long w;
} SMHC_INTMASK
   

Allwinner H616 Manual