asix-sigma: Document sampling rate table
Add comments to the sampling rate table explaining how the frequencies are selected and where do those numbers come from. Signed-off-by: Marek Vasut <marex@denx.de>
This commit is contained in:
parent
6868626bd3
commit
b1648dea88
|
@ -43,17 +43,23 @@ SR_PRIV struct sr_dev_driver asix_sigma_driver_info;
|
|||
static struct sr_dev_driver *di = &asix_sigma_driver_info;
|
||||
static int dev_acquisition_stop(struct sr_dev_inst *sdi, void *cb_data);
|
||||
|
||||
/*
|
||||
* The ASIX Sigma supports arbitrary integer frequency divider in
|
||||
* the 50MHz mode. The divider is in range 1...256 , allowing for
|
||||
* very precise sampling rate selection. This driver supports only
|
||||
* a subset of the sampling rates.
|
||||
*/
|
||||
static const uint64_t samplerates[] = {
|
||||
SR_KHZ(200),
|
||||
SR_KHZ(250),
|
||||
SR_KHZ(500),
|
||||
SR_MHZ(1),
|
||||
SR_MHZ(5),
|
||||
SR_MHZ(10),
|
||||
SR_MHZ(25),
|
||||
SR_MHZ(50),
|
||||
SR_MHZ(100),
|
||||
SR_MHZ(200),
|
||||
SR_KHZ(200), /* div=250 */
|
||||
SR_KHZ(250), /* div=200 */
|
||||
SR_KHZ(500), /* div=100 */
|
||||
SR_MHZ(1), /* div=50 */
|
||||
SR_MHZ(5), /* div=10 */
|
||||
SR_MHZ(10), /* div=5 */
|
||||
SR_MHZ(25), /* div=2 */
|
||||
SR_MHZ(50), /* div=1 */
|
||||
SR_MHZ(100), /* Special FW needed */
|
||||
SR_MHZ(200), /* Special FW needed */
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue