forked from M-Labs/artiq
1
0
Fork 0

hmc7043: enable group 5

This commit is contained in:
Robert Jördens 2018-07-03 14:15:43 +02:00
parent 16b917be5d
commit 4eb26c0050
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,8 @@ 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);