SDIO_Private_TypesDefinitions
[SDIO]

Defines

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

Define Documentation

#define ATACMD_BitNumber   0x0E

Definition at line 64 of file stm32f10x_sdio.c.

#define CLKCR_CLEAR_MASK   ((uint32_t)0xFFFF8100)

Definition at line 95 of file stm32f10x_sdio.c.

Referenced by SDIO_Init().

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

Definition at line 46 of file stm32f10x_sdio.c.

Referenced by SDIO_ClockCmd().

#define CLKCR_OFFSET   (SDIO_OFFSET + 0x04)

Definition at line 44 of file stm32f10x_sdio.c.

#define CLKEN_BitNumber   0x08

Definition at line 45 of file stm32f10x_sdio.c.

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

Definition at line 65 of file stm32f10x_sdio.c.

Referenced by SDIO_SendCEATACmd().

#define CMD_CLEAR_MASK   ((uint32_t)0xFFFFF800)

Definition at line 110 of file stm32f10x_sdio.c.

Referenced by SDIO_SendCommand().

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

Definition at line 57 of file stm32f10x_sdio.c.

Referenced by SDIO_CommandCompletionCmd().

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

Definition at line 61 of file stm32f10x_sdio.c.

Referenced by SDIO_CEATAITCmd().

#define CMD_OFFSET   (SDIO_OFFSET + 0x0C)

Definition at line 51 of file stm32f10x_sdio.c.

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

Definition at line 53 of file stm32f10x_sdio.c.

Referenced by SDIO_SendSDIOSuspendCmd().

#define DCTRL_CLEAR_MASK   ((uint32_t)0xFFFFFF08)

Definition at line 105 of file stm32f10x_sdio.c.

Referenced by SDIO_DataConfig().

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

Definition at line 72 of file stm32f10x_sdio.c.

Referenced by SDIO_DMACmd().

#define DCTRL_OFFSET   (SDIO_OFFSET + 0x2C)

Definition at line 70 of file stm32f10x_sdio.c.

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

Definition at line 84 of file stm32f10x_sdio.c.

Referenced by SDIO_SetSDIOReadWaitMode().

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

Definition at line 76 of file stm32f10x_sdio.c.

Referenced by SDIO_StartSDIOReadWait().

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

Definition at line 80 of file stm32f10x_sdio.c.

Referenced by SDIO_StopSDIOReadWait().

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

Definition at line 88 of file stm32f10x_sdio.c.

Referenced by SDIO_SetSDIOOperation().

#define DMAEN_BitNumber   0x03

Definition at line 71 of file stm32f10x_sdio.c.

#define ENCMDCOMPL_BitNumber   0x0C

Definition at line 56 of file stm32f10x_sdio.c.

#define NIEN_BitNumber   0x0D

Definition at line 60 of file stm32f10x_sdio.c.

#define PWR_PWRCTRL_MASK   ((uint32_t)0xFFFFFFFC)

Definition at line 100 of file stm32f10x_sdio.c.

Referenced by SDIO_GetPowerState(), and SDIO_SetPowerState().

#define RWMOD_BitNumber   0x0A

Definition at line 83 of file stm32f10x_sdio.c.

#define RWSTART_BitNumber   0x08

Definition at line 75 of file stm32f10x_sdio.c.

#define RWSTOP_BitNumber   0x09

Definition at line 79 of file stm32f10x_sdio.c.

#define SDIO_OFFSET   (SDIO_BASE - PERIPH_BASE)

Definition at line 39 of file stm32f10x_sdio.c.

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

Definition at line 113 of file stm32f10x_sdio.c.

Referenced by SDIO_GetResponse().

#define SDIOEN_BitNumber   0x0B

Definition at line 87 of file stm32f10x_sdio.c.

#define SDIOSUSPEND_BitNumber   0x0B

Definition at line 52 of file stm32f10x_sdio.c.

STM32F10x Standard Peripherals Library: Footer

 

 

 

      For complete documentation on STM32(CORTEX M3) 32-bit Microcontrollers platform visit  www.st.com/STM32