SemiDrive SSDK Appication Program Interface PTG3.0
Data Fields
sdrv_sent_chan

#include <sdrv_sent.h>

Data Fields

sdrv_sent_chanid_e chan_id
 
volatile sent_chan_state_e chan_sta
 
sdrv_sent_recv_cb_t frameover_cb
 
void * userdata
 
uint8_t lowpulse_width
 
bool pause_pulse
 
uint32_t tickfreq
 
uint8_t fifowml
 
bool filter_en
 
uint8_t filter_bandwidth
 
uint8_t sample_interval
 
uint32_t expect_scaler
 
volatile uint32_t actual_scaler
 
sent_chan_frame_t frame_info
 

Field Documentation

◆ actual_scaler

volatile uint32_t actual_scaler

The value of actual scaler.

◆ chan_id

The channel id of sent module.

◆ chan_sta

volatile sent_chan_state_e chan_sta

The state of channel.

◆ expect_scaler

uint32_t expect_scaler

The value of expect scaler.

◆ fifowml

uint8_t fifowml

The dma fifo water level. 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.

◆ frame_info

sent_chan_frame_t frame_info

The information of the frame.

◆ frameover_cb

sdrv_sent_recv_cb_t frameover_cb

The callback function.

◆ lowpulse_width

uint8_t lowpulse_width

The width of low pulse.

◆ pause_pulse

bool pause_pulse

The frame has pause pulse or not.

◆ sample_interval

uint8_t sample_interval

Sample interval for timer 1 ~ 256 clock cycles.

◆ tickfreq

uint32_t tickfreq

The frequency of tick.

◆ userdata

void* userdata

The user's param of callback functrion.


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