Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Initialization and de-initialization functions
[CAN Exported Functions]
Initialization and Configuration functions. More...
Functions | |
HAL_StatusTypeDef | HAL_CAN_Init (CAN_HandleTypeDef *hcan) |
Initialize the CAN peripheral according to the specified parameters in the CAN_InitStruct structure and initialize the associated handle. | |
HAL_StatusTypeDef | HAL_CAN_ConfigFilter (CAN_HandleTypeDef *hcan, CAN_FilterConfTypeDef *sFilterConfig) |
Configure the CAN reception filter according to the specified parameters in the CAN_FilterInitStruct. | |
HAL_StatusTypeDef | HAL_CAN_DeInit (CAN_HandleTypeDef *hcan) |
DeInitialize the CAN peripheral registers to their default reset values. | |
__weak void | HAL_CAN_MspInit (CAN_HandleTypeDef *hcan) |
Initialize the CAN MSP. | |
__weak void | HAL_CAN_MspDeInit (CAN_HandleTypeDef *hcan) |
DeInitialize the CAN MSP. |
Detailed Description
Initialization and Configuration functions.
============================================================================== ##### Initialization and de-initialization functions ##### ============================================================================== [..] This section provides functions allowing to: (+) Initialize and configure the CAN. (+) De-initialize the CAN.
Function Documentation
HAL_StatusTypeDef HAL_CAN_ConfigFilter | ( | CAN_HandleTypeDef * | hcan, |
CAN_FilterConfTypeDef * | sFilterConfig | ||
) |
Configure the CAN reception filter according to the specified parameters in the CAN_FilterInitStruct.
- Parameters:
-
hcan,: pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN. sFilterConfig,: pointer to a CAN_FilterConfTypeDef structure that contains the filter configuration information.
- Return values:
-
None
Definition at line 349 of file stm32l4xx_hal_can.c.
HAL_StatusTypeDef HAL_CAN_DeInit | ( | CAN_HandleTypeDef * | hcan ) |
DeInitialize the CAN peripheral registers to their default reset values.
- Parameters:
-
hcan,: pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
- Return values:
-
HAL status
Definition at line 449 of file stm32l4xx_hal_can.c.
HAL_StatusTypeDef HAL_CAN_Init | ( | CAN_HandleTypeDef * | hcan ) |
Initialize the CAN peripheral according to the specified parameters in the CAN_InitStruct structure and initialize the associated handle.
- Parameters:
-
hcan,: pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
- Return values:
-
HAL status
Definition at line 166 of file stm32l4xx_hal_can.c.
__weak void HAL_CAN_MspDeInit | ( | CAN_HandleTypeDef * | hcan ) |
DeInitialize the CAN MSP.
- Parameters:
-
hcan,: pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
- Return values:
-
None
Definition at line 498 of file stm32l4xx_hal_can.c.
__weak void HAL_CAN_MspInit | ( | CAN_HandleTypeDef * | hcan ) |
Initialize the CAN MSP.
- Parameters:
-
hcan,: pointer to a CAN_HandleTypeDef structure that contains the configuration information for the specified CAN.
- Return values:
-
None
Definition at line 482 of file stm32l4xx_hal_can.c.
Generated on Tue Jul 12 2022 17:38:53 by
