Basic_Frame_TypeC_2023_Omni
|
This file provides code for the configuration of the CAN instances. More...
#include "can.h"
Functions | |
void | MX_CAN1_Init (void) |
void | MX_CAN2_Init (void) |
void | HAL_CAN_MspInit (CAN_HandleTypeDef *canHandle) |
void | HAL_CAN_MspDeInit (CAN_HandleTypeDef *canHandle) |
void | can_filter_enable (CAN_HandleTypeDef *hcan) |
void | can_filter_disable (CAN_HandleTypeDef *hcan) |
Variables | |
CAN_HandleTypeDef | hcan1 |
CAN_HandleTypeDef | hcan2 |
This file provides code for the configuration of the CAN instances.
Copyright (c) 2023 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
void HAL_CAN_MspDeInit | ( | CAN_HandleTypeDef * | canHandle | ) |
CAN1 GPIO Configuration PD0 ------> CAN1_RX PD1 ------> CAN1_TX
CAN2 GPIO Configuration PB5 ------> CAN2_RX PB6 ------> CAN2_TX
void HAL_CAN_MspInit | ( | CAN_HandleTypeDef * | canHandle | ) |
CAN1 GPIO Configuration PD0 ------> CAN1_RX PD1 ------> CAN1_TX
CAN2 GPIO Configuration PB5 ------> CAN2_RX PB6 ------> CAN2_TX