STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
|
Macros | |
#define | __HAL_CAN_RESET_HANDLE_STATE(__HANDLE__) |
Reset CAN handle state. | |
#define | __HAL_CAN_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified CAN interrupts. | |
#define | __HAL_CAN_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified CAN interrupts. | |
#define | __HAL_CAN_MSG_PENDING(__HANDLE__, __FIFONUMBER__) |
Return the number of pending received messages. | |
#define | __HAL_CAN_GET_FLAG(__HANDLE__, __FLAG__) |
Check whether the specified CAN flag is set or not. | |
#define | __HAL_CAN_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the specified CAN pending flag. | |
#define | __HAL_CAN_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check if the specified CAN interrupt source is enabled or disabled. | |
#define | __HAL_CAN_TRANSMIT_STATUS(__HANDLE__, __TRANSMITMAILBOX__) |
Check the transmission status of a CAN Frame. | |
#define | __HAL_CAN_FIFO_RELEASE(__HANDLE__, __FIFONUMBER__) |
Release the specified receive FIFO. | |
#define | __HAL_CAN_CANCEL_TRANSMIT(__HANDLE__, __TRANSMITMAILBOX__) |
Cancel a transmit request. | |
#define | __HAL_CAN_DBG_FREEZE(__HANDLE__, __NEWSTATE__) |
Enable or disable the DBG Freeze for CAN. | |
#define | __HAL_CAN_RESET_HANDLE_STATE(__HANDLE__) |
Reset CAN handle state. | |
#define | __HAL_CAN_ENABLE_IT(__HANDLE__, __INTERRUPT__) |
Enable the specified CAN interrupts. | |
#define | __HAL_CAN_DISABLE_IT(__HANDLE__, __INTERRUPT__) |
Disable the specified CAN interrupts. | |
#define | __HAL_CAN_GET_IT_SOURCE(__HANDLE__, __INTERRUPT__) |
Check if the specified CAN interrupt source is enabled or disabled. | |
#define | __HAL_CAN_GET_FLAG(__HANDLE__, __FLAG__) |
Check whether the specified CAN flag is set or not. | |
#define | __HAL_CAN_CLEAR_FLAG(__HANDLE__, __FLAG__) |
Clear the specified CAN pending flag. | |
#define __HAL_CAN_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_can_legacy.h>
Reset CAN handle state.
__HANDLE__ | specifies the CAN Handle. |
None |
__HANDLE__ | CAN handle. |
None |
Definition at line 477 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Enable the specified CAN interrupts.
__HANDLE__ | CAN handle |
__INTERRUPT__ | CAN Interrupt |
None |
__HANDLE__ | CAN handle. |
__INTERRUPT__ | CAN Interrupt sources to enable. This parameter can be any combination of
|
None |
Definition at line 485 of file stm32f4xx_hal_can_legacy.h.
Referenced by HAL_CAN_ActivateNotification().
#define __HAL_CAN_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Disable the specified CAN interrupts.
__HANDLE__ | CAN handle |
__INTERRUPT__ | CAN Interrupt |
None |
__HANDLE__ | CAN handle. |
__INTERRUPT__ | CAN Interrupt sources to disable. This parameter can be any combination of
|
None |
Definition at line 493 of file stm32f4xx_hal_can_legacy.h.
Referenced by HAL_CAN_DeactivateNotification().
#define __HAL_CAN_MSG_PENDING | ( | __HANDLE__, | |
__FIFONUMBER__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Return the number of pending received messages.
__HANDLE__ | CAN handle |
__FIFONUMBER__ | Receive FIFO number, CAN_FIFO0 or CAN_FIFO1. |
The | number of pending message. |
Definition at line 501 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Check whether the specified CAN flag is set or not.
__HANDLE__ | CAN Handle |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
__HANDLE__ | specifies the CAN Handle. |
__FLAG__ | specifies the flag to check. This parameter can be one of
|
The | state of FLAG (TRUE or FALSE). |
Definition at line 531 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Clear the specified CAN pending flag.
__HANDLE__ | CAN Handle. |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
The | new state of FLAG (TRUE or FALSE). |
__HANDLE__ | specifies the CAN Handle. |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
None |
Definition at line 562 of file stm32f4xx_hal_can_legacy.h.
Referenced by HAL_CAN_IRQHandler().
#define __HAL_CAN_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Check if the specified CAN interrupt source is enabled or disabled.
__HANDLE__ | CAN Handle |
__INTERRUPT__ | specifies the CAN interrupt source to check. This parameter can be one of the following values:
|
The | new state of IT (TRUE or FALSE). |
__HANDLE__ | specifies the CAN Handle. |
__INTERRUPT__ | specifies the CAN interrupt source to check. This parameter can be a value of
|
The | state of IT (TRUE or FALSE). |
Definition at line 577 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_TRANSMIT_STATUS | ( | __HANDLE__, | |
__TRANSMITMAILBOX__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Check the transmission status of a CAN Frame.
__HANDLE__ | CAN Handle |
__TRANSMITMAILBOX__ | the number of the mailbox that is used for transmission. |
The | new status of transmission (TRUE or FALSE). |
Definition at line 585 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_FIFO_RELEASE | ( | __HANDLE__, | |
__FIFONUMBER__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Release the specified receive FIFO.
__HANDLE__ | CAN handle |
__FIFONUMBER__ | Receive FIFO number, CAN_FIFO0 or CAN_FIFO1. |
None |
Definition at line 596 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_CANCEL_TRANSMIT | ( | __HANDLE__, | |
__TRANSMITMAILBOX__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Cancel a transmit request.
__HANDLE__ | CAN Handle |
__TRANSMITMAILBOX__ | the number of the mailbox that is used for transmission. |
None |
Definition at line 605 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_DBG_FREEZE | ( | __HANDLE__, | |
__NEWSTATE__ ) |
#include <stm32f4xx_hal_can_legacy.h>
Enable or disable the DBG Freeze for CAN.
__HANDLE__ | CAN Handle |
__NEWSTATE__ | new state of the CAN peripheral. This parameter can be: ENABLE (CAN reception/transmission is frozen during debug. Reception FIFOs can still be accessed/controlled normally) or DISABLE (CAN is working during debug). |
None |
Definition at line 619 of file stm32f4xx_hal_can_legacy.h.
#define __HAL_CAN_RESET_HANDLE_STATE | ( | __HANDLE__ | ) |
#include <stm32f4xx_hal_can.h>
Reset CAN handle state.
__HANDLE__ | CAN handle. |
None |
Definition at line 562 of file stm32f4xx_hal_can.h.
#define __HAL_CAN_ENABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can.h>
Enable the specified CAN interrupts.
__HANDLE__ | CAN handle. |
__INTERRUPT__ | CAN Interrupt sources to enable. This parameter can be any combination of
|
None |
Definition at line 572 of file stm32f4xx_hal_can.h.
#define __HAL_CAN_DISABLE_IT | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can.h>
Disable the specified CAN interrupts.
__HANDLE__ | CAN handle. |
__INTERRUPT__ | CAN Interrupt sources to disable. This parameter can be any combination of
|
None |
Definition at line 581 of file stm32f4xx_hal_can.h.
#define __HAL_CAN_GET_IT_SOURCE | ( | __HANDLE__, | |
__INTERRUPT__ ) |
#include <stm32f4xx_hal_can.h>
Check if the specified CAN interrupt source is enabled or disabled.
__HANDLE__ | specifies the CAN Handle. |
__INTERRUPT__ | specifies the CAN interrupt source to check. This parameter can be a value of
|
The | state of IT (TRUE or FALSE). |
Definition at line 589 of file stm32f4xx_hal_can.h.
#define __HAL_CAN_GET_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_can.h>
Check whether the specified CAN flag is set or not.
__HANDLE__ | specifies the CAN Handle. |
__FLAG__ | specifies the flag to check. This parameter can be one of
|
The | state of FLAG (TRUE or FALSE). |
Definition at line 597 of file stm32f4xx_hal_can.h.
#define __HAL_CAN_CLEAR_FLAG | ( | __HANDLE__, | |
__FLAG__ ) |
#include <stm32f4xx_hal_can.h>
Clear the specified CAN pending flag.
__HANDLE__ | specifies the CAN Handle. |
__FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
None |
Definition at line 628 of file stm32f4xx_hal_can.h.