STM32H735xx HAL User Manual
|
Defines | |
#define | __HAL_ETH_RESET_HANDLE_STATE(__HANDLE__) |
Reset ETH handle state. | |
#define | __HAL_ETH_DMA_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DMACIER |= (__INTERRUPT__)) |
Enables the specified ETHERNET DMA interrupts. | |
#define | __HAL_ETH_DMA_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DMACIER &= ~(__INTERRUPT__)) |
Disables the specified ETHERNET DMA interrupts. | |
#define | __HAL_ETH_DMA_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->DMACIER & (__INTERRUPT__)) == (__INTERRUPT__)) |
Gets the ETHERNET DMA IT source enabled or disabled. | |
#define | __HAL_ETH_DMA_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->DMACSR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Gets the ETHERNET DMA IT pending bit. | |
#define | __HAL_ETH_DMA_CLEAR_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->DMACSR = (__INTERRUPT__)) |
Clears the ETHERNET DMA IT pending bit. | |
#define | __HAL_ETH_DMA_GET_FLAG(__HANDLE__, __FLAG__) (((__HANDLE__)->Instance->DMACSR &( __FLAG__)) == ( __FLAG__)) |
Checks whether the specified ETHERNET DMA flag is set or not. | |
#define | __HAL_ETH_DMA_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->DMACSR = ( __FLAG__)) |
Clears the specified ETHERNET DMA flag. | |
#define | __HAL_ETH_MAC_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->MACIER |= (__INTERRUPT__)) |
Enables the specified ETHERNET MAC interrupts. | |
#define | __HAL_ETH_MAC_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->MACIER &= ~(__INTERRUPT__)) |
Disables the specified ETHERNET MAC interrupts. | |
#define | __HAL_ETH_MAC_GET_IT(__HANDLE__, __INTERRUPT__) (((__HANDLE__)->Instance->MACISR &( __INTERRUPT__)) == ( __INTERRUPT__)) |
Checks whether the specified ETHERNET MAC flag is set or not. | |
#define | ETH_WAKEUP_EXTI_LINE ((uint32_t)0x00400000U) /* !< 86 - 64 = 22 */ |
#define | __HAL_ETH_WAKEUP_EXTI_ENABLE_IT(__EXTI_LINE__) (EXTI_D1->IMR3 |= (__EXTI_LINE__)) |
Enable the ETH WAKEUP Exti Line. | |
#define | __HAL_ETH_WAKEUP_EXTI_GET_FLAG(__EXTI_LINE__) (EXTI_D1->PR3 & (__EXTI_LINE__)) |
checks whether the specified ETH WAKEUP Exti interrupt flag is set or not. | |
#define | __HAL_ETH_WAKEUP_EXTI_CLEAR_FLAG(__EXTI_LINE__) (EXTI_D1->PR3 = (__EXTI_LINE__)) |
Clear the ETH WAKEUP Exti flag. | |
#define | __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_EDGE(__EXTI_LINE__) |
enable rising edge interrupt on selected EXTI line. | |
#define | __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLING_EDGE(__EXTI_LINE__) |
enable falling edge interrupt on selected EXTI line. | |
#define | __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE(__EXTI_LINE__) |
enable falling edge interrupt on selected EXTI line. | |
#define | __HAL_ETH_WAKEUP_EXTI_GENERATE_SWIT(__EXTI_LINE__) (EXTI->SWIER3 |= (__EXTI_LINE__)) |
Generates a Software interrupt on selected EXTI line. |
#define __HAL_ETH_DMA_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->DMACSR = ( __FLAG__)) |
Clears the specified ETHERNET DMA flag.
__HANDLE__,: | ETH Handle |
__FLAG__,: | specifies the flag to check. ETH DMA Status Flags |
The | state of ETH DMA FLAG (SET or RESET). |
Definition at line 1440 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_DMA_CLEAR_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->DMACSR = (__INTERRUPT__)) |
Clears the ETHERNET DMA IT pending bit.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the interrupt pending bit to clear. ETH DMA Interrupts |
None |
Definition at line 1424 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define __HAL_ETH_DMA_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->DMACIER &= ~(__INTERRUPT__)) |
Disables the specified ETHERNET DMA interrupts.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the ETHERNET DMA interrupt sources to be disabled. ETH DMA Interrupts |
None |
Definition at line 1400 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler(), and HAL_ETH_Stop_IT().
#define __HAL_ETH_DMA_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->DMACIER |= (__INTERRUPT__)) |
Enables the specified ETHERNET DMA interrupts.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the ETHERNET DMA interrupt sources to be enabled ETH DMA Interrupts |
None |
Definition at line 1391 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_Start_IT().
#define __HAL_ETH_DMA_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | (((__HANDLE__)->Instance->DMACSR &( __FLAG__)) == ( __FLAG__)) |
Checks whether the specified ETHERNET DMA flag is set or not.
__HANDLE__,: | ETH Handle |
__FLAG__,: | specifies the flag to check. ETH DMA Status Flags |
The | state of ETH DMA FLAG (SET or RESET). |
Definition at line 1432 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_DMA_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->DMACSR & (__INTERRUPT__)) == (__INTERRUPT__)) |
Gets the ETHERNET DMA IT pending bit.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the interrupt source to get . ETH DMA Interrupts |
The | state of ETH DMA IT (SET or RESET) |
Definition at line 1416 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define __HAL_ETH_DMA_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->DMACIER & (__INTERRUPT__)) == (__INTERRUPT__)) |
Gets the ETHERNET DMA IT source enabled or disabled.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the interrupt source to get . ETH DMA Interrupts |
The | ETH DMA IT Source enabled or disabled |
Definition at line 1408 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define __HAL_ETH_MAC_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->MACIER &= ~(__INTERRUPT__)) |
Disables the specified ETHERNET MAC interrupts.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the ETHERNET MAC interrupt sources to be enabled ETH MAC Interrupts |
None |
Definition at line 1458 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_ExitPowerDownMode(), and HAL_ETHEx_ExitLPIMode().
#define __HAL_ETH_MAC_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->MACIER |= (__INTERRUPT__)) |
Enables the specified ETHERNET MAC interrupts.
__HANDLE__ | : ETH Handle |
__INTERRUPT__,: | specifies the ETHERNET MAC interrupt sources to be enabled ETH MAC Interrupts |
None |
Definition at line 1449 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_EnterPowerDownMode(), and HAL_ETHEx_EnterLPIMode().
#define __HAL_ETH_MAC_GET_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | (((__HANDLE__)->Instance->MACISR &( __INTERRUPT__)) == ( __INTERRUPT__)) |
Checks whether the specified ETHERNET MAC flag is set or not.
__HANDLE__,: | ETH Handle |
__INTERRUPT__,: | specifies the flag to check. ETH MAC Interrupts |
The | state of ETH MAC IT (SET or RESET). External interrupt line 86 Connected to the ETH wakeup EXTI Line |
Definition at line 1466 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define __HAL_ETH_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->gState = HAL_ETH_STATE_RESET; \ (__HANDLE__)->RxState = HAL_ETH_STATE_RESET; \ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ } while(0)
Reset ETH handle state.
__HANDLE__,: | specifies the ETH handle. |
None |
Definition at line 1371 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_CLEAR_FLAG | ( | __EXTI_LINE__ | ) | (EXTI_D1->PR3 = (__EXTI_LINE__)) |
Clear the ETH WAKEUP Exti flag.
__EXTI_LINE__,: | specifies the ETH WAKEUP Exti sources to be cleared.
|
None. |
Definition at line 1495 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLING_EDGE | ( | __EXTI_LINE__ | ) |
(EXTI->RTSR3 &= ~(__EXTI_LINE__));\ (EXTI->FTSR3 |= (__EXTI_LINE__))
enable falling edge interrupt on selected EXTI line.
__EXTI_LINE__,: | specifies the ETH WAKEUP EXTI sources to be disabled.
|
None |
Definition at line 1538 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_ENABLE_IT | ( | __EXTI_LINE__ | ) | (EXTI_D1->IMR3 |= (__EXTI_LINE__)) |
Enable the ETH WAKEUP Exti Line.
__EXTI_LINE__,: | specifies the ETH WAKEUP Exti sources to be enabled.
|
None. |
Definition at line 1479 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_EDGE | ( | __EXTI_LINE__ | ) |
(EXTI->FTSR3 &= ~(__EXTI_LINE__)); \ (EXTI->RTSR3 |= (__EXTI_LINE__))
enable rising edge interrupt on selected EXTI line.
__EXTI_LINE__,: | specifies the ETH WAKEUP EXTI sources to be disabled.
|
None |
Definition at line 1529 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE | ( | __EXTI_LINE__ | ) |
(EXTI->RTSR3 |= (__EXTI_LINE__));\ (EXTI->FTSR3 |= (__EXTI_LINE__))
enable falling edge interrupt on selected EXTI line.
__EXTI_LINE__,: | specifies the ETH WAKEUP EXTI sources to be disabled.
|
None |
Definition at line 1547 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_GENERATE_SWIT | ( | __EXTI_LINE__ | ) | (EXTI->SWIER3 |= (__EXTI_LINE__)) |
Generates a Software interrupt on selected EXTI line.
__EXTI_LINE__,: | specifies the ETH WAKEUP EXTI sources to be disabled.
|
None |
Definition at line 1556 of file stm32h7xx_hal_eth.h.
#define __HAL_ETH_WAKEUP_EXTI_GET_FLAG | ( | __EXTI_LINE__ | ) | (EXTI_D1->PR3 & (__EXTI_LINE__)) |
checks whether the specified ETH WAKEUP Exti interrupt flag is set or not.
__EXTI_LINE__,: | specifies the ETH WAKEUP Exti sources to be cleared.
|
EXTI | ETH WAKEUP Line Status. |
Definition at line 1487 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().
#define ETH_WAKEUP_EXTI_LINE ((uint32_t)0x00400000U) /* !< 86 - 64 = 22 */ |
Definition at line 1471 of file stm32h7xx_hal_eth.h.
Referenced by HAL_ETH_IRQHandler().