|
SemiDrive SSDK Appication Program Interface PTG3.0
|
#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 |
| sdrv_sent_chanid_e chan_id |
The channel id of sent module.
| sdrv_sent_bitnum_e data_bitnum |
The width of data in frame, range : 1 ~ 6U.
| sdrv_sent_fastchan_e fast_chan |
The format of fast channel mode, default value is 0.
| 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.
| uint8_t filter_bandwidth |
Filter bandwidth for negedge capture channel.
| bool filter_en |
Enable/Disable capture filter.
| uint8_t lowpulse_width |
The width of low pulse, the unit is tick, range : 5 ~ 12.
| bool pause_pulse |
The frame has pause pulse or not, default value is false.
| uint8_t sample_interval |
Sample interval for timer 1 ~ 256 clock cycles, the value of sample_interval is from 0 to 255.
| uint32_t tickfreq |
The frequency of tick, range : 11112 ~ 333334, match tick 3us ~ 90us.