HF Interface Wrapper 0.1.0-dev
Embedded C++ hardware abstraction layer
Loading...
Searching...
No Matches
hf_stm32_can_config_t Struct Reference

CAN configuration for STM32. More...

#include <StmTypes.h>

Public Member Functions

 hf_stm32_can_config_t () noexcept
 

Public Attributes

hf_stm32_can_type_t can_type
 CAN peripheral type.
 
void * hal_handle
 CAN_HandleTypeDef* or FDCAN_HandleTypeDef*.
 
hf_u32_t default_timeout_ms
 Default timeout (ms)
 
bool loopback_mode
 Enable loopback for testing.
 
bool silent_mode
 Enable silent/listen-only mode.
 

Detailed Description

CAN configuration for STM32.

Constructor & Destructor Documentation

◆ hf_stm32_can_config_t()

hf_stm32_can_config_t::hf_stm32_can_config_t ( )
inlinenoexcept

Member Data Documentation

◆ can_type

hf_stm32_can_type_t hf_stm32_can_config_t::can_type

CAN peripheral type.

◆ default_timeout_ms

hf_u32_t hf_stm32_can_config_t::default_timeout_ms

Default timeout (ms)

◆ hal_handle

void* hf_stm32_can_config_t::hal_handle

CAN_HandleTypeDef* or FDCAN_HandleTypeDef*.

◆ loopback_mode

bool hf_stm32_can_config_t::loopback_mode

Enable loopback for testing.

◆ silent_mode

bool hf_stm32_can_config_t::silent_mode

Enable silent/listen-only mode.


The documentation for this struct was generated from the following file: