forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 3 additions and 1 deletions

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() {