STM32H735xx HAL User Manual
|
Defines | |
#define | HAL_PSSI_RESET_HANDLE_STATE(__HANDLE__) |
Reset PSSI handle state. | |
#define | HAL_PSSI_ENABLE(__HANDLE__) ((__HANDLE__)->Instance->CR |= PSSI_CR_ENABLE) |
Enable the PSSI. | |
#define | HAL_PSSI_DISABLE(__HANDLE__) ((__HANDLE__)->Instance->CR &= (~PSSI_CR_ENABLE)) |
Disable the PSSI. | |
#define | HAL_PSSI_GET_STATUS(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->SR & (__FLAG__)) |
Get the PSSI pending flags. | |
#define | HAL_PSSI_GET_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->RIS & (__FLAG__)) |
Get the PSSI pending flags. | |
#define | HAL_PSSI_CLEAR_FLAG(__HANDLE__, __FLAG__) ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the PSSI pending flags. | |
#define | HAL_PSSI_ENABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified PSSI interrupts. | |
#define | HAL_PSSI_DISABLE_IT(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disable the specified PSSI interrupts. | |
#define | HAL_PSSI_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) ((__HANDLE__)->Instance->IER & (__INTERRUPT__)) |
Check whether the specified PSSI interrupt source is enabled or not. | |
#define | IS_PSSI_CONTROL_SIGNAL(__CONTROL__) |
Check whether the PSSI Control signal is valid. | |
#define | IS_PSSI_BUSWIDTH(__BUSWIDTH__) |
Check whether the PSSI Bus Width is valid. | |
#define | IS_PSSI_CLOCK_POLARITY(__CLOCKPOL__) |
Check whether the PSSI Clock Polarity is valid. | |
#define | IS_PSSI_DE_POLARITY(__DEPOL__) |
Check whether the PSSI Data Enable Polarity is valid. | |
#define | IS_PSSI_RDY_POLARITY(__RDYPOL__) |
Check whether the PSSI Ready Polarity is valid. |
#define HAL_PSSI_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->ICR = (__FLAG__)) |
Clear the PSSI pending flags.
__HANDLE__ | PSSI handle |
__FLAG__ | specifies the flag to clear. This parameter can be any combination of the following values:
|
None |
Definition at line 328 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Receive(), and HAL_PSSI_Transmit().
#define HAL_PSSI_DISABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR &= (~PSSI_CR_ENABLE)) |
Disable the PSSI.
__HANDLE__ | PSSI handle |
None. |
Definition at line 292 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_DeInit(), HAL_PSSI_Init(), HAL_PSSI_Receive(), HAL_PSSI_Receive_DMA(), HAL_PSSI_Transmit(), HAL_PSSI_Transmit_DMA(), and PSSI_DMAError().
#define HAL_PSSI_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER &= ~(__INTERRUPT__)) |
Disable the specified PSSI interrupts.
__HANDLE__ | PSSI handle |
__INTERRUPT__ | specifies the PSSI interrupt sources to be disabled. This parameter can be any combination of the following values:
|
None |
Definition at line 348 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Abort_DMA(), HAL_PSSI_IRQHandler(), PSSI_DMAError(), PSSI_DMAReceiveCplt(), PSSI_DMATransmitCplt(), and PSSI_Error().
#define HAL_PSSI_ENABLE | ( | __HANDLE__ | ) | ((__HANDLE__)->Instance->CR |= PSSI_CR_ENABLE) |
Enable the PSSI.
__HANDLE__ | PSSI handle |
None. |
Definition at line 286 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Receive(), HAL_PSSI_Receive_DMA(), HAL_PSSI_Transmit(), and HAL_PSSI_Transmit_DMA().
#define HAL_PSSI_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER |= (__INTERRUPT__)) |
Enable the specified PSSI interrupts.
__HANDLE__ | PSSI handle |
__INTERRUPT__ | specifies the PSSI interrupt sources to be enabled. This parameter can be any combination of the following values:
|
None |
Definition at line 338 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Abort_DMA(), HAL_PSSI_Receive_DMA(), and HAL_PSSI_Transmit_DMA().
#define HAL_PSSI_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->RIS & (__FLAG__)) |
Get the PSSI pending flags.
__HANDLE__ | PSSI handle |
__FLAG__ | flag to check. This parameter can be any combination of the following values:
|
The | state of FLAG. |
Definition at line 318 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_IRQHandler(), HAL_PSSI_Receive(), and HAL_PSSI_Transmit().
#define HAL_PSSI_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ | |||
) | ((__HANDLE__)->Instance->IER & (__INTERRUPT__)) |
Check whether the specified PSSI interrupt source is enabled or not.
__HANDLE__ | PSSI handle |
__INTERRUPT__ | specifies the PSSI interrupt source to check. This parameter can be one of the following values:
|
The | state of INTERRUPT source. |
Definition at line 358 of file stm32h7xx_hal_pssi.h.
#define HAL_PSSI_GET_STATUS | ( | __HANDLE__, | |
__FLAG__ | |||
) | ((__HANDLE__)->Instance->SR & (__FLAG__)) |
Get the PSSI pending flags.
__HANDLE__ | PSSI handle |
__FLAG__ | flag to check. This parameter can be any combination of the following values:
|
The | state of FLAG. |
Definition at line 305 of file stm32h7xx_hal_pssi.h.
Referenced by PSSI_WaitOnStatusUntilTimeout().
#define HAL_PSSI_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
do{ \ (__HANDLE__)->State = HAL_PSSI_STATE_RESET;\ (__HANDLE__)->MspInitCallback = NULL; \ (__HANDLE__)->MspDeInitCallback = NULL; \ }while(0)
Reset PSSI handle state.
__HANDLE__ | specifies the PSSI handle. |
None |
Definition at line 274 of file stm32h7xx_hal_pssi.h.
#define IS_PSSI_BUSWIDTH | ( | __BUSWIDTH__ | ) |
(((__BUSWIDTH__) == HAL_PSSI_8LINES ) || \ ((__BUSWIDTH__) == HAL_PSSI_16LINES ))
Check whether the PSSI Bus Width is valid.
__BUSWIDTH__ | PSSI Bush width |
Valid | or not. |
Definition at line 380 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Init().
#define IS_PSSI_CLOCK_POLARITY | ( | __CLOCKPOL__ | ) |
(((__CLOCKPOL__) == HAL_PSSI_FALLING_EDGE ) || \ ((__CLOCKPOL__) == HAL_PSSI_RISING_EDGE ))
Check whether the PSSI Clock Polarity is valid.
__CLOCKPOL__ | PSSI Clock Polarity |
Valid | or not. |
Definition at line 389 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Init().
#define IS_PSSI_CONTROL_SIGNAL | ( | __CONTROL__ | ) |
(((__CONTROL__) == HAL_PSSI_DE_RDY_DISABLE ) || \ ((__CONTROL__) == HAL_PSSI_RDY_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_DE_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_DE_RDY_ALT_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_MAP_RDY_BIDIR_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_RDY_MAP_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_DE_MAP_ENABLE ) || \ ((__CONTROL__) == HAL_PSSI_MAP_DE_BIDIR_ENABLE ))
Check whether the PSSI Control signal is valid.
__CONTROL__ | Control signals configuration |
Valid | or not. |
Definition at line 366 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Init().
#define IS_PSSI_DE_POLARITY | ( | __DEPOL__ | ) |
(((__DEPOL__) == HAL_PSSI_DEPOL_ACTIVE_LOW ) || \ ((__DEPOL__) == HAL_PSSI_DEPOL_ACTIVE_HIGH ))
Check whether the PSSI Data Enable Polarity is valid.
__DEPOL__ | PSSI DE Polarity |
Valid | or not. |
Definition at line 397 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Init().
#define IS_PSSI_RDY_POLARITY | ( | __RDYPOL__ | ) |
(((__RDYPOL__) == HAL_PSSI_RDYPOL_ACTIVE_LOW ) || \ ((__RDYPOL__) == HAL_PSSI_RDYPOL_ACTIVE_HIGH ))
Check whether the PSSI Ready Polarity is valid.
__RDYPOL__ | PSSI RDY Polarity |
Valid | or not. |
Definition at line 405 of file stm32h7xx_hal_pssi.h.
Referenced by HAL_PSSI_Init().