Macros
MDMA Exported Macros
Collaboration diagram for MDMA Exported Macros:

Macros

#define __HAL_MDMA_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->CIFCR = (__FLAG__))
 Clear the MDMA Stream pending flags. More...
 
#define __HAL_MDMA_CLEAR_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->CIFCR = (__FLAG__))
 Clear the MDMA Stream pending flags. More...
 
#define __HAL_MDMA_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN)
 Disable the specified MDMA Channel. More...
 
#define __HAL_MDMA_DISABLE(__HANDLE__)   ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN)
 Disable the specified MDMA Channel. More...
 
#define __HAL_MDMA_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__))
 Disables the specified MDMA Channel interrupts. More...
 
#define __HAL_MDMA_DISABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__))
 Disables the specified MDMA Channel interrupts. More...
 
#define __HAL_MDMA_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN)
 Enable the specified MDMA Channel. More...
 
#define __HAL_MDMA_ENABLE(__HANDLE__)   ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN)
 Enable the specified MDMA Channel. More...
 
#define __HAL_MDMA_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__))
 Enables the specified MDMA Channel interrupts. More...
 
#define __HAL_MDMA_ENABLE_IT(__HANDLE__, __INTERRUPT__)   ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__))
 Enables the specified MDMA Channel interrupts. More...
 
#define __HAL_MDMA_GET_COUNTER(__HANDLE__)   ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT)
 Returns the number of remaining data in bytes in the current MDMA Channelx transfer. More...
 
#define __HAL_MDMA_GET_COUNTER(__HANDLE__)   ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT)
 Returns the number of remaining data in bytes in the current MDMA Channelx transfer. More...
 
#define __HAL_MDMA_GET_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->CISR & (__FLAG__))
 Get the MDMA Channel pending flags. More...
 
#define __HAL_MDMA_GET_FLAG(__HANDLE__, __FLAG__)   ((__HANDLE__)->Instance->CISR & (__FLAG__))
 Get the MDMA Channel pending flags. More...
 
#define __HAL_MDMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((__HANDLE__)->Instance->CCR & (__INTERRUPT__)))
 Checks whether the specified MDMA Channel interrupt is enabled or not. More...
 
#define __HAL_MDMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__)   (((__HANDLE__)->Instance->CCR & (__INTERRUPT__)))
 Checks whether the specified MDMA Channel interrupt is enabled or not. More...
 
#define __HAL_MDMA_SET_COUNTER(__HANDLE__, __COUNTER__)   ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT))
 Writes the number of data in bytes to be transferred on the MDMA Channelx. More...
 
#define __HAL_MDMA_SET_COUNTER(__HANDLE__, __COUNTER__)   ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT))
 Writes the number of data in bytes to be transferred on the MDMA Channelx. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_MDMA_CLEAR_FLAG [1/2]

#define __HAL_MDMA_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->CIFCR = (__FLAG__))

Clear the MDMA Stream pending flags.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>FLAG</strong>specifies the flag to clear. This parameter can be any combination of the following values:
  • MDMA_FLAG_TE : Transfer Error flag.
  • MDMA_FLAG_CTC : Channel Transfer Complete flag.
  • MDMA_FLAG_BRT : Block Repeat Transfer flag.
  • MDMA_FLAG_BT : Block Transfer complete flag.
  • MDMA_FLAG_BFTC : BuFfer Transfer Complete flag.
Return values
None

Definition at line 569 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_CLEAR_FLAG [2/2]

#define __HAL_MDMA_CLEAR_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->CIFCR = (__FLAG__))

Clear the MDMA Stream pending flags.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>FLAG</strong>specifies the flag to clear. This parameter can be any combination of the following values:
  • MDMA_FLAG_TE : Transfer Error flag.
  • MDMA_FLAG_CTC : Channel Transfer Complete flag.
  • MDMA_FLAG_BRT : Block Repeat Transfer flag.
  • MDMA_FLAG_BT : Block Transfer complete flag.
  • MDMA_FLAG_BFTC : BuFfer Transfer Complete flag.
Return values
None

Definition at line 569 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_DISABLE [1/2]

#define __HAL_MDMA_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN)

Disable the specified MDMA Channel.

Parameters
<strong>HANDLE</strong>MDMA handle
Return values
None

Definition at line 540 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_DISABLE [2/2]

#define __HAL_MDMA_DISABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CCR &= ~MDMA_CCR_EN)

Disable the specified MDMA Channel.

Parameters
<strong>HANDLE</strong>MDMA handle
Return values
None

Definition at line 540 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_DISABLE_IT [1/2]

#define __HAL_MDMA_DISABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__))

Disables the specified MDMA Channel interrupts.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the MDMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
None

Definition at line 597 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_DISABLE_IT [2/2]

#define __HAL_MDMA_DISABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CCR &= ~(__INTERRUPT__))

Disables the specified MDMA Channel interrupts.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the MDMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
None

Definition at line 597 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_ENABLE [1/2]

#define __HAL_MDMA_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN)

Enable the specified MDMA Channel.

Parameters
<strong>HANDLE</strong>MDMA handle
Return values
None

Definition at line 533 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_ENABLE [2/2]

#define __HAL_MDMA_ENABLE (   __HANDLE__)    ((__HANDLE__)->Instance->CCR |= MDMA_CCR_EN)

Enable the specified MDMA Channel.

Parameters
<strong>HANDLE</strong>MDMA handle
Return values
None

