| M480 BSP V3.05.001 The Board Support Package for M480 Series

Data Structures
sdh_reg.h File Reference

SDH register definition header file. More...

Go to the source code of this file.

## Data Structures
struct | SDH_T

## Macros
#define | SDH_DMACTL_DMAEN_Pos (0)
#define | SDH_DMACTL_DMAEN_Msk (0x1ul << SDH_DMACTL_DMAEN_Pos)
#define | SDH_DMACTL_DMARST_Pos (1)
#define | SDH_DMACTL_DMARST_Msk (0x1ul << SDH_DMACTL_DMARST_Pos)
#define | SDH_DMACTL_SGEN_Pos (3)
#define | SDH_DMACTL_SGEN_Msk (0x1ul << SDH_DMACTL_SGEN_Pos)
#define | SDH_DMACTL_DMABUSY_Pos (9)
#define | SDH_DMACTL_DMABUSY_Msk (0x1ul << SDH_DMACTL_DMABUSY_Pos)
#define | SDH_DMASA_ORDER_Pos (0)
#define | SDH_DMASA_ORDER_Msk (0x1ul << SDH_DMASA_ORDER_Pos)
#define | SDH_DMASA_DMASA_Pos (1)
#define | SDH_DMASA_DMASA_Msk (0x7ffffffful << SDH_DMASA_DMASA_Pos)
#define | SDH_DMABCNT_BCNT_Pos (0)
#define | SDH_DMABCNT_BCNT_Msk (0x3fffffful << SDH_DMABCNT_BCNT_Pos)
#define | SDH_DMAINTEN_ABORTIEN_Pos (0)
#define | SDH_DMAINTEN_ABORTIEN_Msk (0x1ul << SDH_DMAINTEN_ABORTIEN_Pos)
#define | SDH_DMAINTEN_WEOTIEN_Pos (1)
#define | SDH_DMAINTEN_WEOTIEN_Msk (0x1ul << SDH_DMAINTEN_WEOTIEN_Pos)
#define | SDH_DMAINTSTS_ABORTIF_Pos (0)
#define | SDH_DMAINTSTS_ABORTIF_Msk (0x1ul << SDH_DMAINTSTS_ABORTIF_Pos)
#define | SDH_DMAINTSTS_WEOTIF_Pos (1)
#define | SDH_DMAINTSTS_WEOTIF_Msk (0x1ul << SDH_DMAINTSTS_WEOTIF_Pos)
#define | SDH_GCTL_GCTLRST_Pos (0)
#define | SDH_GCTL_GCTLRST_Msk (0x1ul << SDH_GCTL_GCTLRST_Pos)
#define | SDH_GCTL_SDEN_Pos (1)
#define | SDH_GCTL_SDEN_Msk (0x1ul << SDH_GCTL_SDEN_Pos)
#define | SDH_GINTEN_DTAIEN_Pos (0)
#define | SDH_GINTEN_DTAIEN_Msk (0x1ul << SDH_GINTEN_DTAIEN_Pos)
#define | SDH_GINTSTS_DTAIF_Pos (0)
#define | SDH_GINTSTS_DTAIF_Msk (0x1ul << SDH_GINTSTS_DTAIF_Pos)
#define | SDH_CTL_COEN_Pos (0)
#define | SDH_CTL_COEN_Msk (0x1ul << SDH_CTL_COEN_Pos)
#define | SDH_CTL_RIEN_Pos (1)
#define | SDH_CTL_RIEN_Msk (0x1ul << SDH_CTL_RIEN_Pos)
#define | SDH_CTL_DIEN_Pos (2)
#define | SDH_CTL_DIEN_Msk (0x1ul << SDH_CTL_DIEN_Pos)
#define | SDH_CTL_DOEN_Pos (3)
#define | SDH_CTL_DOEN_Msk (0x1ul << SDH_CTL_DOEN_Pos)
#define | SDH_CTL_R2EN_Pos (4)
#define | SDH_CTL_R2EN_Msk (0x1ul << SDH_CTL_R2EN_Pos)
#define | SDH_CTL_CLK74OEN_Pos (5)
#define | SDH_CTL_CLK74OEN_Msk (0x1ul << SDH_CTL_CLK74OEN_Pos)
#define | SDH_CTL_CLK8OEN_Pos (6)
#define | SDH_CTL_CLK8OEN_Msk (0x1ul << SDH_CTL_CLK8OEN_Pos)
#define | SDH_CTL_CLKKEEP_Pos (7)
#define | SDH_CTL_CLKKEEP_Msk (0x1ul << SDH_CTL_CLKKEEP_Pos)
#define | SDH_CTL_CMDCODE_Pos (8)
#define | SDH_CTL_CMDCODE_Msk (0x3ful << SDH_CTL_CMDCODE_Pos)
#define | SDH_CTL_CTLRST_Pos (14)
#define | SDH_CTL_CTLRST_Msk (0x1ul << SDH_CTL_CTLRST_Pos)
#define | SDH_CTL_DBW_Pos (15)
#define | SDH_CTL_DBW_Msk (0x1ul << SDH_CTL_DBW_Pos)
#define | SDH_CTL_BLKCNT_Pos (16)
#define | SDH_CTL_BLKCNT_Msk (0xfful << SDH_CTL_BLKCNT_Pos)
#define | SDH_CTL_SDNWR_Pos (24)
#define | SDH_CTL_SDNWR_Msk (0xful << SDH_CTL_SDNWR_Pos)
#define | SDH_CMDARG_ARGUMENT_Pos (0)
#define | SDH_CMDARG_ARGUMENT_Msk (0xfffffffful << SDH_CMDARG_ARGUMENT_Pos)
#define | SDH_INTEN_BLKDIEN_Pos (0)
#define | SDH_INTEN_BLKDIEN_Msk (0x1ul << SDH_INTEN_BLKDIEN_Pos)
#define | SDH_INTEN_CRCIEN_Pos (1)
#define | SDH_INTEN_CRCIEN_Msk (0x1ul << SDH_INTEN_CRCIEN_Pos)
#define | SDH_INTEN_CDIEN_Pos (8)
#define | SDH_INTEN_CDIEN_Msk (0x1ul << SDH_INTEN_CDIEN_Pos)
#define | SDH_INTEN_RTOIEN_Pos (12)
#define | SDH_INTEN_RTOIEN_Msk (0x1ul << SDH_INTEN_RTOIEN_Pos)
#define | SDH_INTEN_DITOIEN_Pos (13)
#define | SDH_INTEN_DITOIEN_Msk (0x1ul << SDH_INTEN_DITOIEN_Pos)
#define | SDH_INTEN_WKIEN_Pos (14)
#define | SDH_INTEN_WKIEN_Msk (0x1ul << SDH_INTEN_WKIEN_Pos)
#define | SDH_INTEN_CDSRC_Pos (30)
#define | SDH_INTEN_CDSRC_Msk (0x1ul << SDH_INTEN_CDSRC_Pos)
#define | SDH_INTSTS_BLKDIF_Pos (0)
#define | SDH_INTSTS_BLKDIF_Msk (0x1ul << SDH_INTSTS_BLKDIF_Pos)
#define | SDH_INTSTS_CRCIF_Pos (1)
#define | SDH_INTSTS_CRCIF_Msk (0x1ul << SDH_INTSTS_CRCIF_Pos)
#define | SDH_INTSTS_CRC7_Pos (2)
#define | SDH_INTSTS_CRC7_Msk (0x1ul << SDH_INTSTS_CRC7_Pos)
#define | SDH_INTSTS_CRC16_Pos (3)
#define | SDH_INTSTS_CRC16_Msk (0x1ul << SDH_INTSTS_CRC16_Pos)
#define | SDH_INTSTS_CRCSTS_Pos (4)
#define | SDH_INTSTS_CRCSTS_Msk (0x7ul << SDH_INTSTS_CRCSTS_Pos)
#define | SDH_INTSTS_DAT0STS_Pos (7)
#define | SDH_INTSTS_DAT0STS_Msk (0x1ul << SDH_INTSTS_DAT0STS_Pos)
#define | SDH_INTSTS_CDIF_Pos (8)
#define | SDH_INTSTS_CDIF_Msk (0x1ul << SDH_INTSTS_CDIF_Pos)
#define | SDH_INTSTS_RTOIF_Pos (12)
#define | SDH_INTSTS_RTOIF_Msk (0x1ul << SDH_INTSTS_RTOIF_Pos)
#define | SDH_INTSTS_DITOIF_Pos (13)
#define | SDH_INTSTS_DITOIF_Msk (0x1ul << SDH_INTSTS_DITOIF_Pos)
#define | SDH_INTSTS_CDSTS_Pos (16)
#define | SDH_INTSTS_CDSTS_Msk (0x1ul << SDH_INTSTS_CDSTS_Pos)
#define | SDH_INTSTS_DAT1STS_Pos (18)
#define | SDH_INTSTS_DAT1STS_Msk (0x1ul << SDH_INTSTS_DAT1STS_Pos)
#define | SDH_RESP0_RESPTK0_Pos (0)
#define | SDH_RESP0_RESPTK0_Msk (0xfffffffful << SDH_RESP0_RESPTK0_Pos)
#define | SDH_RESP1_RESPTK1_Pos (0)
#define | SDH_RESP1_RESPTK1_Msk (0xfful << SDH_RESP1_RESPTK1_Pos)
#define | SDH_BLEN_BLKLEN_Pos (0)
#define | SDH_BLEN_BLKLEN_Msk (0x7fful << SDH_BLEN_BLKLEN_Pos)
#define | SDH_TOUT_TOUT_Pos (0)
#define | SDH_TOUT_TOUT_Msk (0xfffffful << SDH_TOUT_TOUT_Pos)

## Detailed Description

SDH register definition header file.

Version
  V1.00 SPDX-License-Identifier: Apache-2.0

Copyright
  (C) 2017-2020 Nuvoton Technology Corp. All rights reserved.

Definition in file sdh_reg.h.