DIY Logging Volt/Ampmeter
|
Macros | |
#define | __HAL_DMA_RESET_HANDLE_STATE(__HANDLE__) ((__HANDLE__)->State = HAL_DMA_STATE_RESET) |
Reset DMA handle state. More... | |
#define | __HAL_DMA_ENABLE(__HANDLE__) (SET_BIT((__HANDLE__)->Instance->CCR, DMA_CCR_EN)) |
Enable the specified DMA Channel. More... | |
#define | __HAL_DMA_DISABLE(__HANDLE__) (CLEAR_BIT((__HANDLE__)->Instance->CCR, DMA_CCR_EN)) |
Disable the specified DMA Channel. More... | |
#define | __HAL_DMA_ENABLE_IT(__HANDLE__, __INTERRUPT__) (SET_BIT((__HANDLE__)->Instance->CCR, (__INTERRUPT__))) |
Enables the specified DMA Channel interrupts. More... | |
#define | __HAL_DMA_DISABLE_IT(__HANDLE__, __INTERRUPT__) (CLEAR_BIT((__HANDLE__)->Instance->CCR , (__INTERRUPT__))) |
Disable the specified DMA Channel interrupts. More... | |
#define | __HAL_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((((__HANDLE__)->Instance->CCR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified DMA Channel interrupt is enabled or not. More... | |
#define | __HAL_DMA_GET_COUNTER(__HANDLE__) ((__HANDLE__)->Instance->CNDTR) |
Return the number of remaining data units in the current DMA Channel transfer. More... | |
#define __HAL_DMA_DISABLE | ( | __HANDLE__ | ) | (CLEAR_BIT((__HANDLE__)->Instance->CCR, DMA_CCR_EN)) |
Disable the specified DMA Channel.
<strong>HANDLE</strong> | DMA handle |
None |
Definition at line 303 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (CLEAR_BIT((__HANDLE__)->Instance->CCR , (__INTERRUPT__))) |
Disable the specified DMA Channel interrupts.
<strong>HANDLE</strong> | DMA handle |
<strong>INTERRUPT</strong> | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 330 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_ENABLE | ( | __HANDLE__ | ) | (SET_BIT((__HANDLE__)->Instance->CCR, DMA_CCR_EN)) |
Enable the specified DMA Channel.
<strong>HANDLE</strong> | DMA handle |
None |
Definition at line 296 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (SET_BIT((__HANDLE__)->Instance->CCR, (__INTERRUPT__))) |
Enables the specified DMA Channel interrupts.
<strong>HANDLE</strong> | DMA handle |
<strong>INTERRUPT</strong> | specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 318 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_GET_COUNTER | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CNDTR) |
Return the number of remaining data units in the current DMA Channel transfer.
<strong>HANDLE</strong> | DMA handle |
The | number of remaining data units in the current DMA Channel transfer. |
Definition at line 349 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((((__HANDLE__)->Instance->CCR & (__INTERRUPT__)) == (__INTERRUPT__)) ? SET : RESET) |
Check whether the specified DMA Channel interrupt is enabled or not.
<strong>HANDLE</strong> | DMA handle |
<strong>INTERRUPT</strong> | specifies the DMA interrupt source to check. This parameter can be one of the following values:
|
The | state of DMA_IT (SET or RESET). |
Definition at line 342 of file stm32f1xx_hal_dma.h.
#define __HAL_DMA_RESET_HANDLE_STATE | ( | __HANDLE__ | ) | ((__HANDLE__)->State = HAL_DMA_STATE_RESET) |
Reset DMA handle state.
<strong>HANDLE</strong> | DMA handle |
None |
Definition at line 289 of file stm32f1xx_hal_dma.h.