Interrupts management.
More...
Interrupts management.
==============================================================================
##### Interrupts management #####
==============================================================================
[..] This section provides functions allowing to:
(+) HAL_CAN_ActivateNotification : Enable interrupts
(+) HAL_CAN_DeactivateNotification : Disable interrupts
(+) HAL_CAN_IRQHandler : Handles CAN interrupt request
◆ HAL_CAN_ActivateNotification()
HAL_StatusTypeDef HAL_CAN_ActivateNotification |
( |
CAN_HandleTypeDef * |
hcan, |
|
|
uint32_t |
ActiveITs |
|
) |
| |
Enable interrupts.
- Parameters
-
hcan | pointer to an CAN_HandleTypeDef structure that contains the configuration information for the specified CAN. |
ActiveITs | indicates which interrupts will be enabled. This parameter can be any combination of
|
- Return values
-
Definition at line 1661 of file stm32f4xx_hal_can.c.
◆ HAL_CAN_DeactivateNotification()
HAL_StatusTypeDef HAL_CAN_DeactivateNotification |
( |
CAN_HandleTypeDef * |
hcan, |
|
|
uint32_t |
InactiveITs |
|
) |
| |
Disable interrupts.
- Parameters
-
hcan | pointer to an CAN_HandleTypeDef structure that contains the configuration information for the specified CAN. |
InactiveITs | indicates which interrupts will be disabled. This parameter can be any combination of
|
- Return values
-
Definition at line 1694 of file stm32f4xx_hal_can.c.
◆ HAL_CAN_IRQHandler()
Handles CAN interrupt request.
- Parameters
-
hcan | pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN. |
- Return values
-
Definition at line 1725 of file stm32f4xx_hal_can.c.