SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
sdrv_sent_chan_config

#include <sdrv_sent.h>

Data Fields

sdrv_sent_chanid_e chan_id
 
uint32_t tickfreq
 
sdrv_sent_fastchan_e fast_chan
 
sdrv_sent_bitnum_e data_bitnum
 
uint8_t lowpulse_width
 
uint8_t fifowml
 
bool pause_pulse
 
bool filter_en
 
uint8_t filter_bandwidth
 
uint8_t sample_interval
 

Field Documentation

◆ chan_id

The channel id of sent module.

◆ data_bitnum

sdrv_sent_bitnum_e data_bitnum

The width of data in frame, range : 1 ~ 6U.

◆ fast_chan

The format of fast channel mode, default value is 0.

◆ fifowml

uint8_t fifowml

The dma fifo water level, range : 1 ~ 15U. User should process the remaining data in the fifo, if the total amount of data received does not align with the fifo water mark level.

◆ filter_bandwidth

uint8_t filter_bandwidth

Filter bandwidth for negedge capture channel.

◆ filter_en

bool filter_en

Enable/Disable capture filter.

◆ lowpulse_width

uint8_t lowpulse_width

The width of low pulse, the unit is tick, range : 5 ~ 12.

◆ pause_pulse

bool pause_pulse

The frame has pause pulse or not, default value is false.

◆ sample_interval

uint8_t sample_interval

Sample interval for timer 1 ~ 256 clock cycles, the value of sample_interval is from 0 to 255.

◆ tickfreq

uint32_t tickfreq

The frequency of tick, range : 11112 ~ 333334, match tick 3us ~ 90us.


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