RTEMS 6.1-rc4
|
Macros | |
#define | __HAL_HSEM_SEMID_TO_MASK(__SEMID__) (1 << (__SEMID__)) |
SemID to mask helper Macro. | |
#define | __HAL_HSEM_ENABLE_IT(__SEM_MASK__) (HSEM->IER |= (__SEM_MASK__)) |
Enables the specified HSEM interrupts. | |
#define | __HAL_HSEM_DISABLE_IT(__SEM_MASK__) (HSEM->IER &= ~(__SEM_MASK__)) |
Disables the specified HSEM interrupts. | |
#define | __HAL_HSEM_GET_IT(__SEM_MASK__) ((__SEM_MASK__) & HSEM->MISR) |
Checks whether interrupt has occurred or not for semaphores specified by a mask. | |
#define | __HAL_HSEM_GET_FLAG(__SEM_MASK__) ((__SEM_MASK__) & HSEM->ISR) |
Get the semaphores release status flags. | |
#define | __HAL_HSEM_CLEAR_FLAG(__SEM_MASK__) (HSEM->ICR |= (__SEM_MASK__)) |
Clears the HSEM Interrupt flags. | |
#define __HAL_HSEM_CLEAR_FLAG | ( | __SEM_MASK__ | ) | (HSEM->ICR |= (__SEM_MASK__)) |
Clears the HSEM Interrupt flags.
__SEM_MASK__ | semaphores Mask |
None. |
#define __HAL_HSEM_DISABLE_IT | ( | __SEM_MASK__ | ) | (HSEM->IER &= ~(__SEM_MASK__)) |
Disables the specified HSEM interrupts.
__SEM_MASK__ | semaphores Mask |
None. |
#define __HAL_HSEM_ENABLE_IT | ( | __SEM_MASK__ | ) | (HSEM->IER |= (__SEM_MASK__)) |
Enables the specified HSEM interrupts.
__SEM_MASK__ | semaphores Mask |
None. |
#define __HAL_HSEM_GET_FLAG | ( | __SEM_MASK__ | ) | ((__SEM_MASK__) & HSEM->ISR) |
Get the semaphores release status flags.
__SEM_MASK__ | semaphores Mask |
semaphores | Mask : Semaphores where Release flags rise. |
#define __HAL_HSEM_GET_IT | ( | __SEM_MASK__ | ) | ((__SEM_MASK__) & HSEM->MISR) |
Checks whether interrupt has occurred or not for semaphores specified by a mask.
__SEM_MASK__ | semaphores Mask |
semaphores | Mask : Semaphores where an interrupt occurred. |
#define __HAL_HSEM_SEMID_TO_MASK | ( | __SEMID__ | ) | (1 << (__SEMID__)) |
SemID to mask helper Macro.
__SEMID__ | semaphore ID from 0 to 31 |
Semaphore | Mask. |