satman: add 125 MHz Si5324 settings

from cjbe
This commit is contained in:
Robert Jördens 2018-08-29 15:37:37 +00:00
parent a5cd7d2761
commit ccc58a0f84
1 changed files with 13 additions and 0 deletions

View File

@ -242,6 +242,19 @@ const SI5324_SETTINGS: si5324::FrequencySettings
crystal_ref: true
};
#[cfg(rtio_frequency = "125.0")]
const SI5324_SETTINGS: si5324::FrequencySettings
= si5324::FrequencySettings {
n1_hs : 5,
nc1_ls : 8,
n2_hs : 7,
n2_ls : 360,
n31 : 63,
n32 : 63,
bwsel : 4,
crystal_ref: true
};
fn drtio_link_rx_up() -> bool {
unsafe {
(csr::DRTIO[0].rx_up_read)() == 1