Skip to content

Commit ac84428

Browse files
authored
Merge pull request #14 from JohannesProgrammiert/fix-pll-cc
LL: fix pll_cc register
2 parents 544bc18 + cc50568 commit ac84428

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ll.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,8 +1205,8 @@ impl_register! {
12051205
value, 0, 15, u16; /// PLL configuration
12061206
}
12071207
0x09, 0x04, 3, RW, PLL_CC(pll_cc) { /// PLL coarse code – starting code for calibration procedure
1208-
ch9_code, 0, 7, u8; /// PLL calibration coarse code for channel 5.
1209-
ch5_code, 8, 21, u8; /// PLL calibration coarse code for channel 9.
1208+
ch9_code, 0, 7, u8; /// PLL calibration coarse code for channel 9.
1209+
ch5_code, 8, 21, u16; /// PLL calibration coarse code for channel 5.
12101210
}
12111211
0x09, 0x08, 2, RW, PLL_CAL(pll_cal) { /// PLL calibration configuration
12121212
use_old, 1, 1, u8; /// Use the coarse code value as set in PLL_CC register as starting point for PLL calibration.

0 commit comments

Comments
 (0)