![]() |
STM32F769IDiscovery
1.00
uDANTE Audio Networking with STM32F7 DISCO board
|
macros to handle interrupts and specific clock configurations More...
Macros | |
#define | __SDMMC_ENABLE(__INSTANCE__) ((__INSTANCE__)->CLKCR |= SDMMC_CLKCR_CLKEN) |
Enable the SDMMC device. More... | |
#define | __SDMMC_DISABLE(__INSTANCE__) ((__INSTANCE__)->CLKCR &= ~SDMMC_CLKCR_CLKEN) |
Disable the SDMMC device. More... | |
#define | __SDMMC_DMA_ENABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_DMAEN) |
Enable the SDMMC DMA transfer. More... | |
#define | __SDMMC_DMA_DISABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_DMAEN) |
Disable the SDMMC DMA transfer. More... | |
#define | __SDMMC_ENABLE_IT(__INSTANCE__, __INTERRUPT__) ((__INSTANCE__)->MASK |= (__INTERRUPT__)) |
Enable the SDMMC device interrupt. More... | |
#define | __SDMMC_DISABLE_IT(__INSTANCE__, __INTERRUPT__) ((__INSTANCE__)->MASK &= ~(__INTERRUPT__)) |
Disable the SDMMC device interrupt. More... | |
#define | __SDMMC_GET_FLAG(__INSTANCE__, __FLAG__) (((__INSTANCE__)->STA &(__FLAG__)) != RESET) |
Checks whether the specified SDMMC flag is set or not. More... | |
#define | __SDMMC_CLEAR_FLAG(__INSTANCE__, __FLAG__) ((__INSTANCE__)->ICR = (__FLAG__)) |
Clears the SDMMC pending flags. More... | |
#define | __SDMMC_GET_IT (__INSTANCE__, __INTERRUPT__) (((__INSTANCE__)->STA &(__INTERRUPT__)) == (__INTERRUPT__)) |
Checks whether the specified SDMMC interrupt has occurred or not. More... | |
#define | __SDMMC_CLEAR_IT(__INSTANCE__, __INTERRUPT__) ((__INSTANCE__)->ICR = (__INTERRUPT__)) |
Clears the SDMMC's interrupt pending bits. More... | |
#define | __SDMMC_START_READWAIT_ENABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_RWSTART) |
Enable Start the SD I/O Read Wait operation. More... | |
#define | __SDMMC_START_READWAIT_DISABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_RWSTART) |
Disable Start the SD I/O Read Wait operations. More... | |
#define | __SDMMC_STOP_READWAIT_ENABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_RWSTOP) |
Enable Start the SD I/O Read Wait operation. More... | |
#define | __SDMMC_STOP_READWAIT_DISABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_RWSTOP) |
Disable Stop the SD I/O Read Wait operations. More... | |
#define | __SDMMC_OPERATION_ENABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_SDIOEN) |
Enable the SD I/O Mode Operation. More... | |
#define | __SDMMC_OPERATION_DISABLE(__INSTANCE__) ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_SDIOEN) |
Disable the SD I/O Mode Operation. More... | |
#define | __SDMMC_SUSPEND_CMD_ENABLE(__INSTANCE__) ((__INSTANCE__)->CMD |= SDMMC_CMD_SDIOSUSPEND) |
Enable the SD I/O Suspend command sending. More... | |
#define | __SDMMC_SUSPEND_CMD_DISABLE(__INSTANCE__) ((__INSTANCE__)->CMD &= ~SDMMC_CMD_SDIOSUSPEND) |
Disable the SD I/O Suspend command sending. More... | |
macros to handle interrupts and specific clock configurations
#define __SDMMC_CLEAR_FLAG | ( | __INSTANCE__, | |
__FLAG__ | |||
) | ((__INSTANCE__)->ICR = (__FLAG__)) |
Clears the SDMMC pending flags.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>FLAG</strong> | specifies the flag to clear. This parameter can be one or a combination of the following values:
|
None |
Definition at line 620 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_CLEAR_IT | ( | __INSTANCE__, | |
__INTERRUPT__ | |||
) | ((__INSTANCE__)->ICR = (__INTERRUPT__)) |
Clears the SDMMC's interrupt pending bits.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>INTERRUPT</strong> | specifies the interrupt pending bit to clear. This parameter can be one or a combination of the following values:
|
None |
Definition at line 670 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->CLKCR &= ~SDMMC_CLKCR_CLKEN) |
Disable the SDMMC device.
<strong>INSTANCE</strong> | SDMMC Instance |
None |
Definition at line 493 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_DISABLE_IT | ( | __INSTANCE__, | |
__INTERRUPT__ | |||
) | ((__INSTANCE__)->MASK &= ~(__INTERRUPT__)) |
Disable the SDMMC device interrupt.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>INTERRUPT</strong> | : specifies the SDMMC interrupt sources to be disabled. This parameter can be one or a combination of the following values:
|
None |
Definition at line 568 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_DMA_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_DMAEN) |
Disable the SDMMC DMA transfer.
<strong>INSTANCE</strong> | SDMMC Instance |
None |
Definition at line 506 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_DMA_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_DMAEN) |
Enable the SDMMC DMA transfer.
<strong>INSTANCE</strong> | SDMMC Instance |
None |
Definition at line 500 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->CLKCR |= SDMMC_CLKCR_CLKEN) |
Enable the SDMMC device.
<strong>INSTANCE</strong> | SDMMC Instance |
None |
Definition at line 486 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_ENABLE_IT | ( | __INSTANCE__, | |
__INTERRUPT__ | |||
) | ((__INSTANCE__)->MASK |= (__INTERRUPT__)) |
Enable the SDMMC device interrupt.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>INTERRUPT</strong> | : specifies the SDMMC interrupt sources to be enabled. This parameter can be one or a combination of the following values:
|
None |
Definition at line 537 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_GET_FLAG | ( | __INSTANCE__, | |
__FLAG__ | |||
) | (((__INSTANCE__)->STA &(__FLAG__)) != RESET) |
Checks whether the specified SDMMC flag is set or not.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>FLAG</strong> | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of SDMMC_FLAG (SET or RESET). |
Definition at line 599 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_GET_IT (__INSTANCE__, __INTERRUPT__) (((__INSTANCE__)->STA &(__INTERRUPT__)) == (__INTERRUPT__)) |
Checks whether the specified SDMMC interrupt has occurred or not.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
<strong>INTERRUPT</strong> | specifies the SDMMC interrupt source to check. This parameter can be one of the following values:
|
The | new state of SDMMC_IT (SET or RESET). |
Definition at line 651 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_OPERATION_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_SDIOEN) |
Disable the SD I/O Mode Operation.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 712 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_OPERATION_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_SDIOEN) |
Enable the SD I/O Mode Operation.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 705 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_START_READWAIT_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_RWSTART) |
Disable Start the SD I/O Read Wait operations.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 684 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_START_READWAIT_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_RWSTART) |
Enable Start the SD I/O Read Wait operation.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 677 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_STOP_READWAIT_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL &= ~SDMMC_DCTRL_RWSTOP) |
Disable Stop the SD I/O Read Wait operations.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 698 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_STOP_READWAIT_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->DCTRL |= SDMMC_DCTRL_RWSTOP) |
Enable Start the SD I/O Read Wait operation.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 691 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_SUSPEND_CMD_DISABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->CMD &= ~SDMMC_CMD_SDIOSUSPEND) |
Disable the SD I/O Suspend command sending.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 726 of file stm32f7xx_ll_sdmmc.h.
#define __SDMMC_SUSPEND_CMD_ENABLE | ( | __INSTANCE__ | ) | ((__INSTANCE__)->CMD |= SDMMC_CMD_SDIOSUSPEND) |
Enable the SD I/O Suspend command sending.
<strong>INSTANCE</strong> | : Pointer to SDMMC register base |
None |
Definition at line 719 of file stm32f7xx_ll_sdmmc.h.