no-OS
|
JESD204 link configuration settings. More...
#include <jesd204.h>
Public Attributes | |
uint32_t | link_id |
int | error |
uint64_t | sample_rate |
uint32_t | sample_rate_div |
bool | is_transmit |
uint8_t | num_lanes |
uint8_t | num_converters |
uint8_t | octets_per_frame |
uint16_t | frames_per_multiframe |
uint8_t | num_of_multiblocks_in_emb |
uint8_t | bits_per_sample |
uint8_t | converter_resolution |
uint8_t | jesd_version |
uint8_t | jesd_encoder |
uint8_t | subclass |
uint8_t | device_id |
uint8_t | bank_id |
uint8_t | scrambling |
uint8_t | high_density |
uint8_t | ctrl_words_per_frame_clk |
uint8_t | ctrl_bits_per_sample |
uint8_t | samples_per_conv_frame |
uint8_t * | lane_ids |
struct jesd204_sysref | sysref |
uint8_t | dac_adj_resolution_steps |
uint8_t | dac_adj_direction |
uint8_t | dac_phase_adj |
JESD204 link configuration settings.
link_id | JESD204 link ID provided via DT configuration |
error | error code for this JESD204 link |
is_transmit | true if this link is transmit (digital to analog) |
sample_rate | sample rate for the link |
sample_rate_div | optional sample rate divider for the link final rate = sample_rate / sample_rate_div |
num_lanes | number of JESD204 lanes (L) |
num_converters | number of converters per link (M) |
octets_per_frame | number of octets per frame (F) |
frames_per_multiframe | number of frames per frame (K) |
num_of_multiblocks_in_emb | number of multiblocks in extended multiblock (E) (JESD204C) |
bits_per_sample | number of bits per sample (N') |
converter_resolution | converter resolution (N) |
jesd_version | JESD204 version (A, B or C) (JESDV) |
jesd_encoder | JESD204C encoder (8B10B, 64B66B, 64B80B) |
subclass | JESD204 subclass (0,1 or 2) (SUBCLASSV) |
device_id | device ID (DID) |
bank_id | bank ID (BID) |
scrambling | true if scrambling enabled (SCR) |
high_density | true if high-density format is used (HD) |
ctrl_words_per_frame_clk | number of control words per frame clock period (CF) |
ctrl_bits_per_sample | number of control bits per sample (CS) |
samples_per_conv_frame | number of samples per converter per frame cycle (S) |
lane_ids | array of lane IDs (LID); note that this is an array the size of num_lanes |
sysref | JESD204 sysref config, see jesd204_sysref |
dac_adj_resolution_steps | number of adjustment resolution steps to adjust DAC LMFC (ADJCNT) - Subclass 2 only |
dac_adj_direction | direction to adjust DAC LMFC (ADJDIR) Subclass 2 only |
dac_phase_adj | true to do phase adjustment request to DAC Subclass 2 only |
uint8_t jesd204_link::bank_id |
uint8_t jesd204_link::bits_per_sample |
uint8_t jesd204_link::converter_resolution |
uint8_t jesd204_link::ctrl_bits_per_sample |
uint8_t jesd204_link::ctrl_words_per_frame_clk |
uint8_t jesd204_link::dac_adj_direction |
uint8_t jesd204_link::dac_adj_resolution_steps |
uint8_t jesd204_link::dac_phase_adj |
uint8_t jesd204_link::device_id |
int jesd204_link::error |
uint16_t jesd204_link::frames_per_multiframe |
uint8_t jesd204_link::high_density |
bool jesd204_link::is_transmit |
uint8_t jesd204_link::jesd_encoder |
uint8_t jesd204_link::jesd_version |
uint8_t* jesd204_link::lane_ids |
uint32_t jesd204_link::link_id |
uint8_t jesd204_link::num_converters |
uint8_t jesd204_link::num_lanes |
uint8_t jesd204_link::num_of_multiblocks_in_emb |
uint8_t jesd204_link::octets_per_frame |
uint64_t jesd204_link::sample_rate |
uint32_t jesd204_link::sample_rate_div |
uint8_t jesd204_link::samples_per_conv_frame |
uint8_t jesd204_link::scrambling |
uint8_t jesd204_link::subclass |
struct jesd204_sysref jesd204_link::sysref |