Skip to content

Commit c5bb866

Browse files
authored
Merge pull request #146 from systec-ms/use_pll_needs_sysclk
RCC: Added note about reset of `use_pll` to false
2 parents 0a0d06d + a185694 commit c5bb866

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rcc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,8 @@ impl CFGR {
343343
}
344344

345345
/// Sets the SYSCLK clock source to the main PLL.
346+
///
347+
/// Note: `sysclk` must be specified or `use_pll48clk` must be set to true, otherwise `use_pll` is reset to false.
346348
pub fn use_pll(mut self) -> Self {
347349
self.use_pll = true;
348350
self

0 commit comments

Comments
 (0)