forked from M-Labs/artiq
1
0
Fork 0

hmc7043: disable ch 10 and 11 group

This commit is contained in:
Robert Jördens 2018-06-15 14:41:26 +00:00
parent 70fd369e2f
commit 40baa8ecba
1 changed files with 1 additions and 2 deletions

View File

@ -267,8 +267,7 @@ pub mod hmc7043 {
write(0x4, (1 << 0) | write(0x4, (1 << 0) |
(1 << 1) | (1 << 1) |
(1 << 3) | (1 << 3) |
(1 << 4) | (1 << 4));
(1 << 5));
write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); // Set SYSREF timer divider write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); // Set SYSREF timer divider
write(0x5d, ((HMC_SYSREF_DIV & 0x0f) >> 8) as u8); write(0x5d, ((HMC_SYSREF_DIV & 0x0f) >> 8) as u8);