|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#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 |
| volatile uint32_t actual_scaler |
The value of actual scaler.
| sdrv_sent_chanid_e chan_id |
The channel id of sent module.
| volatile sent_chan_state_e chan_sta |
The state of channel.
| uint32_t expect_scaler |
The value of expect scaler.
| 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.
| uint8_t filter_bandwidth |
Filter bandwidth for negedge capture channel.
| bool filter_en |
Enable/Disable capture filter.
| sent_chan_frame_t frame_info |
The information of the frame.
| sdrv_sent_recv_cb_t frameover_cb |
The callback function.
| uint8_t lowpulse_width |
The width of low pulse.
| bool pause_pulse |
The frame has pause pulse or not.
| uint8_t sample_interval |
Sample interval for timer 1 ~ 256 clock cycles.
| uint32_t tickfreq |
The frequency of tick.
| void* userdata |
The user's param of callback functrion.