2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-28 12:48:26 +08:00

hmc7043: add explanation about HMC_SYSREF_DIV

This commit is contained in:
Sebastien Bourdeauducq 2018-08-18 11:43:40 +08:00
parent f75a317446
commit d1d26e2aa3

View File

@ -297,7 +297,9 @@ pub mod hmc7043 {
}
write(0x4, output_group_en);
write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); // Set SYSREF timer divider
// Set SYSREF timer divider.
// We don't need this "feature", but the HMC7043 won't work without.
write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8);
write(0x5d, ((HMC_SYSREF_DIV & 0x0f) >> 8) as u8);
for channel in 0..OUTPUT_CONFIG.len() {