Avalon Firmware
 
Loading...
Searching...
No Matches
fdcan.c File Reference

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

#include "fdcan.h"

Functions

void MX_FDCAN2_Init (void)
 
void MX_FDCAN3_Init (void)
 
void HAL_FDCAN_MspInit (FDCAN_HandleTypeDef *fdcanHandle)
 
void HAL_FDCAN_MspDeInit (FDCAN_HandleTypeDef *fdcanHandle)
 

Variables

FDCAN_HandleTypeDef hfdcan2
 
FDCAN_HandleTypeDef hfdcan3
 
static uint32_t HAL_RCC_FDCAN_CLK_ENABLED =0
 

Detailed Description

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

Attention

Copyright (c) 2024 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.

Function Documentation

◆ HAL_FDCAN_MspDeInit()

void HAL_FDCAN_MspDeInit ( FDCAN_HandleTypeDef * fdcanHandle)

FDCAN2 GPIO Configuration PB5 ------> FDCAN2_RX PB6 ------> FDCAN2_TX

FDCAN3 GPIO Configuration PB3 ------> FDCAN3_RX PB4 ------> FDCAN3_TX

◆ HAL_FDCAN_MspInit()

void HAL_FDCAN_MspInit ( FDCAN_HandleTypeDef * fdcanHandle)

Initializes the peripherals clocks

FDCAN2 GPIO Configuration PB5 ------> FDCAN2_RX PB6 ------> FDCAN2_TX

Initializes the peripherals clocks

FDCAN3 GPIO Configuration PB3 ------> FDCAN3_RX PB4 ------> FDCAN3_TX

◆ MX_FDCAN2_Init()

void MX_FDCAN2_Init ( void )

◆ MX_FDCAN3_Init()

void MX_FDCAN3_Init ( void )

Variable Documentation

◆ HAL_RCC_FDCAN_CLK_ENABLED

uint32_t HAL_RCC_FDCAN_CLK_ENABLED =0
static

◆ hfdcan2

FDCAN_HandleTypeDef hfdcan2

◆ hfdcan3

FDCAN_HandleTypeDef hfdcan3