Macros
HSEM Exported Macros
Collaboration diagram for HSEM Exported Macros:

Macros

#define __HAL_HSEM_CLEAR_FLAG(__SEM_MASK__)   (HSEM->ICR |= (__SEM_MASK__))
 Clears the HSEM Interrupt flags. More...
 
#define __HAL_HSEM_CLEAR_FLAG(__SEM_MASK__)   (HSEM->ICR |= (__SEM_MASK__))
 Clears the HSEM Interrupt flags. More...
 
#define __HAL_HSEM_DISABLE_IT(__SEM_MASK__)   (HSEM->IER &= ~(__SEM_MASK__))
 Disables the specified HSEM interrupts. More...
 
#define __HAL_HSEM_DISABLE_IT(__SEM_MASK__)   (HSEM->IER &= ~(__SEM_MASK__))
 Disables the specified HSEM interrupts. More...
 
#define __HAL_HSEM_ENABLE_IT(__SEM_MASK__)   (HSEM->IER |= (__SEM_MASK__))
 Enables the specified HSEM interrupts. More...
 
#define __HAL_HSEM_ENABLE_IT(__SEM_MASK__)   (HSEM->IER |= (__SEM_MASK__))
 Enables the specified HSEM interrupts. More...
 
#define __HAL_HSEM_GET_FLAG(__SEM_MASK__)   ((__SEM_MASK__) & HSEM->ISR)
 Get the semaphores release status flags. More...
 
#define __HAL_HSEM_GET_FLAG(__SEM_MASK__)   ((__SEM_MASK__) & HSEM->ISR)
 Get the semaphores release status flags. More...
 
#define __HAL_HSEM_GET_IT(__SEM_MASK__)   ((__SEM_MASK__) & HSEM->MISR)
 Checks whether interrupt has occurred or not for semaphores specified by a mask. More...
 
#define __HAL_HSEM_GET_IT(__SEM_MASK__)   ((__SEM_MASK__) & HSEM->MISR)
 Checks whether interrupt has occurred or not for semaphores specified by a mask. More...
 
#define __HAL_HSEM_SEMID_TO_MASK(__SEMID__)   (1 << (__SEMID__))
 SemID to mask helper Macro. More...
 
#define __HAL_HSEM_SEMID_TO_MASK(__SEMID__)   (1 << (__SEMID__))
 SemID to mask helper Macro. More...
 

Detailed Description

Macro Definition Documentation

◆ __HAL_HSEM_CLEAR_FLAG [1/2]

#define __HAL_HSEM_CLEAR_FLAG (   __SEM_MASK__)    (HSEM->ICR |= (__SEM_MASK__))

Clears the HSEM Interrupt flags.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

Definition at line 112 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_CLEAR_FLAG [2/2]

#define __HAL_HSEM_CLEAR_FLAG (   __SEM_MASK__)    (HSEM->ICR |= (__SEM_MASK__))

Clears the HSEM Interrupt flags.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

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

◆ __HAL_HSEM_DISABLE_IT [1/2]

#define __HAL_HSEM_DISABLE_IT (   __SEM_MASK__)    (HSEM->IER &= ~(__SEM_MASK__))

Disables the specified HSEM interrupts.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

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

◆ __HAL_HSEM_DISABLE_IT [2/2]

#define __HAL_HSEM_DISABLE_IT (   __SEM_MASK__)    (HSEM->IER &= ~(__SEM_MASK__))

Disables the specified HSEM interrupts.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

Definition at line 73 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_ENABLE_IT [1/2]

#define __HAL_HSEM_ENABLE_IT (   __SEM_MASK__)    (HSEM->IER |= (__SEM_MASK__))

Enables the specified HSEM interrupts.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

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

◆ __HAL_HSEM_ENABLE_IT [2/2]

#define __HAL_HSEM_ENABLE_IT (   __SEM_MASK__)    (HSEM->IER |= (__SEM_MASK__))

Enables the specified HSEM interrupts.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
None.

Definition at line 61 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_GET_FLAG [1/2]

#define __HAL_HSEM_GET_FLAG (   __SEM_MASK__)    ((__SEM_MASK__) & HSEM->ISR)

Get the semaphores release status flags.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
semaphoresMask : Semaphores where Release flags rise.

Definition at line 99 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_GET_FLAG [2/2]

#define __HAL_HSEM_GET_FLAG (   __SEM_MASK__)    ((__SEM_MASK__) & HSEM->ISR)

Get the semaphores release status flags.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
semaphoresMask : Semaphores where Release flags rise.

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

◆ __HAL_HSEM_GET_IT [1/2]

#define __HAL_HSEM_GET_IT (   __SEM_MASK__)    ((__SEM_MASK__) & HSEM->MISR)

Checks whether interrupt has occurred or not for semaphores specified by a mask.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
semaphoresMask : Semaphores where an interrupt occurred.

Definition at line 86 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_GET_IT [2/2]

#define __HAL_HSEM_GET_IT (   __SEM_MASK__)    ((__SEM_MASK__) & HSEM->MISR)

Checks whether interrupt has occurred or not for semaphores specified by a mask.

Parameters
<strong>SEM_MASK</strong>semaphores Mask
Return values
semaphoresMask : Semaphores where an interrupt occurred.

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

◆ __HAL_HSEM_SEMID_TO_MASK [1/2]

#define __HAL_HSEM_SEMID_TO_MASK (   __SEMID__)    (1 << (__SEMID__))

SemID to mask helper Macro.

Parameters
<strong>SEMID</strong>semaphore ID from 0 to 31
Return values
SemaphoreMask.

Definition at line 49 of file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.

◆ __HAL_HSEM_SEMID_TO_MASK [2/2]

#define __HAL_HSEM_SEMID_TO_MASK (   __SEMID__)    (1 << (__SEMID__))

SemID to mask helper Macro.

Parameters
<strong>SEMID</strong>semaphore ID from 0 to 31
Return values
SemaphoreMask.

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



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