|
STM32L443xx HAL User Manual
|
macros to handle interrupts and specific clock configurations More...
Defines | |
| #define | __HAL_PCD_ENABLE(__HANDLE__) (void)USB_EnableGlobalInt ((__HANDLE__)->Instance) |
| #define | __HAL_PCD_DISABLE(__HANDLE__) (void)USB_DisableGlobalInt ((__HANDLE__)->Instance) |
| #define | __HAL_PCD_GET_FLAG(__HANDLE__, __INTERRUPT__) |
| #define | __HAL_PCD_CLEAR_FLAG(__HANDLE__, __INTERRUPT__) |
| #define | __HAL_USB_WAKEUP_EXTI_ENABLE_IT() EXTI->IMR1 |= USB_WAKEUP_EXTI_LINE |
| #define | __HAL_USB_WAKEUP_EXTI_DISABLE_IT() EXTI->IMR1 &= ~(USB_WAKEUP_EXTI_LINE) |
macros to handle interrupts and specific clock configurations
| #define __HAL_PCD_CLEAR_FLAG | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) |
(((__HANDLE__)->Instance->ISTR)\ &= (uint16_t)(~(__INTERRUPT__)))
Definition at line 233 of file stm32l4xx_hal_pcd.h.
Referenced by HAL_PCD_IRQHandler().
| #define __HAL_PCD_DISABLE | ( | __HANDLE__ | ) | (void)USB_DisableGlobalInt ((__HANDLE__)->Instance) |
Definition at line 229 of file stm32l4xx_hal_pcd.h.
Referenced by HAL_PCD_Init(), and HAL_PCD_Stop().
| #define __HAL_PCD_ENABLE | ( | __HANDLE__ | ) | (void)USB_EnableGlobalInt ((__HANDLE__)->Instance) |
Definition at line 228 of file stm32l4xx_hal_pcd.h.
Referenced by HAL_PCD_Start().
| #define __HAL_PCD_GET_FLAG | ( | __HANDLE__, | |
| __INTERRUPT__ | |||
| ) |
((USB_ReadInterrupts((__HANDLE__)->Instance)\ & (__INTERRUPT__)) == (__INTERRUPT__))
Definition at line 230 of file stm32l4xx_hal_pcd.h.
| #define __HAL_USB_WAKEUP_EXTI_DISABLE_IT | ( | ) | EXTI->IMR1 &= ~(USB_WAKEUP_EXTI_LINE) |
Definition at line 237 of file stm32l4xx_hal_pcd.h.
| #define __HAL_USB_WAKEUP_EXTI_ENABLE_IT | ( | ) | EXTI->IMR1 |= USB_WAKEUP_EXTI_LINE |
Definition at line 236 of file stm32l4xx_hal_pcd.h.
1.7.6.1