Definition at line 533 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_ENABLE_IT [1/2]

#define __HAL_MDMA_ENABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__))

Enables the specified MDMA Channel interrupts.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
None

Definition at line 583 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_ENABLE_IT [2/2]

#define __HAL_MDMA_ENABLE_IT (   __HANDLE__,
  __INTERRUPT__ 
)    ((__HANDLE__)->Instance->CCR |= (__INTERRUPT__))

Enables the specified MDMA Channel interrupts.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the DMA interrupt sources to be enabled or disabled. This parameter can be any combination of the following values:
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
None

Definition at line 583 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_COUNTER [1/2]

#define __HAL_MDMA_GET_COUNTER (   __HANDLE__)    ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT)

Returns the number of remaining data in bytes in the current MDMA Channelx transfer.

Parameters
<strong>HANDLE</strong>: MDMA handle
Return values
Thenumber of remaining data in bytes in the current MDMA Channelx transfer.

Definition at line 625 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_COUNTER [2/2]

#define __HAL_MDMA_GET_COUNTER (   __HANDLE__)    ((__HANDLE__)->Instance->CBNDTR & MDMA_CBNDTR_BNDT)

Returns the number of remaining data in bytes in the current MDMA Channelx transfer.

Parameters
<strong>HANDLE</strong>: MDMA handle
Return values
Thenumber of remaining data in bytes in the current MDMA Channelx transfer.

Definition at line 625 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_FLAG [1/2]

#define __HAL_MDMA_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->CISR & (__FLAG__))

Get the MDMA Channel pending flags.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>FLAG</strong>Get the specified flag. This parameter can be any combination of the following values:
  • MDMA_FLAG_TE : Transfer Error flag.
  • MDMA_FLAG_CTC : Channel Transfer Complete flag.
  • MDMA_FLAG_BRT : Block Repeat Transfer flag.
  • MDMA_FLAG_BT : Block Transfer complete flag.
  • MDMA_FLAG_BFTC : BuFfer Transfer Complete flag.
  • MDMA_FLAG_CRQA : Channel ReQest Active flag.
Return values
Thestate of FLAG (SET or RESET).

Definition at line 555 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_FLAG [2/2]

#define __HAL_MDMA_GET_FLAG (   __HANDLE__,
  __FLAG__ 
)    ((__HANDLE__)->Instance->CISR & (__FLAG__))

Get the MDMA Channel pending flags.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>FLAG</strong>Get the specified flag. This parameter can be any combination of the following values:
  • MDMA_FLAG_TE : Transfer Error flag.
  • MDMA_FLAG_CTC : Channel Transfer Complete flag.
  • MDMA_FLAG_BRT : Block Repeat Transfer flag.
  • MDMA_FLAG_BT : Block Transfer complete flag.
  • MDMA_FLAG_BFTC : BuFfer Transfer Complete flag.
  • MDMA_FLAG_CRQA : Channel request Active flag.
Return values
Thestate of FLAG (SET or RESET).

Definition at line 555 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_IT_SOURCE [1/2]

#define __HAL_MDMA_GET_IT_SOURCE (   __HANDLE__,
  __INTERRUPT__ 
)    (((__HANDLE__)->Instance->CCR & (__INTERRUPT__)))

Checks whether the specified MDMA Channel interrupt is enabled or not.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the MDMA interrupt source to check.
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
Thestate of MDMA_IT (SET or RESET).

Definition at line 610 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_GET_IT_SOURCE [2/2]

#define __HAL_MDMA_GET_IT_SOURCE (   __HANDLE__,
  __INTERRUPT__ 
)    (((__HANDLE__)->Instance->CCR & (__INTERRUPT__)))

Checks whether the specified MDMA Channel interrupt is enabled or not.

Parameters
<strong>HANDLE</strong>MDMA handle
<strong>INTERRUPT</strong>specifies the MDMA interrupt source to check.
  • MDMA_IT_TE : Transfer Error interrupt mask
  • MDMA_IT_CTC : Channel Transfer Complete interrupt mask
  • MDMA_IT_BRT : Block Repeat Transfer interrupt mask
  • MDMA_IT_BT : Block Transfer interrupt mask
  • MDMA_IT_BFTC : BuFfer Transfer Complete interrupt mask
Return values
Thestate of MDMA_IT (SET or RESET).

Definition at line 610 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_SET_COUNTER [1/2]

#define __HAL_MDMA_SET_COUNTER (   __HANDLE__,
  __COUNTER__ 
)    ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT))

Writes the number of data in bytes to be transferred on the MDMA Channelx.

Parameters
<strong>HANDLE</strong>: MDMA handle
<strong>COUNTER</strong>Number of data in bytes to be transferred.
Return values
None

Definition at line 618 of file stm32h747/stm32h747i-disco/CM7/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.

◆ __HAL_MDMA_SET_COUNTER [2/2]

#define __HAL_MDMA_SET_COUNTER (   __HANDLE__,
  __COUNTER__ 
)    ((__HANDLE__)->Instance->CBNDTR |= ((__COUNTER__) & MDMA_CBNDTR_BNDT))

Writes the number of data in bytes to be transferred on the MDMA Channelx.

Parameters
<strong>HANDLE</strong>: MDMA handle
<strong>COUNTER</strong>Number of data in bytes to be transferred.
Return values
None

Definition at line 618 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_mdma.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:08