HPM SDK
HPMicro Software Development Kit
mcan_tsu_config_struct Struct Reference

MCAN TSU Configuration. More...

#include <hpm_mcan_drv.h>

Data Fields

uint16_t prescaler
 
bool capture_on_sof
 
bool use_ext_timebase
 
uint8_t ext_timebase_src
 
uint8_t tbsel_option
 
bool enable_tsu
 
bool enable_64bit_timestamp
 

Detailed Description

MCAN TSU Configuration.

Field Documentation

◆ capture_on_sof

bool mcan_tsu_config_struct::capture_on_sof

Capture On SOF, true - Capture on SOF, false - Capture on EOF

◆ enable_64bit_timestamp

bool mcan_tsu_config_struct::enable_64bit_timestamp

Enable 64bit Timestamp

◆ enable_tsu

bool mcan_tsu_config_struct::enable_tsu

Enable Timestamp Unit

◆ ext_timebase_src

uint8_t mcan_tsu_config_struct::ext_timebase_src

External Timebase source, see the hpm_mcan_soc.h for more details

◆ prescaler

uint16_t mcan_tsu_config_struct::prescaler

Prescaler for MCAN clock, Clock source: AHB clock

◆ tbsel_option

uint8_t mcan_tsu_config_struct::tbsel_option

Timebase selection option, see the hpm_mcan_soc.h for more details

◆ use_ext_timebase

bool mcan_tsu_config_struct::use_ext_timebase

Use External Timebase


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