cantata
Functions | Variables
can.c File Reference

This file provides code for the configuration of the CAN instances. More...

#include "can.h"
Include dependency graph for can.c:

Functions

void MX_CAN_Init (void)
 
void HAL_CAN_MspInit (CAN_HandleTypeDef *canHandle)
 
void HAL_CAN_MspDeInit (CAN_HandleTypeDef *canHandle)
 

Variables

CAN_HandleTypeDef hcan
 

Detailed Description

This file provides code for the configuration of the CAN instances.

Attention

© Copyright (c) 2021 STMicroelectronics. All rights reserved.

This software component is licensed by ST under Ultimate Liberty license SLA0044, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: www.st.com/SLA0044

Function Documentation

◆ HAL_CAN_MspDeInit()

void HAL_CAN_MspDeInit ( CAN_HandleTypeDef *  canHandle)

CAN GPIO Configuration PA11 ---—> CAN_RX PA12 ---—> CAN_TX

◆ HAL_CAN_MspInit()

void HAL_CAN_MspInit ( CAN_HandleTypeDef *  canHandle)

CAN GPIO Configuration PA11 ---—> CAN_RX PA12 ---—> CAN_TX