Header file of HSEM HAL module. More...
#include "stm32h7xx_hal_def.h"
Go to the source code of this file.
Macros | |
#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_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_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 | IS_HSEM_COREID(__COREID__) ((__COREID__) == HSEM_CPU1_COREID) |
#define | IS_HSEM_KEY(__KEY__) ((__KEY__) <= HSEM_CLEAR_KEY_MAX ) |
#define | IS_HSEM_PROCESSID(__PROCESSID__) ((__PROCESSID__) <= HSEM_PROCESSID_MAX ) |
#define | IS_HSEM_SEMID(__SEMID__) ((__SEMID__) <= HSEM_SEMID_MAX ) |
Functions | |
void | HAL_HSEM_ActivateNotification (uint32_t SemMask) |
void | HAL_HSEM_DeactivateNotification (uint32_t SemMask) |
HAL_StatusTypeDef | HAL_HSEM_FastTake (uint32_t SemID) |
void | HAL_HSEM_FreeCallback (uint32_t SemMask) |
uint32_t | HAL_HSEM_GetClearKey (void) |
void | HAL_HSEM_IRQHandler (void) |
uint32_t | HAL_HSEM_IsSemTaken (uint32_t SemID) |
void | HAL_HSEM_Release (uint32_t SemID, uint32_t ProcessID) |
void | HAL_HSEM_ReleaseAll (uint32_t Key, uint32_t CoreID) |
void | HAL_HSEM_SetClearKey (uint32_t Key) |
HAL_StatusTypeDef | HAL_HSEM_Take (uint32_t SemID, uint32_t ProcessID) |
Header file of HSEM HAL module.
This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause
Definition in file stm32h735/stm32h735g-dk/Drivers/STM32H7xx_HAL_Driver/Inc/stm32h7xx_hal_hsem.h.