uc-sdk
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SDIO_Private_TypesDefinitions

Macros

#define SDIO_OFFSET   (SDIO_BASE - PERIPH_BASE)
 
#define CLKCR_OFFSET   (SDIO_OFFSET + 0x04)
 
#define CLKEN_BitNumber   0x08
 
#define CLKCR_CLKEN_BB   (PERIPH_BB_BASE + (CLKCR_OFFSET * 32) + (CLKEN_BitNumber * 4))
 
#define CMD_OFFSET   (SDIO_OFFSET + 0x0C)
 
#define SDIOSUSPEND_BitNumber   0x0B
 
#define CMD_SDIOSUSPEND_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (SDIOSUSPEND_BitNumber * 4))
 
#define ENCMDCOMPL_BitNumber   0x0C
 
#define CMD_ENCMDCOMPL_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (ENCMDCOMPL_BitNumber * 4))
 
#define NIEN_BitNumber   0x0D
 
#define CMD_NIEN_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (NIEN_BitNumber * 4))
 
#define ATACMD_BitNumber   0x0E
 
#define CMD_ATACMD_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (ATACMD_BitNumber * 4))
 
#define DCTRL_OFFSET   (SDIO_OFFSET + 0x2C)
 
#define DMAEN_BitNumber   0x03
 
#define DCTRL_DMAEN_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (DMAEN_BitNumber * 4))
 
#define RWSTART_BitNumber   0x08
 
#define DCTRL_RWSTART_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWSTART_BitNumber * 4))
 
#define RWSTOP_BitNumber   0x09
 
#define DCTRL_RWSTOP_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWSTOP_BitNumber * 4))
 
#define RWMOD_BitNumber   0x0A
 
#define DCTRL_RWMOD_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWMOD_BitNumber * 4))
 
#define SDIOEN_BitNumber   0x0B
 
#define DCTRL_SDIOEN_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (SDIOEN_BitNumber * 4))
 
#define CLKCR_CLEAR_MASK   ((uint32_t)0xFFFF8100)
 
#define PWR_PWRCTRL_MASK   ((uint32_t)0xFFFFFFFC)
 
#define DCTRL_CLEAR_MASK   ((uint32_t)0xFFFFFF08)
 
#define CMD_CLEAR_MASK   ((uint32_t)0xFFFFF800)
 
#define SDIO_RESP_ADDR   ((uint32_t)(SDIO_BASE + 0x14))
 

Detailed Description

Macro Definition Documentation

#define ATACMD_BitNumber   0x0E

Definition at line 65 of file stm32f10x_sdio.c.

#define CLKCR_CLEAR_MASK   ((uint32_t)0xFFFF8100)

Definition at line 96 of file stm32f10x_sdio.c.

#define CLKCR_CLKEN_BB   (PERIPH_BB_BASE + (CLKCR_OFFSET * 32) + (CLKEN_BitNumber * 4))

Definition at line 47 of file stm32f10x_sdio.c.

#define CLKCR_OFFSET   (SDIO_OFFSET + 0x04)

Definition at line 45 of file stm32f10x_sdio.c.

#define CLKEN_BitNumber   0x08

Definition at line 46 of file stm32f10x_sdio.c.

#define CMD_ATACMD_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (ATACMD_BitNumber * 4))

Definition at line 66 of file stm32f10x_sdio.c.

#define CMD_CLEAR_MASK   ((uint32_t)0xFFFFF800)

Definition at line 111 of file stm32f10x_sdio.c.

#define CMD_ENCMDCOMPL_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (ENCMDCOMPL_BitNumber * 4))

Definition at line 58 of file stm32f10x_sdio.c.

#define CMD_NIEN_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (NIEN_BitNumber * 4))

Definition at line 62 of file stm32f10x_sdio.c.

#define CMD_OFFSET   (SDIO_OFFSET + 0x0C)

Definition at line 52 of file stm32f10x_sdio.c.

#define CMD_SDIOSUSPEND_BB   (PERIPH_BB_BASE + (CMD_OFFSET * 32) + (SDIOSUSPEND_BitNumber * 4))

Definition at line 54 of file stm32f10x_sdio.c.

#define DCTRL_CLEAR_MASK   ((uint32_t)0xFFFFFF08)

Definition at line 106 of file stm32f10x_sdio.c.

#define DCTRL_DMAEN_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (DMAEN_BitNumber * 4))

Definition at line 73 of file stm32f10x_sdio.c.

#define DCTRL_OFFSET   (SDIO_OFFSET + 0x2C)

Definition at line 71 of file stm32f10x_sdio.c.

#define DCTRL_RWMOD_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWMOD_BitNumber * 4))

Definition at line 85 of file stm32f10x_sdio.c.

#define DCTRL_RWSTART_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWSTART_BitNumber * 4))

Definition at line 77 of file stm32f10x_sdio.c.

#define DCTRL_RWSTOP_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (RWSTOP_BitNumber * 4))

Definition at line 81 of file stm32f10x_sdio.c.

#define DCTRL_SDIOEN_BB   (PERIPH_BB_BASE + (DCTRL_OFFSET * 32) + (SDIOEN_BitNumber * 4))

Definition at line 89 of file stm32f10x_sdio.c.

#define DMAEN_BitNumber   0x03

Definition at line 72 of file stm32f10x_sdio.c.

#define ENCMDCOMPL_BitNumber   0x0C

Definition at line 57 of file stm32f10x_sdio.c.

#define NIEN_BitNumber   0x0D

Definition at line 61 of file stm32f10x_sdio.c.

#define PWR_PWRCTRL_MASK   ((uint32_t)0xFFFFFFFC)

Definition at line 101 of file stm32f10x_sdio.c.

#define RWMOD_BitNumber   0x0A

Definition at line 84 of file stm32f10x_sdio.c.

#define RWSTART_BitNumber   0x08

Definition at line 76 of file stm32f10x_sdio.c.

#define RWSTOP_BitNumber   0x09

Definition at line 80 of file stm32f10x_sdio.c.

#define SDIO_OFFSET   (SDIO_BASE - PERIPH_BASE)

Definition at line 40 of file stm32f10x_sdio.c.

#define SDIO_RESP_ADDR   ((uint32_t)(SDIO_BASE + 0x14))

Definition at line 114 of file stm32f10x_sdio.c.

#define SDIOEN_BitNumber   0x0B

Definition at line 88 of file stm32f10x_sdio.c.

#define SDIOSUSPEND_BitNumber   0x0B

Definition at line 53 of file stm32f10x_sdio.c.